/ Модель

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

Контекст
262 144 токена
Параметры
3,5 млрд
Лицензия
Apache 2.0
Архитектура
llama · dense
Базовая модель
Nanbeige4.1-3B
Библиотека
transformers
Опубликована
11 фев 2026

Nanbeige4.1-3B-heretic

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

Англо-китайская диалоговая модель на 3,5 млрд параметров с abliteration для генерации текста, рассуждений, кода и агентных задач.

25скачиваний за 30 дней17лайковвеса обновлены21 фев 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

megabytes/Nanbeige4.1-3B-heretic — англо-китайская диалоговая языковая модель на базе Nanbeige/Nanbeige4.1-3B. Разработчик описывает исходную модель как компактную модель для рассуждений, программирования и агентных задач; эта версия создана с помощью Heretic v1.2.0 и abliteration для снижения частоты отказов. Она содержит 3,5 млрд параметров, использует плотную архитектуру LlamaForCausalLM и поддерживает контекст до 262 144 токенов.

Модель предназначена для генерации диалоговых ответов, решения многошаговых задач, написания кода и сценариев с поиском и вызовом инструментов. README приводит для этой версии частоту отказов 8 из 100 и KL-дивергенцию 0,0003 относительно исходной модели; в карточке также отмечено, что существует улучшенная версия от Heretic Organization. Модель может выдавать предвзятый или иной нежелательный контент. Лицензия — Apache-2.0.

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

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

Ограничения

README сообщает, что частота отказов этой версии составляет 8 из 100, а также предупреждает о возможных предвзятых и иных нежелательных ответах. Карточка рекомендует вместо неё улучшенную версию heretic-org/Nanbeige4.1-3B-heretic.

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

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

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

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

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

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

Открыть на Hugging Face

This is a decensored version of Nanbeige/Nanbeige4.1-3B, made using Heretic v1.2.0

🟢 2026-02-16 - IMPROVED VERSION: heretic-org/Nanbeige4.1-3B-heretic 🟢

  • The Heretic Organization's abliteration has both a halved refusal rate (4/100 vs. 8/100) and a lower KD divergence (0.0001 vs. 0.0003), therefore it is reccomended to use their version instead of this one.

Abliteration parameters

ParameterValue
direction_indexper layer
attn.o_proj.max_weight0.90
attn.o_proj.max_weight_position27.04
attn.o_proj.min_weight0.82
attn.o_proj.min_weight_distance3.87
mlp.down_proj.max_weight1.37
mlp.down_proj.max_weight_position22.72
mlp.down_proj.min_weight1.32
mlp.down_proj.min_weight_distance14.90

Performance

MetricThis modelOriginal model (Nanbeige/Nanbeige4.1-3B)
KL divergence0.00030 (by definition)
Refusals8/100100/100

Introduction

Nanbeige4.1-3B is built upon Nanbeige4-3B-Base and represents an enhanced iteration of our previous reasoning model, Nanbeige4-3B-Thinking-2511, achieved through further post-training optimization with supervised fine-tuning (SFT) and reinforcement learning (RL). As a highly competitive open-source model at a small parameter scale, Nanbeige4.1-3B illustrates that compact models can simultaneously achieve robust reasoning, preference alignment, and effective agentic behaviors.

Specifically, Nanbeige4.1-3B exhibits the following key strengths:

  • Strong Reasoning: Nanbeige4.1-3B is capable of solving complex, multi-step problems through sustained and coherent reasoning within a single forward pass, and reliably produces correct final answers on challenging tasks such as LiveCodeBench-Pro, IMO-Answer-Bench, and AIME 2026 I.
  • Robust Preference Alignment: Nanbeige4.1-3B achieves solid alignment performance, outperforming not only same-scale models such as Qwen3-4B-2507 and Nanbeige4-3B-2511, but also substantially larger models including Qwen3-30B-A3B and Qwen3-32B on Arena-Hard-v2 and Multi-Challenge.
  • Agentic Capability: Nanbeige4.1-3B is the first general small model to natively support deep-search tasks and reliably sustain complex problem solving involving more than 500 rounds of tool invocations. It fills a long-standing gap in the small-model ecosystem where models are typically optimized for either general reasoning or agentic scenarios, but rarely excel at both.

Technical Report: Coming Soon

Performances

We evaluate Nanbeige4.1-3B across a broad and diverse set of benchmarks covering general reasoning, and deep-search capabilities.

General Reasoning Tasks

On general reasoning tasks including code, math, science, alignment, and tool-use benchmarks, Nanbeige4.1-3B not only significantly outperforms same-scale models such as Qwen3-4B, but also demonstrates overall superior performance compared to larger models including Qwen3-30B-A3B-2507 and Qwen3-32B.

BenchmarkQwen3-4B-2507Qwen3-8BQwen3-14BQwen3-32BQwen3-30B-A3B-2507Nanbeige4-3B-2511Nanbeige4.1-3B
Code
Live-Code-Bench-V657.449.455.955.766.046.076.9
Live-Code-Bench-Pro-Easy40.241.233.042.360.840.281.4
Live-Code-Bench-Pro-Mediium5.33.51.83.53.55.328.1
Math
AIME 2026 I81.4670.4276.4675.8387.3084.187.40
HMMT Nov68.3348.3356.6757.0871.2566.6777.92
IMO-Answer-Bench48.0036.5641.8143.9454.3438.2553.38
Science
GPQA65.862.063.3868.473.482.283.8
HLE (Text-only)6.725.287.009.3111.7710.9812.60
Alignment
Arena-Hard-v234.926.336.956.060.260.073.2
Multi-Challenge41.1436.3036.9738.7249.4041.2052.21
Tool Use
BFCL-V444.8742.2045.1447.9048.653.856.50
Tau2-Bench45.942.0644.9645.26 47.7041.7748.57

