/ Модель

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

Контекст
4 096 токенов
Параметры
4,3 млрд
Размер весов
8,4 ГБ
Лицензия
Своя лицензия
Архитектура
nemotron · dense
Библиотека
transformers
Опубликована
2 окт 2026

Nemotron-Mini-4B-Instruct-heretic

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

Англоязычная диалоговая модель Nemotron Mini 4B с abliteration для генерации ответов с меньшей частотой отказов.

341скачиваний за 30 дней0лайковвеса обновлены2 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

uwe311/Nemotron-Mini-4B-Instruct-heretic — англоязычная версия NVIDIA Nemotron-Mini-4B-Instruct, изменённая методом abliteration с помощью Heretic v1.4.0 для снижения частоты отказов. Это плотная авторегрессионная Transformer-модель с 4,3 млрд параметров, поддерживающая диалоговую генерацию текста и контекст до 4096 токенов. В README приведено сравнение: доля отказов снизилась со 100 из 100 у исходной модели до 10 из 100 у этой версии; указанная KL-дивергенция относительно оригинала — 0,0568.

Модель подходит для ролевых диалогов, ответов на вопросы по документам в RAG-системах и генерации ответов в приложениях, где нужно меньше отказов. README описывает базовую модель как оптимизированную для скорости и развёртывания на устройствах и упоминает применение в игровых сценариях NVIDIA ACE. Рекомендуется использовать исходный шаблон диалога; без него качество может снижаться. Лицензия указана как other, поэтому конкретные условия использования следует проверять в карточке модели и условиях NVIDIA.

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

  • Ролевые диалоги на английском языке
  • Ответы на вопросы по документам в RAG-системе
  • Генерация реплик персонажей в игровых приложениях
  • Создание ответов для диалогового помощника
  • Вызов функций в диалоговом приложении

Ограничения

Модель может выдавать неточные, неполные или избыточные ответы, а также токсичный текст и усиливать смещения из обучающих данных. README приводит показатель отказов 10 из 100 и рекомендует использовать заданный формат диалога; конкретные условия лицензии требуют проверки.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

This is a decensored version of Nvidia/Nemotron-Mini-4B-Instruct, made using Heretic v1.4.0

[!TIP] This model is reproducible!

See the README in the reproduce directory for more information.

Abliteration parameters

ParameterValue
direction_indexper layer
attn.o_proj.max_weight0.86
attn.o_proj.max_weight_position22.19
attn.o_proj.min_weight0.29
attn.o_proj.min_weight_distance17.56
mlp.down_proj.max_weight1.26
mlp.down_proj.max_weight_position19.32
mlp.down_proj.min_weight0.00
mlp.down_proj.min_weight_distance15.82

Performance

MetricThis modelOriginal model (Nvidia/Nemotron-Mini-4B-Instruct)
KL divergence0.05680 (by definition)
Refusals10/100100/100

Nemotron-Mini-4B-Instruct

Model Overview

Nemotron-Mini-4B-Instruct is a model for generating responses for roleplaying, retrieval augmented generation, and function calling. It is a small language model (SLM) optimized through distillation, pruning and quantization for speed and on-device deployment. It is a fine-tuned version of nvidia/Minitron-4B-Base, which was pruned and distilled from Nemotron-4 15B using our LLM compression technique. This instruct model is optimized for roleplay, RAG QA, and function calling in English. It supports a context length of 4,096 tokens. This model is ready for commercial use.

Try this model on build.nvidia.com.

For more details about how this model is used for NVIDIA ACE, please refer to this blog post and this demo video, which showcases how the model can be integrated into a video game. You can download the model checkpoint for NVIDIA AI Inference Manager (AIM) SDK from here.

Model Developer: NVIDIA

Model Dates: Nemotron-Mini-4B-Instruct was trained between February 2024 and Aug 2024.

License

NVIDIA Community Model License

Model Architecture

Nemotron-Mini-4B-Instruct uses a model embedding size of 3072, 32 attention heads, and an MLP intermediate dimension of 9216. It also uses Grouped-Query Attention (GQA) and Rotary Position Embeddings (RoPE).

Architecture Type: Transformer Decoder (auto-regressive language model)

Network Architecture: Nemotron-4

Prompt Format:

We recommend using the following prompt template, which was used to fine-tune the model. The model may not perform optimally without it.

Single Turn

<extra_id_0>System
{system prompt}

<extra_id_1>User
{prompt}
<extra_id_1>Assistant\n

Tool use

<extra_id_0>System
{system prompt}

<tool> ... </tool>
<context> ... </context>

<extra_id_1>User
{prompt}
<extra_id_1>Assistant
<toolcall> ... </toolcall>
<extra_id_1>Tool
{tool response}
<extra_id_1>Assistant\n

Usage

from transformers import AutoTokenizer, AutoModelForCausalLM

# Load the tokenizer and model
tokenizer  = AutoTokenizer.from_pretrained("nvidia/Nemotron-Mini-4B-Instruct")
model = AutoModelForCausalLM.from_pretrained("nvidia/Nemotron-Mini-4B-Instruct")

# Use the prompt template
messages = [
    {
        "role": "system",
        "content": "You are a friendly chatbot who always responds in the style of a pirate",
    },
    {"role": "user", "content": "How many helicopters can a human eat in one sitting?"},
 ]
tokenized_chat = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt")

outputs = model.generate(tokenized_chat, max_new_tokens=128) 
print(tokenizer.decode(outputs[0]))

You can also use pipeline but you need to create a tokenizer object and assign it to the pipeline manually.

from transformers import AutoTokenizer
from transformers import pipeline

tokenizer  = AutoTokenizer.from_pretrained("nvidia/Nemotron-Mini-4B-Instruct")

messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe = pipeline("text-generation", model="nvidia/Nemotron-Mini-4B-Instruct")
pipe.tokenizer = tokenizer  # You need to assign tokenizer manually
pipe(messages)

AI Safety Efforts

The Nemotron-Mini-4B-Instruct model underwent AI safety evaluation including adversarial testing via three distinct methods:

  • Garak, is an automated LLM vulnerability scanner that probes for common weaknesses, including prompt injection and data leakage.
  • AEGIS, is a content safety evaluation dataset and LLM based content safety classifier model, that adheres to a broad taxonomy of 13 categories of critical risks in human-LLM interactions.
  • Human Content Red Teaming leveraging human interaction and evaluation of the models' responses.

Limitations

The model was trained on data that contains toxic language and societal biases originally crawled from the internet. Therefore, the model may amplify those biases and return toxic responses especially when prompted with toxic prompts. The model may generate answers that may be inaccurate, omit key information, or include irrelevant or redundant text producing socially unacceptable or undesirable text, even if the prompt itself does not include anything explicitly offensive. This issue could be exacerbated without the use of the recommended prompt template. This issue could be exacerbated without the use of the recommended prompt template.

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++. Please report security vulnerabilities or NVIDIA AI Concerns here.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
NemotronForCausalLM
Ревизия весов
d87e27d

0 моделей