/ Модель

Характеристики

Контекст
32 768 токенов
Параметры
32 млрд
Размер весов
65,5 ГБ
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-32B-Instruct
Библиотека
transformers
Опубликована
7 мая 2025

OpenCodeReasoning-Nemotron-32B-IOI

Генерация текстаТекст → текст3 профессии

Дообученная 32-миллиардная модель NVIDIA для рассуждений над задачами соревновательного программирования и генерации кода.

243скачиваний за 30 дней26лайковвеса обновлены7 мая 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

OpenCodeReasoning-Nemotron-32B-IOI — языковая модель NVIDIA для пошагового решения задач по программированию и генерации кода. Она дообучена на основе Qwen/Qwen2.5-32B-Instruct на датасете OpenCodeReasoning, содержащем задачи соревновательного программирования и ответы, сгенерированные DeepSeek-R1.

Модель построена на плотном декодерном Transformer семейства Qwen2 и содержит 32 млрд параметров. Она принимает и генерирует текст, поддерживает контекст до 32 768 токенов и предназначена, в частности, для задач бенчмарка IOI. В README заявлена готовность к коммерческому и некоммерческому использованию; лицензия — Apache-2.0.

Модель ориентирована на программирование и рассуждения по задачам, но заявленные результаты приведены для бенчмарков и не гарантируют качество на произвольных задачах или в производственной среде. Для запуска README рекомендует vLLM и NVIDIA GPU; также указана интеграция с NeMo 2.3.0.

Сценарии применения

  • решение задач олимпиадного программирования
  • генерация кода по условию задачи
  • разбор и объяснение алгоритмических задач
  • подготовка решений для бенчмарков IOI
  • эксперименты с моделями для программирования

Ограничения

Обучение и оценка сосредоточены на задачах соревновательного программирования, поэтому результаты не следует считать гарантией качества для других областей. Запуск рассчитан на ресурсоёмкую 32-миллиардную модель; README рекомендует NVIDIA GPU.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

OpenCodeReasoning-Nemotron-32B-IOI Overview

Description:

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

Evaluation Results

Results from OpenCodeReasoning

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

ModelDataset Size PythonC++LiveCodeBench (pass@1)CodeContests (pass@1)IOI (Total Score)
OlympicCoder-7B0100K40.910.6127
OlympicCoder-32B0100K57.418.0153.5
QWQ-32B--61.320.2175.5
OpenCodeReasoning-IOI
OCR-Qwen-32B-Instruct736K356K61.525.5175.5

Reproducing our results

How to use the models?

To run inference on coding problems for IOI Benchmark:

import transformers
import torch

model_id = "nvidia/OpenCodeReasoning-Nemotron-32B-IOI"

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 c++ programming language only.

You must use ```cpp for just the final solution code block with the following format:
```cpp
// 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'])

To run inference on coding problems for python programs:

import transformers
import torch

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

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=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-32B-Instruct This model was developed based on Qwen2.5-32B-Instruct and has 32B model parameters. OpenCodeReasoning-Nemotron-32B was developed based on Qwen2.5-32B-Instruct and has 32B 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-32B 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-32B. 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-32B/

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.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen2ForCausalLM
Ревизия весов
4bcc9d0

0 моделей