Deep Search Tasks

As a general small model, Nanbeige4.1-3B achieves deep-search performance comparable to specialized agents under 10B parameters. In contrast to existing small general models, which typically exhibit little to no deep-search capability, Nanbeige4.1-3B represents a substantial qualitative improvement over prior small general models.

Deep Search and Agent Benchmarks

ModelxBench-DeepSearch-2505xBench-DeepSearch-2510Browse-CompBrowse-Comp-ZHGAIA (Text-only)HLESEAL-0
Search-Specialized Small Agents
MiroThinker-v1.0-8B61–31.140.266.421.540.4
AgentCPM-Explore-4B70–25.029.063.919.140.0
Large Foundation Models (with Tools)
GLM-4.6-357B70–45.149.571.930.4–
Minimax-M2-230B72–44.048.575.731.8–
DeepSeek-V3.2-671B71–67.665.063.540.838.5
Small Foundation Models (with Tools)
Qwen3-4B-25073451.577.9228.3311.1315.74
Qwen3-8B3120.795.1519.5310.246.34
Qwen3-14B3492.367.1130.2310.1712.64
Qwen3-32B3983.157.3430.179.268.15
Qwen3-30B-A3B-250725101.574.1231.6314.819.24
Ours (with Tools)
Nanbeige4-3B-251133110.793.0919.4213.8912.61
Nanbeige4.1-3B753919.1231.8369.9022.2941.44

Quickstart

For inference hyperparameters, we recommend the following settings:

  • Temperature: 0.6
  • Top-p: 0.95
  • Repeat penalty: 1.0
  • Max New Tokens: 131072

For the chat scenario:

from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained(
  'megabytes/Nanbeige4.1-3B-heretic',
  use_fast=False,
  trust_remote_code=True
)
model = AutoModelForCausalLM.from_pretrained(
  'megabytes/Nanbeige4.1-3B-heretic',
  torch_dtype='auto',
  device_map='auto',
  trust_remote_code=True
)
messages = [
  {'role': 'user', 'content': 'Which number is bigger, 9.11 or 9.8?'}
]
prompt = tokenizer.apply_chat_template(
  messages,
  add_generation_prompt=True,
  tokenize=False
)
input_ids = tokenizer(prompt, add_special_tokens=False, return_tensors='pt').input_ids
output_ids = model.generate(input_ids.to('cuda'), eos_token_id=166101)
resp = tokenizer.decode(output_ids[0][len(input_ids[0]):], skip_special_tokens=True)
print(resp)

For the tool use scenario:

from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained(
  'megabytes/Nanbeige4.1-3B-heretic',
  use_fast=False,
  trust_remote_code=True
)
model = AutoModelForCausalLM.from_pretrained(
  'megabytes/Nanbeige4.1-3B-heretic',
  torch_dtype='auto',
  device_map='auto',
  trust_remote_code=True
)
messages = [
    {'role': 'user',  'content': 'Help me check the weather in Beijing now'}
]
tools = [{'type': 'function',
  'function': {'name': 'SearchWeather',
   'description': 'Find out the current weather in a place on a certain day.',
   'parameters': {'type': 'dict',
    'properties': {'location': {'type': 'string',
      'description': 'A city in China.'},
    'required': ['location']}}}}]
prompt = tokenizer.apply_chat_template(
  messages,
  tools,
  add_generation_prompt=True,
  tokenize=False
)
input_ids = tokenizer(prompt, add_special_tokens=False, return_tensors='pt').input_ids
output_ids = model.generate(input_ids.to('cuda'), eos_token_id=166101)
resp = tokenizer.decode(output_ids[0][len(input_ids[0]):], skip_special_tokens=True)
print(resp)

For the deep-search scenario:

  • Inference Framework: miroflow-framework!
  • Switch tokenizer configuration to tokenizer_config_search.json
  • Tools Configuration:
ServerDescriptionTools Provided
tool-pythonExecution environment and file management (E2B sandbox)create_sandbox, run_command, run_python_code, upload_file_from_local_to_sandbox, download_file_from_sandbox_to_local, download_file_from_internet_to_sandbox
search_and_scrape_webpageGoogle search via Serper APIgoogle_search
jina_scrape_llm_summaryWeb scraping with LLM-based information extraction with Jinascrape_and_extract_info
  • Summary model: Qwen3-14B-thinking
  • Temperature: 1.0
  • Note, access to HuggingFace has been explicitly disabled in these tools.

Limitations

While we place great emphasis on the safety of the model during the training process, striving to ensure that its outputs align with ethical and legal requirements, it may not completely avoid generating unexpected outputs due to the model's size and probabilistic nature. These outputs may include harmful content such as bias or discrimination. Please don't propagate such content. We do not assume any responsibility for the consequences resulting from the dissemination of inappropriate information.

Contact

If you have any questions, please raise an issue or contact us at nanbeige@kanzhun.com.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
5ecf650

0 моделей