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

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

This is quantized version of nvidia/Llama-3.1-Nemotron-Nano-8B-v1 created using llama.cpp # Original Model Card # Llama-3.1-Nemotron-Nano-8B-v1

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

Repository Files & Downloads

14 files detected
Direct downloads for all repository files
FileTypeQuantizationSizeLink
Llama-3.1-Nemotron-Nano-8B-v1.Q2_K.gguf GGUF Q2_K 2.96 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q3_K_L.gguf GGUF Q3_K_L 4.03 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q3_K_M.gguf GGUF Q3_K_M 3.74 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q3_K_S.gguf GGUF Q3_K_S 3.41 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q4_0.gguf GGUF 4.34 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q4_1.gguf GGUF 4.78 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q4_K_M.gguf GGUF Q4_K_M 4.58 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q4_K_S.gguf GGUF Q4_K_S 4.37 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q5_0.gguf GGUF 5.21 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q5_1.gguf GGUF 5.65 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q5_K_M.gguf GGUF Q5_K_M 5.34 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q5_K_S.gguf GGUF Q5_K_S 5.21 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q6_K.gguf GGUF Q6_K 6.14 GB Download
Llama-3.1-Nemotron-Nano-8B-v1.Q8_0.gguf GGUF 7.95 GB Download

Model Details Live

Model Slug
quantfactory/llama-3.1-nemotron-nano-8b-v1-gguf
Author
QuantFactory
Pipeline Task
text-generation
Library
transformers
Created
2025-03-23
Last Modified
2025-03-23
Gated
No
Private
No
HF SHA
0888345a4cfad8261ff0f7dbdd5b3ab9a32b5f92
License
Unknown
Language
Unknown
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": {},
    "hero_image_url": "https://lh7-rt.googleusercontent.com/docsz/AD_4nXeiuCm7c8lEwEJuRey9kiVZsRn2W-b4pWlu3-X534V3YmVuVc2ZL-NXg2RkzSOOS2JXGHutDuyyNAUtdJI65jGTo8jT9Y99tMi4H4MqL44Uc5QKG77B0d6-JfIkZHFaUA71-RtjyYZWVIhqsNZcx8-OMaA?key=xt3VSDoCbmTY7o-cwwOFwQ",
    "summary": "This is quantized version of nvidia/Llama-3.1-Nemotron-Nano-8B-v1 created using llama.cpp # Original Model Card # Llama-3.1-Nemotron-Nano-8B-v1",
    "quick_links": [],
    "benchmark_table_html": "",
    "readme_markdown": "\n---\n\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\n[![QuantFactory Banner](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeiuCm7c8lEwEJuRey9kiVZsRn2W-b4pWlu3-X534V3YmVuVc2ZL-NXg2RkzSOOS2JXGHutDuyyNAUtdJI65jGTo8jT9Y99tMi4H4MqL44Uc5QKG77B0d6-JfIkZHFaUA71-RtjyYZWVIhqsNZcx8-OMaA?key=xt3VSDoCbmTY7o-cwwOFwQ)](https://hf.co/QuantFactory)\n\n\n# QuantFactory/Llama-3.1-Nemotron-Nano-8B-v1-GGUF\nThis is quantized version of [nvidia/Llama-3.1-Nemotron-Nano-8B-v1](https://huggingface.co/nvidia/Llama-3.1-Nemotron-Nano-8B-v1) created using llama.cpp\n\n# Original Model Card\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- [\\[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\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",
    "related_quantizations": []
  },
  "tags": [
    "transformers",
    "gguf",
    "nvidia",
    "llama-3",
    "pytorch",
    "text-generation",
    "en",
    "arxiv:2502.00203",
    "license:other",
    "endpoints_compatible",
    "region:us",
    "conversational"
  ],
  "likes": 4,
  "downloads": 114,
  "gated": false,
  "private": false,
  "last_modified": "2025-03-23T08:59:52.000Z",
  "created_at": "2025-03-23T08:17:46.000Z",
  "pipeline_tag": "text-generation",
  "library_name": "transformers"
}
Source payload excerpt (from Hugging Face API)
{
  "_id": "67dfc3aa59d74b57fddb8acf",
  "id": "QuantFactory/Llama-3.1-Nemotron-Nano-8B-v1-GGUF",
  "modelId": "QuantFactory/Llama-3.1-Nemotron-Nano-8B-v1-GGUF",
  "sha": "0888345a4cfad8261ff0f7dbdd5b3ab9a32b5f92",
  "createdAt": "2025-03-23T08:17:46.000Z",
  "lastModified": "2025-03-23T08:59:52.000Z",
  "author": "QuantFactory",
  "downloads": 114,
  "likes": 4,
  "gated": false,
  "private": false,
  "pipeline_tag": "text-generation",
  "library_name": "transformers",
  "siblings_count": 16
}