Model
ankit/NVIDIA-Nemotron-3-Nano-4B-FP8
- Task:Text Generation
- Libraries:transformerspytorch
- Formats:safetensors
- Languages:English
- License:other
- arXiv:arXiv:2511.16664arXiv:2504.03624arXiv:2512.20856arXiv:2512.20848arXiv:2412.02595
Dedicated endpoint
Sign in to deployInference Providers
This hub serves this model on demand.
Try itSpaces
Create a Space with this modelUse this model
Choose individual files there, or download a full snapshot with the Python example below.
Download with the whiteduck client
pip install https://provyd.xyz/clients/whiteduck-0.1.0-py3-none-any.whl
wd login --host 'https://api.provyd.xyz'
wd download 'ankit/NVIDIA-Nemotron-3-Nano-4B-FP8'Using the Hugging Face client instead
Install huggingface_hub with pip install huggingface_hub, then download this pinned snapshot. Set HF_TOKEN (the variable the Hugging Face client reads) to a whiteduck Read token for private repositories. Running the downloaded model requires software that supports its architecture.
Keep your whiteduck token away from calls that ignore HF_ENDPOINT, such as list_inference_endpoints: they send it to Hugging Face. See Docs.
from huggingface_hub import snapshot_download
import os
path = snapshot_download(
repo_id='ankit/NVIDIA-Nemotron-3-Nano-4B-FP8',
revision='70f98224833dac890f8a8d752945cc955b38ac20',
endpoint='https://api.provyd.xyz',
token=os.environ.get("HF_TOKEN") or False,
)Load with transformers
import os
os.environ["HF_ENDPOINT"] = 'https://api.provyd.xyz'
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained('ankit/NVIDIA-Nemotron-3-Nano-4B-FP8')
model = AutoModel.from_pretrained('ankit/NVIDIA-Nemotron-3-Nano-4B-FP8')Use with local apps
This hub is self-hosted, so each command points the tool at it. Add a whiteduck access token as HF_TOKEN (the variable the Hugging Face client reads) for private repositories.
vLLM
# vLLM downloads through huggingface_hub, which honours HF_ENDPOINT; set HF_TOKEN for a private repository.
HF_ENDPOINT='https://api.provyd.xyz' vllm serve 'ankit/NVIDIA-Nemotron-3-Nano-4B-FP8'Clone with git
git clone 'https://api.provyd.xyz/ankit/NVIDIA-Nemotron-3-Nano-4B-FP8'Clone with git over SSH
git clone 'ssh://git@wd.provyd.xyz:2222/ankit/NVIDIA-Nemotron-3-Nano-4B-FP8'Needs an SSH key on your account. Add an SSH key
Use the API
Read repository metadata at this commit. Set HF_TOKEN (the variable the Hugging Face client reads) to a whiteduck Read token. Tokens grant account-level access, not access to just this model.
curl 'https://api.provyd.xyz/api/models/ankit/NVIDIA-Nemotron-3-Nano-4B-FP8/revision/70f98224833dac890f8a8d752945cc955b38ac20' \
-H "Authorization: Bearer $HF_TOKEN"Inference is separate from file storage. The owner must configure and start a supported model using the inference controls. To call it you need a model API key (made on the model page), or a token of any scope (Read or stronger) from the model owner. Visitors can use the try box only when the owner allows it. A token cannot enable unavailable GPU hardware.
Blame for config.json at 70f9822
| Line | Commit | Author | Date | Code |
|---|---|---|---|---|
| 1 | Mirror nvidia/NVIDIA-Nemotron-3-Nano-4B-FP870f9822 | ankit | { | |
| 2 | "architectures": [ | |||
| 3 | "NemotronHForCausalLM" | |||
| 4 | ], | |||
| 5 | "attention_bias": false, | |||
| 6 | "attention_dropout": 0.0, | |||
| 7 | "attention_head_dim": 128, | |||
| 8 | "auto_map": { | |||
| 9 | "AutoConfig": "configuration_nemotron_h.NemotronHConfig", | |||
| 10 | "AutoModelForCausalLM": "modeling_nemotron_h.NemotronHForCausalLM" | |||
| 11 | }, | |||
| 12 | "bos_token_id": 1, | |||
| 13 | "chunk_size": 256, | |||
| 14 | "conv_kernel": 4, | |||
| 15 | "eos_token_id": 2, | |||
| 16 | "expand": 2, | |||
| 17 | "head_dim": 128, | |||
| 18 | "hidden_dropout": 0.0, | |||
| 19 | "hidden_size": 3136, | |||
| 20 | "hybrid_override_pattern": "M-M-M-MM-M-M*-M-M*-M-M-M*-M-M-MM*-MMM-M-M-", | |||
| 21 | "initializer_range": 0.02, | |||
| 22 | "intermediate_size": 12544, | |||
| 23 | "layer_norm_epsilon": 1e-05, | |||
| 24 | "mamba_head_dim": 80, | |||
| 25 | "mamba_hidden_act": "silu", | |||
| 26 | "mamba_num_heads": 96, | |||
| 27 | "mamba_proj_bias": false, | |||
| 28 | "max_position_embeddings": 262144, | |||
| 29 | "mlp_bias": false, | |||
| 30 | "mlp_hidden_act": "relu2", | |||
| 31 | "model_type": "nemotron_h", | |||
| 32 | "n_groups": 8, | |||
| 33 | "num_attention_heads": 40, | |||
| 34 | "num_hidden_layers": 42, | |||
| 35 | "num_key_value_heads": 8, | |||
| 36 | "num_logits_to_keep": 1, | |||
| 37 | "pad_token_id": 0, | |||
| 38 | "rescale_prenorm_residual": true, | |||
| 39 | "residual_in_fp32": false, | |||
| 40 | "rms_norm_eps": 1e-05, | |||
| 41 | "sliding_window": null, | |||
| 42 | "ssm_state_size": 128, | |||
| 43 | "tie_word_embeddings": false, | |||
| 44 | "time_step_floor": 0.0001, | |||
| 45 | "time_step_max": 0.1, | |||
| 46 | "time_step_min": 0.001, | |||
| 47 | "time_step_rank": 256, | |||
| 48 | "torch_dtype": "bfloat16", | |||
| 49 | "transformers_version": "4.53.2", | |||
| 50 | "use_bias": false, | |||
| 51 | "use_cache": true, | |||
| 52 | "use_conv_bias": true, | |||
| 53 | "use_mamba_kernels": true, | |||
| 54 | "vocab_size": 131072 | |||
| 55 | } |