K168-V0JL commited on
Commit
129cdcf
·
verified ·
1 Parent(s): 6502fa1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +26 -347
README.md CHANGED
@@ -1,368 +1,47 @@
1
  ---
2
- library_name: transformers
3
- license: other
4
- license_name: nvidia-open-model-license
5
- license_link: >-
6
- https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/
7
-
8
  pipeline_tag: text-generation
9
- language:
10
- - en
11
  tags:
12
- - nvidia
13
- - llama-3
14
- - pytorch
15
  ---
16
 
17
- # Llama-3.3-Nemotron-Super-49B-v1
18
-
19
- ## Model Overview
20
-
21
- ![Accuracy Comparison Plot](./accuracy_plot.png)
22
-
23
- Llama-3.3-Nemotron-Super-49B-v1 is a large language model (LLM) which is a derivative of [Meta Llama-3.3-70B-Instruct](https://huggingface.co/meta-llama/Llama-3.3-70B-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. The model supports a context length of 128K tokens.
24
-
25
- Llama-3.3-Nemotron-Super-49B-v1 is a model which offers a great tradeoff between model accuracy and efficiency. Efficiency (throughput) directly translates to savings. Using a novel Neural Architecture Search (NAS) approach, we greatly reduce the model’s memory footprint, enabling larger workloads, as well as fitting the model on a single GPU at high workloads (H200). This NAS approach enables the selection of a desired point in the accuracy-efficiency tradeoff. For more information on the NAS approach, please refer to [this paper](https://arxiv.org/abs/2411.19146).
26
-
27
- The 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. For more details on how the model was trained, please see our [technical report](https://arxiv.org/abs/2505.00949) and [blog](https://developer.nvidia.com/blog/build-enterprise-ai-agents-with-advanced-open-nvidia-llama-nemotron-reasoning-models/).
28
- ![Training Process](flow.png)
29
-
30
- This model is part of the Llama Nemotron Collection. You can find the other model(s) in this family here:
31
- - [Llama-3.1-Nemotron-Nano-8B-v1](https://huggingface.co/nvidia/Llama-3.1-Nemotron-Nano-8B-v1)
32
- - [Llama-3.1-Nemotron-Ultra-253B-v1](https://huggingface.co/nvidia/Llama-3_1-Nemotron-Ultra-253B-v1)
33
-
34
- This model is ready for commercial use.
35
-
36
- ## Feature Voting
37
-
38
- We want to hear from you! Share your ideas, vote on what matters, and help [shape the future of Nemotron](https://nemotron.ideas.nvidia.com/).
39
-
40
- ## License/Terms of Use
41
-
42
- GOVERNING 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/) \
43
- Additional Information: [Llama 3.3 Community License Agreement](https://www.llama.com/llama3_3/license/). Built with Llama.
44
-
45
- **Model Developer:** NVIDIA
46
-
47
- **Model Dates:** Trained between November 2024 and February 2025
48
-
49
- **Data Freshness:** The pretraining data has a cutoff of 2023 per Meta Llama 3.3 70B
50
-
51
- ### Use Case: <br>
52
- Developers designing AI Agent systems, chatbots, RAG systems, and other AI-powered applications. Also suitable for typical instruction-following tasks. <br>
53
-
54
- ### Release Date: <br>
55
- 3/18/2025 <br>
56
-
57
- ## References
58
-
59
- * [\[2505.00949\] Llama-Nemotron: Efficient Reasoning Models](https://arxiv.org/abs/2505.00949)
60
- * [[2411.19146] Puzzle: Distillation-Based NAS for Inference-Optimized LLMs](https://arxiv.org/abs/2411.19146)
61
- * [[2502.00203] Reward-aware Preference Optimization: A Unified Mathematical Framework for Model Alignment](https://arxiv.org/abs/2502.00203)
62
-
63
- ## Model Architecture
64
- **Architecture Type:** Dense decoder-only Transformer model \
65
- **Network Architecture:** Llama 3.3 70B Instruct, customized through Neural Architecture Search (NAS)
66
-
67
- The model is a derivative of Meta’s Llama-3.3-70B-Instruct, using Neural Architecture Search (NAS). The NAS algorithm results in non-standard and non-repetitive blocks. This includes the following:
68
- * Skip attention: In some blocks, the attention is skipped entirely, or replaced with a single linear layer.
69
- * Variable FFN: The expansion/compression ratio in the FFN layer is different between blocks.
70
-
71
- We utilize a block-wise distillation of the reference model, where for each block we create multiple variants providing different tradeoffs of quality vs. computational complexity, discussed in more depth below. We then search over the blocks to create a model which meets the required throughput and memory (optimized for a single H100-80GB GPU) while minimizing the quality degradation. The model then undergoes knowledge distillation (KD), with a focus on English single and multi-turn chat use-cases. The KD step included 40 billion tokens consisting of a mixture of 3 datasets - FineWeb, Buzz-V1.2 and Dolma.
72
-
73
- ## Intended use
74
-
75
- Llama-3.3-Nemotron-Super-49B-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.
76
-
77
- ## Input
78
- - **Input Type:** Text
79
- - **Input Format:** String
80
- - **Input Parameters:** One-Dimensional (1D)
81
- - **Other Properties Related to Input:** Context length up to 131,072 tokens
82
-
83
- ## Output
84
- - **Output Type:** Text
85
- - **Output Format:** String
86
- - **Output Parameters:** One-Dimensional (1D)
87
- - **Other Properties Related to Output:** Context length up to 131,072 tokens
88
-
89
- ## Model Version
90
- 1.0 (3/18/2025)
91
-
92
- ## Software Integration
93
- - **Runtime Engine:** Transformers
94
- - **Recommended Hardware Microarchitecture Compatibility:**
95
- - NVIDIA Hopper
96
- - NVIDIA Ampere
97
-
98
- ## Quick Start and Usage Recommendations:
99
-
100
- 1. 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
101
- 2. We recommend setting temperature to `0.6`, and Top P to `0.95` for Reasoning ON mode
102
- 3. We recommend using greedy decoding for Reasoning OFF mode
103
- 4. We have provided a list of prompts to use for evaluation for each benchmark where a specific template is required
104
- 5. The model will include `<think></think>` if no reasoning was necessary in Reasoning ON model, this is expected behaviour
105
-
106
- You can try this model out through the preview API, using this link: [Llama-3_3-Nemotron-Super-49B-v1](https://build.nvidia.com/nvidia/llama-3_3-nemotron-super-49b-v1).
107
-
108
- ### Use It with Transformers
109
- See the snippet below for usage with [Hugging Face Transformers](https://huggingface.co/docs/transformers/main/en/index) library. Reasoning mode (ON/OFF) is controlled via system prompt. Please see the example below
110
-
111
- We recommend using the *transformers* package with version 4.48.3.
112
- Example of reasoning on:
113
-
114
- ```py
115
- import torch
116
- import transformers
117
-
118
- model_id = "nvidia/Llama-3_3-Nemotron-Super-49B-v1"
119
- model_kwargs = {"torch_dtype": torch.bfloat16, "trust_remote_code": True, "device_map": "auto"}
120
- tokenizer = transformers.AutoTokenizer.from_pretrained(model_id)
121
- tokenizer.pad_token_id = tokenizer.eos_token_id
122
-
123
- pipeline = transformers.pipeline(
124
- "text-generation",
125
- model=model_id,
126
- tokenizer=tokenizer,
127
- max_new_tokens=32768,
128
- temperature=0.6,
129
- top_p=0.95,
130
- **model_kwargs
131
- )
132
-
133
- thinking = "on"
134
-
135
- print(pipeline([{"role": "system", "content": f"detailed thinking {thinking}"},{"role": "user", "content": "Solve x*(sin(x)+2)=0"}]))
136
- ```
137
-
138
- Example of reasoning off:
139
-
140
- ```py
141
- import torch
142
- import transformers
143
-
144
- model_id = "nvidia/Llama-3_3-Nemotron-Super-49B-v1"
145
- model_kwargs = {"torch_dtype": torch.bfloat16, "trust_remote_code": True, "device_map": "auto"}
146
- tokenizer = transformers.AutoTokenizer.from_pretrained(model_id)
147
- tokenizer.pad_token_id = tokenizer.eos_token_id
148
-
149
- pipeline = transformers.pipeline(
150
- "text-generation",
151
- model=model_id,
152
- tokenizer=tokenizer,
153
- max_new_tokens=32768,
154
- do_sample=False,
155
- **model_kwargs
156
- )
157
-
158
- # Thinking can be "on" or "off"
159
- thinking = "off"
160
-
161
- print(pipeline([{"role": "system", "content": f"detailed thinking {thinking}"},{"role": "user", "content": "Solve x*(sin(x)+2)=0"}]))
162
- ```
163
-
164
- ### Use It with vLLM
165
-
166
- ```
167
- pip install vllm==0.8.3
168
- ```
169
- An example on how to serve with vLLM:
170
- ```
171
- python3 -m vllm.entrypoints.openai.api_server \
172
- --model "nvidia/Llama-3_3-Nemotron-Super-49B-v1" \
173
- --trust-remote-code \
174
- --seed=1 \
175
- --host="0.0.0.0" \
176
- --port=5000 \
177
- --served-model-name "nvidia/Llama-3_3-Nemotron-Super-49B-v1" \
178
- --tensor-parallel-size=8 \
179
- --max-model-len=32768 \
180
- --gpu-memory-utilization 0.95 \
181
- --enforce-eager
182
- ```
183
-
184
- ## Inference:
185
-
186
- **Engine:**
187
- - Transformers
188
-
189
- **Test Hardware:**
190
- - FP8: 1x NVIDIA H100-80GB GPU (Coming Soon!)
191
- - BF16:
192
- - 2x NVIDIA H100-80GB
193
- - 2x NVIDIA A100-80GB GPUs
194
-
195
- **[Preferred/Supported] Operating System(s):** Linux <br>
196
-
197
- ## Training Datasets
198
-
199
- A large variety of training data was used for the knowledge distillation phase before post-training pipeline, 3 of which included: FineWeb, Buzz-V1.2, and Dolma.
200
-
201
- The 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.
202
-
203
- In conjunction with this model release, NVIDIA has released 30M samples of post-training data, as public and permissive. Please see [Llama-Nemotron-Postraining-Dataset-v1](https://huggingface.co/datasets/nvidia/Llama-Nemotron-Post-Training-Dataset-v1).
204
-
205
- Distribution of the domains is as follows:
206
-
207
- | Category | Value |
208
- |----------|-----------|
209
- | math | 19,840,970|
210
- | code | 9,612,677 |
211
- | science | 708,920 |
212
- | instruction following | 56,339 |
213
- | chat | 39,792 |
214
- | safety | 31,426 |
215
-
216
- Prompts 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.
217
-
218
-
219
- **Data Collection for Training Datasets:**
220
-
221
- - Hybrid: Automated, Human, Synthetic
222
-
223
- **Data Labeling for Training Datasets:**
224
-
225
- - Hybrid: Automated, Human, Synthetic
226
-
227
- ## Evaluation Datasets
228
-
229
- We used the datasets listed below to evaluate Llama-3.3-Nemotron-Super-49B-v1.
230
-
231
- Data Collection for Evaluation Datasets:
232
-
233
- - Hybrid: Human/Synthetic
234
-
235
- Data Labeling for Evaluation Datasets:
236
-
237
- - Hybrid: Human/Synthetic/Automatic
238
-
239
- ## Evaluation Results
240
- These 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.
241
-
242
- > 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.
243
-
244
- ### Arena-Hard
245
-
246
- | Reasoning Mode | Score |
247
- |--------------|------------|
248
- | Reasoning Off | 88.3 |
249
-
250
- ### MATH500
251
-
252
- | Reasoning Mode | pass@1 |
253
- |--------------|------------|
254
- | Reasoning Off | 74.0 |
255
- | Reasoning On | 96.6 |
256
-
257
- User Prompt Template:
258
-
259
- ```
260
- "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}"
261
- ```
262
- ### AIME25
263
-
264
- | Reasoning Mode | pass@1 |
265
- |--------------|------------|
266
- | Reasoning Off | 13.33 |
267
- | Reasoning On | 58.4 |
268
-
269
- User Prompt Template:
270
-
271
- ```
272
- "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}"
273
- ```
274
-
275
- ### GPQA
276
-
277
- | Reasoning Mode | pass@1 |
278
- |--------------|------------|
279
- | Reasoning Off | 50 |
280
- | Reasoning On | 66.67 |
281
-
282
- User Prompt Template:
283
-
284
- ```
285
- "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{}"
286
- ```
287
-
288
- ### IFEval
289
-
290
- | Reasoning Mode | Strict:Instruction |
291
- |--------------|------------|
292
- | Reasoning Off | 89.21 |
293
-
294
- ### BFCL V2 Live
295
-
296
- | Reasoning Mode | Score |
297
- |--------------|------------|
298
- | Reasoning Off | 73.7 |
299
-
300
- User Prompt Template:
301
-
302
- ```
303
- You are an expert in composing functions. You are given a question and a set of possible functions.
304
- Based on the question, you will need to make one or more function/tool calls to achieve the purpose.
305
- If none of the function can be used, point it out. If the given question lacks the parameters required by the function,
306
- also point it out. You should only return the function call in tools call sections.
307
-
308
- If you decide to invoke any of the function(s), you MUST put it in the format of <TOOLCALL>[func_name1(params_name1=params_value1, params_name2=params_value2...), func_name2(params)]</TOOLCALL>
309
 
310
- You SHOULD NOT include any other text in the response.
311
- Here is a list of functions in JSON format that you can invoke.
312
 
313
- <AVAILABLE_TOOLS>{functions}</AVAILABLE_TOOLS>
314
 
315
- {user_prompt}
316
- ```
317
 
318
- ### MBPP 0-shot
319
 
320
- | Reasoning Mode | pass@1 |
321
- |--------------|------------|
322
- | Reasoning Off | 84.9|
323
- | Reasoning On | 91.3 |
324
 
325
- User Prompt Template:
326
 
327
- ````
328
- You are an exceptionally intelligent coding assistant that consistently delivers accurate and reliable responses to user instructions.
329
 
330
- @@ Instruction
331
- Here is the given problem and test examples:
332
- {prompt}
333
- Please use the python programming language to solve this problem.
334
- Please 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.
335
- Please return all completed codes in one code block.
336
- This code block should be in the following format:
337
- ```python
338
- # Your codes here
339
- ```
340
- ````
341
 
342
- ### MT-Bench
343
 
344
- | Reasoning Mode | Score |
345
- |--------------|------------|
346
- | Reasoning Off | 9.17 |
347
 
348
- ## Ethical Considerations:
 
 
349
 
350
- NVIDIA 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.
351
 
352
- For 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.
353
 
354
- Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
355
 
 
 
356
 
357
- ## Citation
358
- ```
359
- @misc{bercovich2025llamanemotronefficientreasoningmodels,
360
- title={Llama-Nemotron: Efficient Reasoning Models},
361
- 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},
362
- year={2025},
363
- eprint={2505.00949},
364
- archivePrefix={arXiv},
365
- primaryClass={cs.CL},
366
- url={https://arxiv.org/abs/2505.00949},
367
- }
368
- ```
 
1
  ---
 
 
 
 
 
 
2
  pipeline_tag: text-generation
3
+ base_model: nvidia/Llama-3_3-Nemotron-Super-49B-v1
 
4
  tags:
5
+ - omega-ai
6
+ - text-generation
7
+ - conversational
8
  ---
9
 
10
+ # Omega AI 50B
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
 
12
+ ## Omega AI Model Family
 
13
 
14
+ **Public name:** Omega AI 50B
15
 
16
+ **Parameter class:** 50B class
 
17
 
18
+ **Base model:** `nvidia/Llama-3_3-Nemotron-Super-49B-v1`
19
 
20
+ **Status:** reference repository
 
 
 
21
 
22
+ ## About
23
 
24
+ Omega AI 50B is part of the Omega AI model family.
 
25
 
26
+ Where an existing pretrained model is used, its original technical
27
+ origin remains identified by the Base Model field above.
 
 
 
 
 
 
 
 
 
28
 
29
+ ## Assistant Identity
30
 
31
+ Recommended system instruction:
 
 
32
 
33
+ You are Omega AI 50B.
34
+ Your public assistant identity is Omega AI 50B.
35
+ When asked your name, identify yourself as Omega AI 50B.
36
 
37
+ ## Base Model
38
 
39
+ `nvidia/Llama-3_3-Nemotron-Super-49B-v1`
40
 
41
+ ## Provenance
42
 
43
+ Omega AI branding does not change the architecture or pretrained
44
+ weights of the underlying base model.
45
 
46
+ Original model licenses, attribution requirements, and usage
47
+ conditions continue to apply.