GraySoft
Projects Models About FAQ Contact Download guIDE →
Model Intelligence Sheet

mungert/llama-3.1-nemotron-nano-8b-v1-gguf overview

Comprehensive model page for mungert/llama-3.1-nemotron-nano-8b-v1-gguf

transformersggufnvidiallama-3pytorchtext-generationenarxiv:2505.00949arxiv:2502.00203license:otherendpoints_compatibleregion:usconversational
mungert/llama-3.1-nemotron-nano-8b-v1-gguf visual
Downloads
361
Likes
8
Pipeline
text-generation
Library
transformers
Visibility
Public
Access
Open

Repository Files & Downloads

32 files detected
Direct downloads for all repository files
FileTypeQuantizationSizeLink
Llama-3.1-Nemotron-Nano-8B-v1-bf16-q4_k.gguf GGUF BF16 5.86 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-bf16-q6_k.gguf GGUF BF16 7.30 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-bf16-q8_0.gguf GGUF BF16 8.87 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-bf16.gguf GGUF BF16 14.97 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-bf16_q8_0.gguf GGUF BF16 8.87 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-f16-q4_k.gguf GGUF F16 5.86 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-f16-q6_k.gguf GGUF F16 7.30 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-f16-q8_0.gguf GGUF F16 8.87 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-f16_q8_0.gguf GGUF F16 8.87 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-iq2_m.gguf GGUF IQ2_M 3.13 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-iq2_s.gguf GGUF IQ2_S 3.00 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-iq2_xs.gguf GGUF IQ2_XS 2.69 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-iq2_xxs.gguf GGUF IQ2_XXS 2.55 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-iq3_m.gguf GGUF IQ3_M 3.59 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-iq3_s.gguf GGUF IQ3_S 3.49 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-iq3_xs.gguf GGUF IQ3_XS 3.34 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-iq3_xxs.gguf GGUF IQ3_XXS 3.18 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-iq4_nl.gguf GGUF IQ4_NL 4.36 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-iq4_xs.gguf GGUF IQ4_XS 4.14 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q2_k_s.gguf GGUF Q2_K_S 2.89 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q3_k_m.gguf GGUF Q3_K_M 3.93 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q3_k_s.gguf GGUF Q3_K_S 3.47 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q4_0.gguf GGUF 4.21 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q4_1.gguf GGUF 4.68 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q4_k_m.gguf GGUF Q4_K_M 4.71 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q4_k_s.gguf GGUF Q4_K_S 4.50 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q5_0.gguf GGUF 5.15 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q5_1.gguf GGUF 5.62 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q5_k_m.gguf GGUF Q5_K_M 5.40 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q5_k_s.gguf GGUF Q5_K_S 5.28 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q6_k_m.gguf GGUF Q6_K_M 6.14 GB Download
Llama-3.1-Nemotron-Nano-8B-v1-q8_0.gguf GGUF 7.95 GB Download

Model Details Live

Model Slug
mungert/llama-3.1-nemotron-nano-8b-v1-gguf
Author
Mungert
Pipeline Task
text-generation
Library
transformers
Created
2025-03-21
Last Modified
2025-09-24
Gated
No
Private
No
HF SHA
4285783dbb2fa28d302a8c7029628f7b87392a4d
License
other
Language
en
Base Model
Unknown

Metadata Inspector

