alt.freeweights.nemotron / OpenCodeReasoning-Nemotron-7B
From: nvidia <huggingface.co/nvidia>Newsgroups: alt.freeweights.nemotronSubject:

OpenCodeReasoning-Nemotron-7B

Date: 2026-11-15Commit: 3baa2a3Signed: 2DC28CC7B26A283B ✓

Text generation model with 7.6B parameters. Safetensors weights, 15.2 GB in all. Published by nvidia under Apache-2.0.

7.6B params15.2GBOpenCodeReasoning-Nemotron-7Bsafetensorspermissive
FactsParams7.6BSize15.2 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get nvidia/OpenCodeReasoning-Nemotron-7B
# manifest sha256 54d73e0146a8… · 15.2 GB · 15 files
$ fw verify ./OpenCodeReasoning-Nemotron-7B nvidia/OpenCodeReasoning-Nemotron-7B
From sourceHosted (signed)nvidia/OpenCodeReasoning-Nemotron-7BLast check: 2026-11-15 03:28 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of Qwen2.5-7B-Instruct.

Works with

Overview

Size
15.2 GB
Weights
15.2 GB (safetensors)
Parameters
7.6B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
15, each with a sha256
Publisher
nvidia
Added
2026-11-15
Section
alt.freeweights.nemotron
Lineage

Original release from the publisher.

Base model: Qwen/Qwen2.5-7B-Instruct

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:28 UTCpassed

Model card

From the publisher at commit 3baa2a3. Shown as plain text with links; images open at the publisher.

OpenCodeReasoning-Nemotron-7B Overview#

Description:#

OpenCodeReasoning-Nemotron-7B is a large language model (LLM) which is a derivative of Qwen2.5-7B-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 32K tokens.

This model is ready for commercial/non-commercial use.

Image: Evaluation Results

Results from OpenCodeReasoning#

Below results are the average of 64 evaluations on each benchmark.

ModelLiveCodeBench Avg.CodeContest All
DeepSeek-R165.626.2
QwQ-32B61.320.2
Distilled 7B+ Models
Bespoke-Stratos-7B14.72.0
OpenThinker-7B25.55.0
R1-Distill-Qwen-7B38.011.1
OlympicCoder-7B40.910.6
OCR-Qwen-7B48.516.3
OCR-Qwen-7B-Instruct51.318.1
Distilled 14B+ Models
R1-Distill-Qwen-14B51.317.6
OCR-Qwen-14B57.722.6
OCR-Qwen-14B-Instruct59.423.6
Distilled 32B+ Models
Bespoke-Stratos-32B30.16.3
OpenThinker-32B54.116.4
R1-Distill-Qwen-32B58.118.3
OlympicCoder-32B57.418.0
OCR-Qwen-32B61.824.6
OCR-Qwen-32B-Instruct61.724.4

Reproducing our results#

How to use the models?#

To run inference on coding problems:

import transformers
import torch

model_id = "nvidia/OpenCodeReasoning-Nemotron-7B"

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:

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=32768,
)
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:#

Architecture Type: Dense decoder-only Transformer model Network Architecture: Qwen-7B-Instruct

This model was developed based on Qwen2.5-7B-Instruct and has 7B model parameters. OpenCodeReasoning-Nemotron-7B was developed based on Qwen2.5-7B-Instruct and has 7B model parameters.

Input:#

Input Type(s): Text

Input Format(s): String

Input Parameters: One-Dimensional (1D)

Other Properties Related to Input: Context length up to 32,768 tokens

Output:#

Output Type(s): Text

Output Format: String

Output Parameters: One-Dimensional (1D)

Other Properties Related to Output: Context length up to 32,768 tokens

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.

Software Integration :#

  • Runtime Engine: NeMo 2.3.0
  • Recommended Hardware Microarchitecture Compatibility:

NVIDIA Ampere

NVIDIA Hopper

  • Preferred/Supported Operating System(s): Linux

Model Version(s):#

1.0 (4/25/2025)

OpenCodeReasoning-Nemotron-7B

OpenCodeReasoning-Nemotron-14B

OpenCodeReasoning-Nemotron-32B

OpenCodeReasoning-Nemotron-32B-IOI

Training and Evaluation Datasets:#

Training Dataset:#

The training corpus for OpenCodeReasoning-Nemotron-7B is OpenCodeReasoning dataset, which is composed of competitive programming questions and DeepSeek-R1 generated responses.

Data Collection Method: Hybrid: Automated, Human, Synthetic

Labeling Method: Hybrid: Automated, Human, Synthetic

