Text Generation
Transformers
Safetensors
PyTorch
English
nemotron-nas
nvidia
llama-3
conversational
custom_code
Instructions to use nvidia/Llama-3_3-Nemotron-Super-49B-v1_5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/Llama-3_3-Nemotron-Super-49B-v1_5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nvidia/Llama-3_3-Nemotron-Super-49B-v1_5", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("nvidia/Llama-3_3-Nemotron-Super-49B-v1_5", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use nvidia/Llama-3_3-Nemotron-Super-49B-v1_5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nvidia/Llama-3_3-Nemotron-Super-49B-v1_5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nvidia/Llama-3_3-Nemotron-Super-49B-v1_5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nvidia/Llama-3_3-Nemotron-Super-49B-v1_5
- SGLang
How to use nvidia/Llama-3_3-Nemotron-Super-49B-v1_5 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "nvidia/Llama-3_3-Nemotron-Super-49B-v1_5" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nvidia/Llama-3_3-Nemotron-Super-49B-v1_5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "nvidia/Llama-3_3-Nemotron-Super-49B-v1_5" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nvidia/Llama-3_3-Nemotron-Super-49B-v1_5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use nvidia/Llama-3_3-Nemotron-Super-49B-v1_5 with Docker Model Runner:
docker model run hf.co/nvidia/Llama-3_3-Nemotron-Super-49B-v1_5
Download config.json from nvidia/Llama-3_3-Nemotron-Super-49B-v1_5: direct link, hf CLI and curl.
- Browser
- Download file 37.1 kB
-
https://huggingface.co/nvidia/Llama-3_3-Nemotron-Super-49B-v1_5/resolve/main/config.json
- Command line
-
hf download hf://nvidia/Llama-3_3-Nemotron-Super-49B-v1_5/config.json
-
curl -L -o config.json https://huggingface.co/nvidia/Llama-3_3-Nemotron-Super-49B-v1_5/resolve/main/config.json
37.1 kB
{
"_name_or_path": "llama_nemotron_super_v1_5",
"architectures": [
"DeciLMForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"auto_map": {
"AutoConfig": "configuration_decilm.DeciLMConfig",
"AutoModelForCausalLM": "modeling_decilm.DeciLMForCausalLM"
},
"block_configs": [
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 2.625,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 2.625,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 2.625,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 3.28125,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.3125,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 2.625,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 2.625,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.3125,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.3125,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 2.625,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.3125,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.3125,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.3125,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.3125,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.0,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.0,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.3125,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.0,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.0,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.0,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.3125,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.3125,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 0.5,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 0.5,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.0,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.0,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 0.5,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 0.5,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 1.0,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 0.5,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": null,
"no_op": true,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 0.5,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
}
],
"bos_token_id": 128000,
"eos_token_id": [
128001,
128008,
128009
],
"hidden_act": "silu",
"hidden_size": 8192,
"initializer_range": 0.02,
"intermediate_size": null,
"max_position_embeddings": 131072,
"mlp_bias": false,
"model_type": "nemotron-nas",
"num_attention_heads": 64,
"num_hidden_layers": 80,
"num_key_value_heads": null,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": {
"factor": 16.0,
"high_freq_factor": 4.0,
"low_freq_factor": 1.0,
"original_max_position_embeddings": 8192,
"rope_type": "llama3"
},
"rope_theta": 500000.0,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.48.3",
"use_cache": true,
"vocab_size": 128256
}
{
"_name_or_path": "llama_nemotron_super_v1_5",
"architectures": [
"DeciLMForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"auto_map": {
"AutoConfig": "configuration_decilm.DeciLMConfig",
"AutoModelForCausalLM": "modeling_decilm.DeciLMForCausalLM"
},
"block_configs": [
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 2.625,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null
}
},
{
"attention": {
"n_heads_in_group": 8,
"no_op": false,
"num_sink_tokens": null,
"replace_with_linear": false,
"sparsify": null,
"unshifted_sink": false,
"use_prefill_window_in_sink_attention": false,
"window_length": null
},
"ffn": {
"ffn_mult": 5.25,
"no_op": false,
"replace_with_linear": false,
"sparsify": null