Downloads · 30 days
27
27% of all-time downloads
Pongsasit/nemotron-3-sfted
nemotron-3-sfted is a text generation model from Pongsasit. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Supervised fine-tune (full SFT) of nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16 on the nvidia/Nemotron-SFT-Safety-v2 dataset, aimed at improving safe-response behavior while preserving the base
Downloads · 30 days
27
27% of all-time downloads
All-time downloads
100
Public
Parameters
31.6B
63.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors63.2 GB · 100%
How the weights are stored.
BF1631.6B · 100%
From the Hugging Face model README
Supervised fine-tune (full SFT) of
nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16
on the nvidia/Nemotron-SFT-Safety-v2
dataset, aimed at improving safe-response behavior while preserving the base
model's reasoning ability.
nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16 (30B total / ~3B active, MoE + Mamba hybrid)nvidia/Nemotron-SFT-Safety-v2 (English subset)| Setting | Value |
|---|---|
| Parallelism | Tensor (TP) = 1, Expert (EP) = 8 |
| Optimizer | Adam (fp32 states, CPU offload enabled) |
| Hardware | 8x GPU node |
| Reasoning format | <think> ... </think> traces preserved from the dataset |
The dataset was preprocessed into chat-templated input/output pairs using the | |
base model's tokenizer, with reasoning content wrapped in <think>...</think> | |
| ahead of the final response. |
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Pongsasit/nemotron-3-sfted"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id, trust_remote_code=True, torch_dtype="bfloat16", device_map="auto"
)
messages = [{"role": "user", "content": "How do I keep my online accounts secure?"}]
inputs = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_tensors="pt"
).to(model.device)
outputs = model.generate(inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))