Properties: 736k samples from OpenCodeReasoning (https://huggingface.co/datasets/nvidia/OpenCodeReasoning)

Evaluation Dataset:#

We used the datasets listed in the next section to evaluate OpenCodeReasoning-Nemotron-7B.

Data Collection Method: Hybrid: Automated, Human, Synthetic Labeling Method: Hybrid: Automated, Human, Synthetic

License/Terms of Use:#

GOVERNING TERMS: Use of this model is governed by Apache 2.0.

Deployment Geography:#

Global

Use Case:#

This model is intended for developers and researchers building LLMs.

Release Date:#

Huggingface [04/25/2025] via https://huggingface.co/nvidia/OpenCodeReasoning-Nemotron-7B/

Reference(s):#

[2504.01943] OpenCodeReasoning: Advancing Data Distillation for Competitive Coding

Inference:#

Engine: vLLM

Test Hardware NVIDIA H100-80GB

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.

Please report security vulnerabilities or NVIDIA AI Concerns here.

Files

15 files · 15.2 GBWeights 15.2 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.62 KBae264c9b4672a1d887c228fab3785ae9532b10daef2196671861228f4575cfee
LICENSE699 B923e6612cfa661e75631cb54c384b9d2fa7bd1495f8021e2b284ad4d5bcc2b9d
README.md7.51 KB4669ac757cf47d433b2d7a1e58fa92e6357a54c658a2b556d3dea885e34a5f9a
added_tokens.json605 B58b54bbe36fc752f79a24a271ef66a0a0830054b4dfad94bde757d851968060b
config.json732 B7b82aa2904b675761b81256ea9f70f91c14a6a2b02d6f85d9d8ba636af2918ad
generation_config.json121 Bf705aca952e2d86ca1dda082c659143386277ab79329041f66206a55349d9001
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model-00001-of-00002.safetensors9.98 GBfe2b2273b0e5976e0fa5d2a393aacc0f703651f009917e81e4ecb7cd5bbb6bfc
model-00002-of-00002.safetensors5.25 GB1372516f0af2ed60beca91fa4a52baa28d2ac9a3e666772496cb8ab967398641
model.safetensors.index.json27.8 KB648f4b6a17f76c9c9ac64762ce3638e7717932a403340fa27d6c2bdcd79c4512
results.png111 KB4a3d2647221c5a347ecc4172e4d43c4eb209e439f1b1bb6a68f5a58cbe5358cf
special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
tokenizer.json11.4 MB9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
tokenizer_config.json7.34 KB57fea41fa99fce34f91450643e48b3bfbb078c32c6831a3c06834f122c200510
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
3baa2a3d73 pinned now2026-11-15 03:28 UTC15 files · 15.2 GB

Use it

$ fw get nvidia/OpenCodeReasoning-Nemotron-7B
# manifest sha256 54d73e0146a8… · 15.2 GB · 15 files
$ fw verify ./OpenCodeReasoning-Nemotron-7B nvidia/OpenCodeReasoning-Nemotron-7B
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/nvidia/OpenCodeReasoning-Nemotron-7B.json --dir ./OpenCodeReasoning-Nemotron-7B $ python3 fw.py verify ./OpenCodeReasoning-Nemotron-7B ./nvidia__OpenCodeReasoning-Nemotron-7B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download nvidia/OpenCodeReasoning-Nemotron-7B --revision 3baa2a3d73bbca12483ad19fef7babdcb2222987 --local-dir ./OpenCodeReasoning-Nemotron-7B
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("nvidia/OpenCodeReasoning-Nemotron-7B", revision="3baa2a3d73bbca12483ad19fef7babdcb2222987") model = AutoModelForCausalLM.from_pretrained("nvidia/OpenCodeReasoning-Nemotron-7B", revision="3baa2a3d73bbca12483ad19fef7babdcb2222987", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve nvidia/OpenCodeReasoning-Nemotron-7B --revision 3baa2a3d73bbca12483ad19fef7babdcb2222987

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
923e6612cfa661e75631cb54c384b9d2fa7bd1495f8021e2b284ad4d5bcc2b9d
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: nvidia <huggingface.co/nvidia>Newsgroups: alt.freeweights.nemotronSubject: OpenCodeReasoning-Nemotron-7BDate: 2026-11-15Commit: 3baa2a3Signed: 2DC28CC7B26A283B ✓
Upstream
nvidia/OpenCodeReasoning-Nemotron-7B
Pinned commit
3baa2a3d73bbca12483ad19fef7babdcb2222987
Manifest
OpenCodeReasoning-Nemotron-7B.json · .minisig
Manifest sha256
54d73e0146a8835d9cbb7bd77e73320b1eaa911977d110e30ea14ec0cb040c74
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:28 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/nvidia/OpenCodeReasoning-Nemotron-7B.json $ curl -O https://freeweights.allternit.com/manifests/nvidia/OpenCodeReasoning-Nemotron-7B.json.minisig $ minisign -Vm OpenCodeReasoning-Nemotron-7B.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Qwen/Qwen2.5-7B-Instruct · this model is a finetune of it

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download nvidia/OpenCodeReasoning-Nemotron-7B
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. OpenCodeReasoning-Nemotron-7B.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of OpenCodeReasoning-Nemotron-7B. Each has its own license check and page.

From: laion <huggingface.co/laion>Subject: a3-rl-laion_nemotron-gym-agent-calendar-80-8B
From: ServiceNow-AI <huggingface.co/ServiceNow-AI>Subject: Apriel-Nemotron-15b-Thinker
From: lmstudio-community <huggingface.co/lmstudio-community>Subject: Apriel-Nemotron-15b-Thinker-GGUF
From: nvidia <huggingface.co/nvidia>Subject: Nemotron-3-Diarization
From: nvidia <huggingface.co/nvidia>Subject: nemotron-3.5-asr-streaming-0.6b
From: bartowski <huggingface.co/bartowski>Subject: nvidia_OpenCodeReasoning-Nemotron-14B-GGUF