Normalized metadata (stored in metadata_json)
{
  "metadata": {},
  "card_data": {
    "library_name": "transformers",
    "license": "other",
    "license_name": "nvidia-open-model-license",
    "license_link": "https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/",
    "pipeline_tag": "text-generation",
    "language": [
      "en"
    ],
    "tags": [
      "nvidia",
      "llama-3",
      "pytorch"
    ],
    "frontmatter": {
      "library_name": "transformers",
      "license": "other",
      "license_name": "nvidia-open-model-license",
      "license_link": ">-",
      "pipeline_tag": "text-generation",
      "language": [
        "en"
      ],
      "tags": [
        "nvidia",
        "llama-3",
        "pytorch"
      ]
    },
    "hero_image_url": "",
    "summary": "",
    "quick_links": [],
    "benchmark_table_html": "",
    "readme_markdown": "---\nlibrary_name: transformers\nlicense: other\nlicense_name: nvidia-open-model-license\nlicense_link: >-\n  https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/\n\npipeline_tag: text-generation\nlanguage:\n  - en\ntags:\n  - nvidia\n  - llama-3\n  - pytorch\n---\n\n# <span style=\"color: #7FFF7F;\">Llama-3.1-Nemotron-Nano-8B-v1 GGUF Models</span>\n\n\n## <span style=\"color: #7F7FFF;\">Model Generation Details</span>\n\nThis model was generated using [llama.cpp](https://github.com/ggerganov/llama.cpp) at commit [`19e899c`](https://github.com/ggerganov/llama.cpp/commit/19e899ce21a7c9ffcf8bb2b22269a75f6e078f8f).\n\n\n\n\n## <span style=\"color: #7FFF7F;\">Ultra-Low-Bit Quantization with IQ-DynamicGate (1-2 bit)</span>\n\nOur latest quantization method introduces **precision-adaptive quantization** for ultra-low-bit models (1-2 bit), with benchmark-proven improvements on **Llama-3-8B**. This approach uses layer-specific strategies to preserve accuracy while maintaining extreme memory efficiency.\n\n### **Benchmark Context**\nAll tests conducted on **Llama-3-8B-Instruct** using:\n- Standard perplexity evaluation pipeline\n- 2048-token context window\n- Same prompt set across all quantizations\n\n### **Method**\n- **Dynamic Precision Allocation**:  \n  - First/Last 25% of layers → IQ4_XS (selected layers)  \n  - Middle 50% → IQ2_XXS/IQ3_S (increase efficiency)  \n- **Critical Component Protection**:  \n  - Embeddings/output layers use Q5_K  \n  - Reduces error propagation by 38% vs standard 1-2bit  \n\n### **Quantization Performance Comparison (Llama-3-8B)**\n\n| Quantization | Standard PPL | DynamicGate PPL | Δ PPL   | Std Size | DG Size | Δ Size | Std Speed | DG Speed |\n|--------------|--------------|------------------|---------|----------|---------|--------|-----------|----------|\n| IQ2_XXS      | 11.30        | 9.84             | -12.9%  | 2.5G     | 2.6G    | +0.1G  | 234s      | 246s     |\n| IQ2_XS       | 11.72        | 11.63            | -0.8%   | 2.7G     | 2.8G    | +0.1G  | 242s      | 246s     |\n| IQ2_S        | 14.31        | 9.02             | -36.9%  | 2.7G     | 2.9G    | +0.2G  | 238s      | 244s     |\n| IQ1_M        | 27.46        | 15.41            | -43.9%  | 2.2G     | 2.5G    | +0.3G  | 206s      | 212s     |\n| IQ1_S        | 53.07        | 32.00            | -39.7%  | 2.1G     | 2.4G    | +0.3G  | 184s      | 209s     |\n\n**Key**:\n- PPL = Perplexity (lower is better)\n- Δ PPL = Percentage change from standard to DynamicGate\n- Speed = Inference time (CPU avx2, 2048 token context)\n- Size differences reflect mixed quantization overhead\n\n**Key Improvements:**\n- 🔥 **IQ1_M** shows massive 43.9% perplexity reduction (27.46 → 15.41)\n- 🚀 **IQ2_S** cuts perplexity by 36.9% while adding only 0.2GB\n- ⚡ **IQ1_S** maintains 39.7% better accuracy despite 1-bit quantization\n\n**Tradeoffs:**\n- All variants have modest size increases (0.1-0.3GB)\n- Inference speeds remain comparable (<5% difference)\n\n\n### **When to Use These Models**\n📌 **Fitting models into GPU VRAM**\n\n✔ **Memory-constrained deployments**\n\n✔ **Cpu and Edge Devices** where 1-2bit errors can be tolerated \n \n✔ **Research** into ultra-low-bit quantization\n\n\n\n## **Choosing the Right Model Format**  \n\nSelecting the correct model format depends on your **hardware capabilities** and **memory constraints**.  \n\n### **BF16 (Brain Float 16) – Use if BF16 acceleration is available**  \n- A 16-bit floating-point format designed for **faster computation** while retaining good precision.  \n- Provides **similar dynamic range** as FP32 but with **lower memory usage**.  \n- Recommended if your hardware supports **BF16 acceleration** (check your device's specs).  \n- Ideal for **high-performance inference** with **reduced memory footprint** compared to FP32.  \n\n📌 **Use BF16 if:**  \n✔ Your hardware has native **BF16 support** (e.g., newer GPUs, TPUs).  \n✔ You want **higher precision** while saving memory.  \n✔ You plan to **requantize** the model into another format.  \n\n📌 **Avoid BF16 if:**  \n❌ Your hardware does **not** support BF16 (it may fall back to FP32 and run slower).  \n❌ You need compatibility with older devices that lack BF16 optimization.  \n\n---\n\n### **F16 (Float 16) – More widely supported than BF16**  \n- A 16-bit floating-point **high precision** but with less of range of values than BF16. \n- Works on most devices with **FP16 acceleration support** (including many GPUs and some CPUs).  \n- Slightly lower numerical precision than BF16 but generally sufficient for inference.  \n\n📌 **Use F16 if:**  \n✔ Your hardware supports **FP16** but **not BF16**.  \n✔ You need a **balance between speed, memory usage, and accuracy**.  \n✔ You are running on a **GPU** or another device optimized for FP16 computations.  \n\n📌 **Avoid F16 if:**  \n❌ Your device lacks **native FP16 support** (it may run slower than expected).  \n❌ You have memory limitations.  \n\n---\n\n### **Quantized Models (Q4_K, Q6_K, Q8, etc.) – For CPU & Low-VRAM Inference**  \nQuantization reduces model size and memory usage while maintaining as much accuracy as possible.  \n- **Lower-bit models (Q4_K)** → **Best for minimal memory usage**, may have lower precision.  \n- **Higher-bit models (Q6_K, Q8_0)** → **Better accuracy**, requires more memory.  \n\n📌 **Use Quantized Models if:**  \n✔ You are running inference on a **CPU** and need an optimized model.  \n✔ Your device has **low VRAM** and cannot load full-precision models.  \n✔ You want to reduce **memory footprint** while keeping reasonable accuracy.  \n\n📌 **Avoid Quantized Models if:**  \n❌ You need **maximum accuracy** (full-precision models are better for this).  \n❌ Your hardware has enough VRAM for higher-precision formats (BF16/F16).  \n\n---\n\n### **Very Low-Bit Quantization (IQ3_XS, IQ3_S, IQ3_M, Q4_K, Q4_0)**  \nThese models are optimized for **extreme memory efficiency**, making them ideal for **low-power devices** or **large-scale deployments** where memory is a critical constraint.  \n\n- **IQ3_XS**: Ultra-low-bit quantization (3-bit) with **extreme memory efficiency**.  \n  - **Use case**: Best for **ultra-low-memory devices** where even Q4_K is too large.  \n  - **Trade-off**: Lower accuracy compared to higher-bit quantizations.  \n\n- **IQ3_S**: Small block size for **maximum memory efficiency**.  \n  - **Use case**: Best for **low-memory devices** where **IQ3_XS** is too aggressive.  \n\n- **IQ3_M**: Medium block size for better accuracy than **IQ3_S**.  \n  - **Use case**: Suitable for **low-memory devices** where **IQ3_S** is too limiting.  \n\n- **Q4_K**: 4-bit quantization with **block-wise optimization** for better accuracy.  \n  - **Use case**: Best for **low-memory devices** where **Q6_K** is too large.  \n\n- **Q4_0**: Pure 4-bit quantization, optimized for **ARM devices**.  \n  - **Use case**: Best for **ARM-based devices** or **low-memory environments**.  \n\n---\n\n### **Summary Table: Model Format Selection**  \n\n| Model Format  | Precision  | Memory Usage  | Device Requirements  | Best Use Case  |  \n|--------------|------------|---------------|----------------------|---------------|  \n| **BF16**     | Highest    | High          | BF16-supported GPU/CPUs  | High-speed inference with reduced memory |  \n| **F16**      | High       | High          | FP16-supported devices | GPU inference when BF16 isn't available |  \n| **Q4_K**     | Medium Low | Low           | CPU or Low-VRAM devices | Best for memory-constrained environments |  \n| **Q6_K**     | Medium     | Moderate      | CPU with more memory | Better accuracy while still being quantized |  \n| **Q8_0**     | High       | Moderate      | CPU or GPU with enough VRAM | Best accuracy among quantized models |  \n| **IQ3_XS**   | Very Low   | Very Low      | Ultra-low-memory devices | Extreme memory efficiency and low accuracy |  \n| **Q4_0**     | Low        | Low           | ARM or low-memory devices | llama.cpp can optimize for ARM devices |  \n\n---\n\n## **Included Files & Details**  \n\n### `Llama-3.1-Nemotron-Nano-8B-v1-bf16.gguf`  \n- Model weights preserved in **BF16**.  \n- Use this if you want to **requantize** the model into a different format.  \n- Best if your device supports **BF16 acceleration**.  \n\n### `Llama-3.1-Nemotron-Nano-8B-v1-f16.gguf`  \n- Model weights stored in **F16**.  \n- Use if your device supports **FP16**, especially if BF16 is not available.  \n\n### `Llama-3.1-Nemotron-Nano-8B-v1-bf16-q8_0.gguf`  \n- **Output & embeddings** remain in **BF16**.  \n- All other layers quantized to **Q8_0**.  \n- Use if your device supports **BF16** and you want a quantized version.  \n\n### `Llama-3.1-Nemotron-Nano-8B-v1-f16-q8_0.gguf`  \n- **Output & embeddings** remain in **F16**.  \n- All other layers quantized to **Q8_0**.    \n\n### `Llama-3.1-Nemotron-Nano-8B-v1-q4_k.gguf`  \n- **Output & embeddings** quantized to **Q8_0**.  \n- All other layers quantized to **Q4_K**.  \n- Good for **CPU inference** with limited memory.  \n\n### `Llama-3.1-Nemotron-Nano-8B-v1-q4_k_s.gguf`  \n- Smallest **Q4_K** variant, using less memory at the cost of accuracy.  \n- Best for **very low-memory setups**.  \n\n### `Llama-3.1-Nemotron-Nano-8B-v1-q6_k.gguf`  \n- **Output & embeddings** quantized to **Q8_0**.  \n- All other layers quantized to **Q6_K** .  \n\n### `Llama-3.1-Nemotron-Nano-8B-v1-q8_0.gguf`  \n- Fully **Q8** quantized model for better accuracy.  \n- Requires **more memory** but offers higher precision.  \n\n### `Llama-3.1-Nemotron-Nano-8B-v1-iq3_xs.gguf`  \n- **IQ3_XS** quantization, optimized for **extreme memory efficiency**.  \n- Best for **ultra-low-memory devices**.  \n\n### `Llama-3.1-Nemotron-Nano-8B-v1-iq3_m.gguf`  \n- **IQ3_M** quantization, offering a **medium block size** for better accuracy.  \n- Suitable for **low-memory devices**.  \n\n### `Llama-3.1-Nemotron-Nano-8B-v1-q4_0.gguf`  \n- Pure **Q4_0** quantization, optimized for **ARM devices**.  \n- Best for **low-memory environments**.\n- Prefer IQ4_NL for better accuracy.\n\n# <span id=\"testllm\" style=\"color: #7F7FFF;\">🚀 If you find these models useful</span>\n❤ **Please click \"Like\" if you find this useful!**  \nHelp me test my **AI-Powered Network Monitor Assistant** with **quantum-ready security checks**:  \n👉 [Quantum Network Monitor](https://readyforquantum.com/dashboard/?assistant=open&utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface_repo_readme)  \n\n💬 **How to test**:  \n Choose an **AI assistant type**:  \n   - `TurboLLM` (GPT-4o-mini)  \n   - `HugLLM` (Hugginface Open-source)  \n   - `TestLLM` (Experimental CPU-only)  \n\n### **What I’m Testing**  \nI’m pushing the limits of **small open-source models for AI network monitoring**, specifically:  \n- **Function calling** against live network services  \n- **How small can a model go** while still handling:  \n  - Automated **Nmap scans**  \n  - **Quantum-readiness checks**  \n  - **Network Monitoring tasks**  \n\n🟡 **TestLLM** – Current experimental model (llama.cpp on 2 CPU threads):  \n- ✅ **Zero-configuration setup**  \n- ⏳ 30s load time (slow inference but **no API costs**)  \n- 🔧 **Help wanted!** If you’re into **edge-device AI**, let’s collaborate!  \n\n### **Other Assistants**  \n🟢 **TurboLLM** – Uses **gpt-4o-mini** for: \n- **Create custom cmd processors to run .net code on Quantum Network Monitor Agents**\n- **Real-time network diagnostics and monitoring**\n- **Security Audits**\n- **Penetration testing** (Nmap/Metasploit)  \n  \n\n🔵 **HugLLM** – Latest Open-source models:  \n- 🌐 Runs on Hugging Face Inference API  \n\n### 💡 **Example commands to you could test**:  \n1. `\"Give me info on my websites SSL certificate\"`  \n2. `\"Check if my server is using quantum safe encyption for communication\"`  \n3. `\"Run a comprehensive security audit on my server\"`\n4. '\"Create a cmd processor to .. (what ever you want)\" Note you need to install a Quantum Network Monitor Agent to run the .net code from. This is a very flexible and powerful feature. Use with caution!\n\n### Final Word\n\nI fund the servers used to create these model files, run the Quantum Network Monitor service, and pay for inference from Novita and OpenAI—all out of my own pocket. All the code behind the model creation and the Quantum Network Monitor project is [open source](https://github.com/Mungert69). Feel free to use whatever you find helpful.\n\nIf you appreciate the work, please consider [buying me a coffee](https://www.buymeacoffee.com/mahadeva) ☕. Your support helps cover service costs and allows me to raise token limits for everyone.\n\nI'm also open to job opportunities or sponsorship.\n\nThank you! 😊\n\n\n\n\n# Llama-3.1-Nemotron-Nano-8B-v1\n\n\n## Model Overview \n\nLlama-3.1-Nemotron-Nano-8B-v1 is a large language model (LLM) which is a derivative of [Meta Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct) (AKA the reference model). It is a reasoning model that is post trained for reasoning, human chat preferences, and tasks, such as RAG and tool calling. \n\nLlama-3.1-Nemotron-Nano-8B-v1 is a model which offers a great tradeoff between model accuracy and efficiency. It is created from Llama 3.1 8B Instruct and offers improvements in model accuracy. The model fits on a single RTX GPU and can be used locally. The model supports a context length of 128K.\n\nThis model underwent a multi-phase post-training process to enhance both its reasoning and non-reasoning capabilities. This includes a supervised fine-tuning stage for Math, Code, Reasoning, and Tool Calling as well as multiple reinforcement learning (RL) stages using REINFORCE (RLOO) and Online Reward-aware Preference Optimization (RPO) algorithms for both chat and instruction-following. The final model checkpoint is obtained after merging the final SFT and Online RPO checkpoints. Improved using Qwen.\n\nThis model is part of the Llama Nemotron Collection. You can find the other model(s) in this family here: \n[Llama-3.3-Nemotron-Super-49B-v1](https://huggingface.co/nvidia/Llama-3.3-Nemotron-Super-49B-v1)\n\nThis model is ready for commercial use.\n\n## License/Terms of Use\n\nGOVERNING TERMS: Your use of this model is governed by the [NVIDIA Open Model License](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/). Additional Information: [Llama 3.1 Community License Agreement](https://www.llama.com/llama3_1/license/). Built with Llama.\n\n**Model Developer:** NVIDIA\n\n**Model Dates:** Trained between August 2024 and March 2025\n\n**Data Freshness:** The pretraining data has a cutoff of 2023 per Meta Llama 3.1 8B\n\n\n## Use Case: \n\nDevelopers designing AI Agent systems, chatbots, RAG systems, and other AI-powered applications. Also suitable for typical instruction-following tasks. Balance of model accuracy and compute efficiency (the model fits on a single RTX GPU and can be used locally).\n\n## Release Date: <br>\n3/18/2025 <br>\n\n## References\n\n- [\\[2505.00949\\] Llama-Nemotron: Efficient Reasoning Models](https://arxiv.org/abs/2505.00949)\n- [\\[2502.00203\\] Reward-aware Preference Optimization: A Unified Mathematical Framework for Model Alignment](https://arxiv.org/abs/2502.00203)\n\n\n## Model Architecture\n\n**Architecture Type:** Dense decoder-only Transformer model\n\n**Network Architecture:** Llama 3.1 8B Instruct\n\n## Intended use\n\nLlama-3.1-Nemotron-Nano-8B-v1 is a general purpose reasoning and chat model intended to be used in English and coding languages. Other non-English languages (German, French, Italian, Portuguese, Hindi, Spanish, and Thai) are also supported. \n\n# Input:\n- **Input Type:** Text\n- **Input Format:** String\n- **Input Parameters:** One-Dimensional (1D)\n- **Other Properties Related to Input:** Context length up to 131,072 tokens\n\n## Output:\n- **Output Type:** Text\n- **Output Format:** String\n- **Output Parameters:** One-Dimensional (1D)\n- **Other Properties Related to Output:** Context length up to 131,072 tokens\n\n## Model Version:\n1.0 (3/18/2025)\n\n## Software Integration\n- **Runtime Engine:** NeMo 24.12 <br>\n- **Recommended Hardware Microarchitecture Compatibility:**\n    - NVIDIA Hopper\n    - NVIDIA Ampere\n\n## Quick Start and Usage Recommendations:\n\n1. Reasoning mode (ON/OFF) is controlled via the system prompt, which must be set as shown in the example below. All instructions should be contained within the user prompt\n2. We recommend setting temperature to `0.6`, and Top P to `0.95` for Reasoning ON mode\n3. We recommend using greedy decoding for Reasoning OFF mode\n4. We have provided a list of prompts to use for evaluation for each benchmark where a specific template is required\n5. The model will include `<think></think>` if no reasoning was necessary in Reasoning ON model, this is expected behaviour\n\nYou can try this model out through the preview API, using this link: [Llama-3.1-Nemotron-Nano-8B-v1](https://build.nvidia.com/nvidia/llama-3_1-nemotron-nano-8b-v1).\n\nSee the snippet below for usage with Hugging Face Transformers library. Reasoning mode (ON/OFF) is controlled via system prompt. Please see the example below.\nOur code requires the transformers package version to be `4.44.2` or higher.\n\n\n### Example of “Reasoning On:”\n\n```python\nimport torch\nimport transformers\n\nmodel_id = \"nvidia/Llama-3.1-Nemotron-Nano-8B-v1\"\nmodel_kwargs = {\"torch_dtype\": torch.bfloat16, \"device_map\": \"auto\"}\ntokenizer = transformers.AutoTokenizer.from_pretrained(model_id)\ntokenizer.pad_token_id = tokenizer.eos_token_id\n\npipeline = transformers.pipeline(\n   \"text-generation\",\n   model=model_id,\n   tokenizer=tokenizer,\n   max_new_tokens=32768,\n   temperature=0.6,\n   top_p=0.95,\n   **model_kwargs\n)\n\n# Thinking can be \"on\" or \"off\"\nthinking = \"on\"\n\nprint(pipeline([{\"role\": \"system\", \"content\": f\"detailed thinking {thinking}\"}, {\"role\": \"user\", \"content\": \"Solve x*(sin(x)+2)=0\"}]))\n```\n\n\n### Example of “Reasoning Off:”\n\n```python\nimport torch\nimport transformers\n\nmodel_id = \"nvidia/Llama-3.1-Nemotron-Nano-8B-v1\"\nmodel_kwargs = {\"torch_dtype\": torch.bfloat16, \"device_map\": \"auto\"}\ntokenizer = transformers.AutoTokenizer.from_pretrained(model_id)\ntokenizer.pad_token_id = tokenizer.eos_token_id\n\npipeline = transformers.pipeline(\n   \"text-generation\",\n   model=model_id,\n   tokenizer=tokenizer,\n   max_new_tokens=32768,\n   do_sample=False,\n   **model_kwargs\n)\n\n# Thinking can be \"on\" or \"off\"\nthinking = \"off\"\n\nprint(pipeline([{\"role\": \"system\", \"content\": f\"detailed thinking {thinking}\"}, {\"role\": \"user\", \"content\": \"Solve x*(sin(x)+2)=0\"}]))\n```\n\nFor some prompts, even though thinking is disabled, the model emergently prefers to think before responding. But if desired, the users can prevent it by pre-filling the assistant response.\n\n```python\nimport torch\nimport transformers\n\nmodel_id = \"nvidia/Llama-3.1-Nemotron-Nano-8B-v1\"\nmodel_kwargs = {\"torch_dtype\": torch.bfloat16, \"device_map\": \"auto\"}\ntokenizer = transformers.AutoTokenizer.from_pretrained(model_id)\ntokenizer.pad_token_id = tokenizer.eos_token_id\n\n# Thinking can be \"on\" or \"off\"\nthinking = \"off\"\n\npipeline = transformers.pipeline(\n   \"text-generation\",\n   model=model_id,\n   tokenizer=tokenizer,\n   max_new_tokens=32768,\n   do_sample=False,\n   **model_kwargs\n)\n\nprint(pipeline([{\"role\": \"system\", \"content\": f\"detailed thinking {thinking}\"}, {\"role\": \"user\", \"content\": \"Solve x*(sin(x)+2)=0\"}, {\"role\":\"assistant\", \"content\":\"<think>\\n</think>\"}]))\n```\n\n## Inference:\n**Engine:** Transformers\n**Test Hardware:**\n\n- BF16:\n    - 1x RTX 50 Series GPUs\n    - 1x RTX 40 Series GPUs\n    - 1x RTX 30 Series GPUs\n    - 1x H100-80GB GPU\n    - 1x A100-80GB GPU\n\n\n**Preferred/Supported] Operating System(s):** Linux <br>\n\n## Training Datasets\n\nA large variety of training data was used for the post-training pipeline, including manually annotated data and synthetic data.\n\nThe data for the multi-stage post-training phases for improvements in Code, Math, and Reasoning is a compilation of SFT and RL data that supports improvements of math, code, general reasoning, and instruction following capabilities of the original Llama instruct model. \n\nPrompts have been sourced from either public and open corpus or synthetically generated. Responses were synthetically generated by a variety of models, with some prompts containing responses for both Reasoning On and Off modes, to train the model to distinguish between two modes. \n\n**Data Collection for Training Datasets:** <br>\n* Hybrid: Automated, Human, Synthetic <br>\n\n**Data Labeling for Training Datasets:** <br>\n* N/A <br>\n\n## Evaluation Datasets\n\nWe used the datasets listed below to evaluate Llama-3.1-Nemotron-Nano-8B-v1. \n\n**Data Collection for Evaluation Datasets:** Hybrid: Human/Synthetic\n\n**Data Labeling for Evaluation Datasets:** Hybrid: Human/Synthetic/Automatic\n\n## Evaluation Results\n\nThese results contain both “Reasoning On”, and “Reasoning Off”. We recommend using temperature=`0.6`, top_p=`0.95` for “Reasoning On” mode, and greedy decoding for “Reasoning Off” mode. All evaluations are done with 32k sequence length. We run the benchmarks up to 16 times and average the scores to be more accurate.\n\n> NOTE: Where applicable, a Prompt Template will be provided. While completing benchmarks, please ensure that you are parsing for the correct output format as per the provided prompt in order to reproduce the benchmarks seen below. \n\n### MT-Bench\n\n| Reasoning Mode | Score |\n|--------------|------------|\n| Reasoning Off | 7.9 |\n| Reasoning On | 8.1 |\n\n\n### MATH500\n\n| Reasoning Mode | pass@1 |\n|--------------|------------|\n| Reasoning Off | 36.6% | \n| Reasoning On | 95.4%  |\n\nUser Prompt Template: \n\n```\n\"Below is a math question. I want you to reason through the steps and then give a final answer. Your final answer should be in \\boxed{}.\\nQuestion: {question}\"\n```\n\n\n### AIME25\n\n| Reasoning Mode | pass@1 |\n|--------------|------------|\n| Reasoning Off | 0% | \n| Reasoning On | 47.1% |\n\nUser Prompt Template: \n\n```\n\"Below is a math question. I want you to reason through the steps and then give a final answer. Your final answer should be in \\boxed{}.\\nQuestion: {question}\"\n```\n\n\n### GPQA-D\n\n| Reasoning Mode | pass@1 |\n|--------------|------------|\n| Reasoning Off | 39.4% | \n| Reasoning On | 54.1% |\n\nUser Prompt Template: \n\n\n```\n\"What is the correct answer to this question: {question}\\nChoices:\\nA. {option_A}\\nB. {option_B}\\nC. {option_C}\\nD. {option_D}\\nLet's think step by step, and put the final answer (should be a single letter A, B, C, or D) into a \\boxed{}\"\n```\n\n\n### IFEval Average\n\n| Reasoning Mode | Strict:Prompt | Strict:Instruction |\n|--------------|------------|------------|\n| Reasoning Off | 74.7% | 82.1% |\n| Reasoning On | 71.9% | 79.3% |\n\n### BFCL v2 Live\n\n| Reasoning Mode | Score |\n|--------------|------------|\n| Reasoning Off | 63.9% | \n| Reasoning On | 63.6% | \n\nUser Prompt Template:\n\n\n```\n<AVAILABLE_TOOLS>{functions}</AVAILABLE_TOOLS>\n\n{user_prompt}\n```\n\n\n### MBPP 0-shot\n\n| Reasoning Mode | pass@1 |\n|--------------|------------|\n| Reasoning Off | 66.1% | \n| Reasoning On | 84.6% |\n\nUser Prompt Template:\n\n\n````\nYou are an exceptionally intelligent coding assistant that consistently delivers accurate and reliable responses to user instructions.\n\n@@ Instruction\nHere is the given problem and test examples:\n{prompt}\nPlease use the python programming language to solve this problem.\nPlease make sure that your code includes the functions from the test samples and that the input and output formats of these functions match the test samples.\nPlease return all completed codes in one code block.\nThis code block should be in the following format:\n```python\n# Your codes here\n```\n````\n\n\n## Ethical Considerations:\n\nNVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications.  When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse. \n\nFor more detailed information on ethical considerations for this model, please see the Model Card++ [Explainability](explainability.md), [Bias](bias.md), [Safety & Security](safety.md), and [Privacy](privacy.md) Subcards.\n\nPlease report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).\n\n\n## Citation\n```\n@misc{bercovich2025llamanemotronefficientreasoningmodels,\n      title={Llama-Nemotron: Efficient Reasoning Models}, \n      author={Akhiad Bercovich and Itay Levy and Izik Golan and Mohammad Dabbah and Ran El-Yaniv and Omri Puny and Ido Galil and Zach Moshe and Tomer Ronen and Najeeb Nabwani and Ido Shahaf and Oren Tropp and Ehud Karpas and Ran Zilberstein and Jiaqi Zeng and Soumye Singhal and Alexander Bukharin and Yian Zhang and Tugrul Konuk and Gerald Shen and Ameya Sunil Mahabaleshwarkar and Bilal Kartal and Yoshi Suhara and Olivier Delalleau and Zijia Chen and Zhilin Wang and David Mosallanezhad and Adi Renduchintala and Haifeng Qian and Dima Rekesh and Fei Jia and Somshubra Majumdar and Vahid Noroozi and Wasi Uddin Ahmad and Sean Narenthiran and Aleksander Ficek and Mehrzad Samadi and Jocelyn Huang and Siddhartha Jain and Igor Gitman and Ivan Moshkov and Wei Du and Shubham Toshniwal and George Armstrong and Branislav Kisacanin and Matvei Novikov and Daria Gitman and Evelina Bakhturina and Jane Polak Scowcroft and John Kamalu and Dan Su and Kezhi Kong and Markus Kliegl and Rabeeh Karimi and Ying Lin and Sanjeev Satheesh and Jupinder Parmar and Pritam Gundecha and Brandon Norick and Joseph Jennings and Shrimai Prabhumoye and Syeda Nahida Akter and Mostofa Patwary and Abhinav Khattar and Deepak Narayanan and Roger Waleffe and Jimmy Zhang and Bor-Yiing Su and Guyue Huang and Terry Kong and Parth Chadha and Sahil Jain and Christine Harvey and Elad Segal and Jining Huang and Sergey Kashirsky and Robert McQueen and Izzy Putterman and George Lam and Arun Venkatesan and Sherry Wu and Vinh Nguyen and Manoj Kilaru and Andrew Wang and Anna Warno and Abhilash Somasamudramath and Sandip Bhaskar and Maka Dong and Nave Assaf and Shahar Mor and Omer Ullman Argov and Scot Junkin and Oleksandr Romanenko and Pedro Larroy and Monika Katariya and Marco Rovinelli and Viji Balas and Nicholas Edelman and Anahita Bhiwandiwalla and Muthu Subramaniam and Smita Ithape and Karthik Ramamoorthy and Yuting Wu and Suguna Varshini Velury and Omri Almog and Joyjit Daw and Denys Fridman and Erick Galinkin and Michael Evans and Katherine Luna and Leon Derczynski and Nikki Pope and Eileen Long and Seth Schneider and Guillermo Siman and Tomasz Grzegorzek and Pablo Ribalta and Monika Katariya and Joey Conway and Trisha Saar and Ann Guan and Krzysztof Pawelec and Shyamala Prayaga and Oleksii Kuchaiev and Boris Ginsburg and Oluwatobi Olabiyi and Kari Briski and Jonathan Cohen and Bryan Catanzaro and Jonah Alben and Yonatan Geifman and Eric Chung and Chris Alexiuk},\n      year={2025},\n      eprint={2505.00949},\n      archivePrefix={arXiv},\n      primaryClass={cs.CL},\n      url={https://arxiv.org/abs/2505.00949}, \n}\n```",
    "related_quantizations": []
  },
  "tags": [
    "transformers",
    "gguf",
    "nvidia",
    "llama-3",
    "pytorch",
    "text-generation",
    "en",
    "arxiv:2505.00949",
    "arxiv:2502.00203",
    "license:other",
    "endpoints_compatible",
    "region:us",
    "conversational"
  ],
  "likes": 8,
  "downloads": 361,
  "gated": false,
  "private": false,
  "last_modified": "2025-09-24T15:41:28.000Z",
  "created_at": "2025-03-21T19:44:49.000Z",
  "pipeline_tag": "text-generation",
  "library_name": "transformers"
}
Source payload excerpt (from Hugging Face API)
{
  "_id": "67ddc1b17643b7d5110c6ed9",
  "id": "Mungert/Llama-3.1-Nemotron-Nano-8B-v1-GGUF",
  "modelId": "Mungert/Llama-3.1-Nemotron-Nano-8B-v1-GGUF",
  "sha": "4285783dbb2fa28d302a8c7029628f7b87392a4d",
  "createdAt": "2025-03-21T19:44:49.000Z",
  "lastModified": "2025-09-24T15:41:28.000Z",
  "author": "Mungert",
  "downloads": 361,
  "likes": 8,
  "gated": false,
  "private": false,
  "pipeline_tag": "text-generation",
  "library_name": "transformers",
  "siblings_count": 35
}