初始化项目,由ModelHub XC社区提供模型
Model: gabriellarson/OpenCodeReasoning-Nemotron-1.1-14B-GGUF Source: Original Platform
This commit is contained in:
61
.gitattributes
vendored
Normal file
61
.gitattributes
vendored
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.model filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||||
|
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q2_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B-F16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-F16.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-F16.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:59441b6e7213f43ba00f478946b237f9004c769beb16d07eda405a0026cd1e4b
|
||||||
|
size 29547716608
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ1_M.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ1_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:59bdea3028a3feb84efd45a657ac63aa59cf9be9ee50861b026b198856f40744
|
||||||
|
size 3872309536
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ1_S.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ1_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:eb011f5be1a4ed78380ac7155000dabebf0e108d64f1406cd7864fde445121b5
|
||||||
|
size 3607994656
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ2_M.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ2_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a2fd90636a190bb02a8b96130655dc6c7e11427b475435a938c59f25de78b465
|
||||||
|
size 5356146976
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ2_S.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ2_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d569c08be66c836a3a5a4d41174f1c6ab3ecc7ffee88af7b89448d74d2c6fdbd
|
||||||
|
size 5003727136
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ2_XS.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ2_XS.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:328d3bf4d94254144eec4096840c36289f93540568ad9215c00f9f9e106953b5
|
||||||
|
size 4704575776
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ2_XXS.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ2_XXS.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:abc8e7429d2da86228dfb44518464c8a8ccf6c0efb296cf2851078a02a54415d
|
||||||
|
size 4312834336
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ3_M.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ3_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9e61f8807a35b2f15fe6d919dfa3a76112c62a51b7f58b27ef4590d2a34f770d
|
||||||
|
size 6916538656
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ3_S.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ3_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bb83704473f4a6edef88b1c89c6539e9dc11a412e10aa028a84010e68c0d4ff2
|
||||||
|
size 6693019936
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ3_XS.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ3_XS.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c4fae0ba5a0dca678a8f3805ab92e5f4dec6dc7bf6edc832ec5f4666dc7152d1
|
||||||
|
size 6383362336
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ3_XXS.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ3_XXS.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f64b005df60e5e1f7a6d9e004f51c9ad2bfbf228ef82fc71fa28b7d266ac842e
|
||||||
|
size 5946708256
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ4_NL.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ4_NL.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:093abbcd1ed0ce454f251b3e6c4651bcdfa17c668b7de2dfb7a9017407fba47b
|
||||||
|
size 8549183776
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ4_XS.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-IQ4_XS.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:131616658ded0479b3719e700c5cfadc1d72f7cb06a97218845e9dcf0d31c59c
|
||||||
|
size 8119841056
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q2_K.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ff28e4bc493965928bd1a2660f92057eda9bb127a431e3c3ef9c75daa4f55699
|
||||||
|
size 5770498336
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q2_K_S.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q2_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1f74e9f2314d581f597685c174dc4f878de662c17c9a678b21b2738ccac96d9a
|
||||||
|
size 5397188896
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q3_K_L.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:40cdbeed4493439cf671ecd06020d564fa7d30409e2c8bae21b75f9ea3a33218
|
||||||
|
size 7924769056
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q3_K_M.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b01be5d34d70263aa9591da5b377d4a18b402a254907e715b9311f3622850602
|
||||||
|
size 7339204896
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q3_K_S.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f92ba8806ecb790cd543d6599824a17dc3ece1b44072d756f60d7c3974a55066
|
||||||
|
size 6659596576
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q4_0.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:62c44143c0292508292c03b10f428f22e3f68b8ca0b8bc41c5355c1e3c5ce54f
|
||||||
|
size 8544268576
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q4_K_M.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7cff996b8c01298ce621a69dc73bf5ae6204928428689f3b4f77ad45b9054115
|
||||||
|
size 8988111136
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q4_K_S.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:af281a34a72bfe698eda51d5d6456cd31acd8cf25c1174099abd1fbd227f4e5e
|
||||||
|
size 8573432096
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q5_0.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5c47f8d488bf84c8b41947b577ac0f39d0280383235b6460b979c597fbcd4f71
|
||||||
|
size 10293096736
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q5_K_M.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9644fe72fe57c3705308d2cfebc66183f73103a9e0360e385de647fb00026fd6
|
||||||
|
size 10508874016
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q5_K_S.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8b48bf5cc6fa85776989633563beaec8f81d0fcf1d2a444de6df9602c1f9ed04
|
||||||
|
size 10266554656
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q6_K.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:318dc7689953b71a53ea957b797f954fcd0d046431de6546643bdfc1ac07f942
|
||||||
|
size 12124684576
|
||||||
3
OpenCodeReasoning-Nemotron-1.1-14B-Q8_0.gguf
Normal file
3
OpenCodeReasoning-Nemotron-1.1-14B-Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:72eb888e2f11aa6dc3768db93f2abd4eb6c0f9edfab51ed9f1b02cf1acfdc069
|
||||||
|
size 15701598496
|
||||||
195
README.md
Normal file
195
README.md
Normal file
@@ -0,0 +1,195 @@
|
|||||||
|
---
|
||||||
|
base_model:
|
||||||
|
- nvidia/OpenCodeReasoning-Nemotron-1.1-14B
|
||||||
|
datasets:
|
||||||
|
- nvidia/OpenCodeReasoning
|
||||||
|
language:
|
||||||
|
- en
|
||||||
|
library_name: transformers
|
||||||
|
tags:
|
||||||
|
- nvidia
|
||||||
|
- code
|
||||||
|
pipeline_tag: text-generation
|
||||||
|
---
|
||||||
|
# OpenCodeReasoning-Nemotron-1.1-14B Overview
|
||||||
|
|
||||||
|
## Description: <br>
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B is a large language model (LLM) which is a derivative of Qwen2.5-14B-Instruct (AKA the reference model). It is a reasoning model that is post-trained for reasoning for code generation. The model supports a context length of 64k tokens. <br>
|
||||||
|
|
||||||
|
This model is ready for commercial/non-commercial use. <br>
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
## Results
|
||||||
|
|
||||||
|
Below results are the average of **64 evaluations** on LiveCodeBench (v5) [2408-2501].
|
||||||
|
|
||||||
|
| Model | Pass@1 |
|
||||||
|
|:---------------------------------------|:-------------------|
|
||||||
|
| DeepSeek-R1-0528 | 73.4 |
|
||||||
|
| DeepSeek-R1 | 65.6 |
|
||||||
|
| QwQ-32B | 61.3 |
|
||||||
|
| | |
|
||||||
|
| **Distilled 7B+ Models** | |
|
||||||
|
| | |
|
||||||
|
| Bespoke-Stratos-7B | 14.7 |
|
||||||
|
| OpenThinker-7B | 25.5 |
|
||||||
|
| R1-Distill-Qwen-7B | 38.0 |
|
||||||
|
| OlympicCoder-7B | 40.9 |
|
||||||
|
| **OpenCodeReasoning-Nemotron-7B** | **51.3** |
|
||||||
|
| **OpenCodeReasoning-Nemotron-1.1-7B** | **55.5** |
|
||||||
|
| | |
|
||||||
|
| **Distilled 14B+ Models** | |
|
||||||
|
| | |
|
||||||
|
| R1-Distill-Qwen-14B | 51.3 |
|
||||||
|
| **OpenCodeReasoning-Nemotron-14B** | **59.4** |
|
||||||
|
| **OpenCodeReasoning-Nemotron-1.1-14B** | **65.9** |
|
||||||
|
| | |
|
||||||
|
| **Distilled 32B+ Models** | |
|
||||||
|
| | |
|
||||||
|
| Bespoke-Stratos-32B | 30.1 |
|
||||||
|
| OpenThinker-32B | 54.1 |
|
||||||
|
| R1-Distill-Qwen-32B | 58.1 |
|
||||||
|
| OlympicCoder-32B | 57.4 |
|
||||||
|
| **OpenCodeReasoning-Nemotron-32B** | **61.7** |
|
||||||
|
| **OpenCodeReasoning-Nemotron-1.1-32B** | **69.9** |
|
||||||
|
|
||||||
|
|
||||||
|
## Reproducing our results
|
||||||
|
|
||||||
|
* [Models](https://huggingface.co/collections/nvidia/opencodereasoning-67ec462892673a326c0696c1)
|
||||||
|
* [Dataset](https://huggingface.co/datasets/nvidia/OpenCodeReasoning)
|
||||||
|
* [Paper](https://arxiv.org/abs/2504.01943)
|
||||||
|
|
||||||
|
|
||||||
|
## How to use the models?
|
||||||
|
|
||||||
|
To run inference on coding problems:
|
||||||
|
|
||||||
|
````python
|
||||||
|
import transformers
|
||||||
|
import torch
|
||||||
|
model_id = "nvidia/OpenCodeReasoning-Nemotron-1.1-14B"
|
||||||
|
pipeline = transformers.pipeline(
|
||||||
|
"text-generation",
|
||||||
|
model=model_id,
|
||||||
|
model_kwargs={"torch_dtype": torch.bfloat16},
|
||||||
|
device_map="auto",
|
||||||
|
)
|
||||||
|
prompt = """You are a helpful and harmless assistant. You should think step-by-step before responding to the instruction below.
|
||||||
|
Please use python programming language only.
|
||||||
|
You must use ```python for just the final solution code block with the following format:
|
||||||
|
```python
|
||||||
|
# Your code here
|
||||||
|
```
|
||||||
|
{user}
|
||||||
|
"""
|
||||||
|
messages = [
|
||||||
|
{
|
||||||
|
"role": "user",
|
||||||
|
"content": prompt.format(user="Write a program to calculate the sum of the first $N$ fibonacci numbers")
|
||||||
|
},
|
||||||
|
]
|
||||||
|
outputs = pipeline(
|
||||||
|
messages,
|
||||||
|
max_new_tokens=49152,
|
||||||
|
)
|
||||||
|
print(outputs[0]["generated_text"][-1]['content'])
|
||||||
|
````
|
||||||
|
|
||||||
|
|
||||||
|
## Citation
|
||||||
|
|
||||||
|
If you find the data useful, please cite:
|
||||||
|
```
|
||||||
|
@article{ahmad2025opencodereasoning,
|
||||||
|
title={OpenCodeReasoning: Advancing Data Distillation for Competitive Coding},
|
||||||
|
author={Wasi Uddin Ahmad, Sean Narenthiran, Somshubra Majumdar, Aleksander Ficek, Siddhartha Jain, Jocelyn Huang, Vahid Noroozi, Boris Ginsburg},
|
||||||
|
year={2025},
|
||||||
|
eprint={2504.01943},
|
||||||
|
archivePrefix={arXiv},
|
||||||
|
primaryClass={cs.CL},
|
||||||
|
url={https://arxiv.org/abs/2504.01943},
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Additional Information
|
||||||
|
|
||||||
|
## Model Architecture: <br>
|
||||||
|
Architecture Type: Dense decoder-only Transformer model
|
||||||
|
Network Architecture: Qwen-14B-Instruct
|
||||||
|
<br>
|
||||||
|
**This model was developed based on Qwen2.5-14B-Instruct and has 14B model parameters. <br>**
|
||||||
|
**OpenCodeReasoning-Nemotron-1.1-14B was developed based on Qwen2.5-14B-Instruct and has 14B model parameters. <br>**
|
||||||
|
|
||||||
|
## Input: <br>
|
||||||
|
**Input Type(s):** Text <br>
|
||||||
|
**Input Format(s):** String <br>
|
||||||
|
**Input Parameters:** One-Dimensional (1D) <br>
|
||||||
|
**Other Properties Related to Input:** Context length up to 65,536 tokens <br>
|
||||||
|
|
||||||
|
## Output: <br>
|
||||||
|
**Output Type(s):** Text <br>
|
||||||
|
**Output Format:** String <br>
|
||||||
|
**Output Parameters:** One-Dimensional (1D) <br>
|
||||||
|
**Other Properties Related to Output:** Context length up to 65,536 tokens <br>
|
||||||
|
|
||||||
|
Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA’s hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions. <br>
|
||||||
|
|
||||||
|
## Software Integration : <br>
|
||||||
|
* Runtime Engine: NeMo 2.3.0 <br>
|
||||||
|
* Recommended Hardware Microarchitecture Compatibility: <br>
|
||||||
|
NVIDIA Ampere <br>
|
||||||
|
NVIDIA Hopper <br>
|
||||||
|
* Preferred/Supported Operating System(s): Linux <br>
|
||||||
|
|
||||||
|
## Model Version(s):
|
||||||
|
1.1 (07/08/2025) <br>
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-7B<br>
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-14B<br>
|
||||||
|
OpenCodeReasoning-Nemotron-1.1-32B<br>
|
||||||
|
|
||||||
|
|
||||||
|
# Training and Evaluation Datasets: <br>
|
||||||
|
|
||||||
|
## Training Dataset:
|
||||||
|
|
||||||
|
The training corpus for OpenCodeReasoning-Nemotron-1.1-14B is [OpenCodeReasoning](https://huggingface.co/datasets/nvidia/OpenCodeReasoning) dataset, which is composed of competitive programming questions and DeepSeek-R1-0528 generated responses.
|
||||||
|
|
||||||
|
Data Collection Method: Hybrid: Automated, Human, Synthetic <br>
|
||||||
|
Labeling Method: Hybrid: Automated, Human, Synthetic <br>
|
||||||
|
Properties: **1.165M** samples from OpenCodeReasoning (https://huggingface.co/datasets/nvidia/OpenCodeReasoning)
|
||||||
|
|
||||||
|
## Evaluation Dataset:
|
||||||
|
We used the datasets listed in the next section to evaluate OpenCodeReasoning-Nemotron-1.1-14B. <br>
|
||||||
|
**Data Collection Method: Hybrid: Automated, Human, Synthetic <br>**
|
||||||
|
**Labeling Method: Hybrid: Automated, Human, Synthetic <br>**
|
||||||
|
|
||||||
|
|
||||||
|
### License/Terms of Use: <br>
|
||||||
|
GOVERNING TERMS: Use of this model is governed by the [NVIDIA Open Model License Agreement](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/). Additional Information: [Apache License Version 2.0](https://huggingface.co/Qwen/Qwen2.5-32B/blob/main/LICENSE).
|
||||||
|
|
||||||
|
### Deployment Geography:
|
||||||
|
Global<br>
|
||||||
|
|
||||||
|
### Use Case: <br>
|
||||||
|
This model is intended for developers and researchers building LLMs. <br>
|
||||||
|
|
||||||
|
### Release Date: <br>
|
||||||
|
Huggingface [07/08/2025] via https://huggingface.co/nvidia/OpenCodeReasoning-Nemotron-1.1-14B/ <br>
|
||||||
|
|
||||||
|
## Reference(s):
|
||||||
|
[2504.01943] OpenCodeReasoning: Advancing Data Distillation for Competitive Coding
|
||||||
|
<br>
|
||||||
|
|
||||||
|
## Inference:
|
||||||
|
**Engine:** vLLM <br>
|
||||||
|
**Test Hardware** NVIDIA H100-80GB <br>
|
||||||
|
|
||||||
|
## Ethical Considerations:
|
||||||
|
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.
|
||||||
|
|
||||||
|
For more detailed information on ethical considerations for this model, please see the Model Card++ Explainability, Bias, Safety & Security, and Privacy Subcards.
|
||||||
|
|
||||||
|
Please report security vulnerabilities or NVIDIA AI Concerns here.
|
||||||
Reference in New Issue
Block a user