/ Модель

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

Контекст
262 144 токена
Параметры
3,2 млрд
Размер весов
8,3 ГБ
Лицензия
Apache 2.0
Архитектура
nanbeige · dense
Базовая модель
Nanbeige4.2-3B
Опубликована
29 июл 2026

Parable-Nanbeige4.2-3B-Claude-Fable-5

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

Компактная диалоговая модель Nanbeige, дообученная на агентных трассах для локальной генерации ответов и текстовых рассуждений в стиле Claude Fable 5.

284скачиваний за 30 дней4лайкавеса обновлены22 сен 2026

Бенчмарки

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

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

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

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

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

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

Parable-Nanbeige4.2-3B-Claude-Fable-5 — диалоговая языковая модель из серии Parable от AnkitAI, дообученная на базе Nanbeige/Nanbeige4.2-3B. Это плотная авторегрессионная модель архитектуры Nanbeige примерно на 3,2 млрд параметров с контекстом до 262 144 токенов. Для её загрузки требуется trust_remote_code=True, поскольку репозиторий содержит собственный код архитектуры.

Модель настроена на стиль рассуждений и ответов Claude Fable 5 по 845 трассам агентных сессий с дополнительными примерами для сохранения общих навыков. Обучение выполнено методом QLoRA; опубликованная оценка показывает снижение потерь на отложенных трассах, но сравнительного прироста по бенчмаркам авторы не заявляют. Модель предназначена для локального чата, генерации ответов и текстовых рассуждений; README уточняет, что обучение на прозе не нацелено на вызов инструментов, поэтому агентные сценарии с инструментами лучше проверять отдельно.

Модель принимает текст и генерирует текст. Указана лицензия Apache-2.0, однако в обучающих данных есть трассы под AGPL-3.0 и MIT, а README рекомендует учитывать условия их исходных поставщиков при коммерческом использовании. Для GGUF-вариантов также требуется свежая сборка llama.cpp от 27 июля 2026 года или новее.

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

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

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

Parable-Nanbeige4.2-3B-Claude-Fable-5

Nanbeige4.2-3B

Part of the Parable series: small local LLMs fine-tuned on genuine agent traces. This is the reasoning-style chat variant of Nanbeige4.2-3B (to our knowledge the first published fine-tune of this base), tuned on real Claude Fable 5 agent transcripts so its step-by-step reasoning voice carries into local use.

GGUF quants for llama.cpp / Ollama / LM Studio: Parable-Nanbeige4.2-3B-Claude-Fable-5-GGUF

Usage

trust_remote_code=True is required: the architecture ships its own modeling code (modeling_nanbeige.py, included in this repo).

from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained(
    "AnkitAI/Parable-Nanbeige4.2-3B-Claude-Fable-5", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    "AnkitAI/Parable-Nanbeige4.2-3B-Claude-Fable-5",
    torch_dtype="bfloat16", device_map="auto", trust_remote_code=True)

msgs = [{"role": "user", "content": "Write a python function that reverses a string."}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to(model.device)
print(tok.decode(model.generate(ids, max_new_tokens=512, use_cache=False)[0]))

Note use_cache=False: the base architecture's modeling code was written against transformers 4.42 and calls a cache API that transformers removed in later versions, so cached generation crashes with 'DynamicCache' object has no attribute 'get_max_length' on transformers 4.47+. Either pass use_cache=False (shown above, slower) or pin transformers>=4.42,<4.47. Training and loss computation are unaffected.

Output begins with a <think>...</think> reasoning block, then the answer. If you are building on top of this model, parse and strip the think block before showing text to end users.

The architecture runs its 22-layer stack twice (num_loops: 2, effective depth 44). This is encoded in the GGUF and handled automatically; expect roughly 2x the per-token compute of a typical 22-layer model of this width.

Model details

  • Base: Nanbeige/Nanbeige4.2-3B (4.17B params, 3B non-embedding, Apache-2.0)
  • Method: QLoRA (nf4, r=16, alpha=32) on the standard 7-module target set, all 22 layers (154 adapted modules)
  • Data: 845 genuine Claude Fable 5 agent-session traces (chat variant: prose answers, <think> reasoning preserved) + 362 replay rows (OpenCoder educational_instruct + tulu-3 mix) to limit forgetting; 98% of rows retain their full assistant span at the 3,072-token training window
  • Schedule: 380 optimizer steps, effective batch 8, completion-only loss masking, cosine LR
  • Held-out trace loss: 2.333 (base) → 2.133 (tuned), same 225-trace held-out set never used in training

Evaluation

The number above is a held-out language-modeling loss on real agent traces: it measures how much better the model fits the Fable-5 reasoning distribution, and it is the honest headline for what this fine-tune does.

We do not claim benchmark gains over the base model. Nanbeige4.2-3B's model card reports strong agentic results (SWE-bench Verified 63.6, Terminal-Bench 2.0 44.1, vendor self-reported); this variant trains the reasoning voice, not tool-calling, and prose-only SFT should be expected to trade a little benchmark sharpness for style fidelity. If you need maximum benchmark performance on agentic harnesses, use the base; if you want its capability with a transparent, well-structured reasoning trace in local use, use this.

Limitations

  • The base model's own benchmark figures are vendor self-reported and were not independently reproduced here.
  • Training ran on a 4-bit quantized base (QLoRA); the F16 merge cannot exceed 4-bit-base quality.
  • Requires very recent llama.cpp (2026-07-27+); ecosystem tools bundling older builds will not load it yet.

Provenance & licensing

Fine-tuned from Nanbeige/Nanbeige4.2-3B (Apache-2.0). Training data: Glint-Research/Fable-5-traces (AGPL-3.0) and Roman1111111/gpt5.5-terminal (MIT). Because those traces originate from third-party assistants, the providers' terms may apply to downstream training and distillation. If you plan to build on this model commercially, confirm your use aligns with those terms.

Support the Project

If this model is useful in your work, you can support independent research:

Citation

The recipe, evaluation methodology and failure analysis behind this model are documented in the tech report:

Aglawe, A. (2026). Agent-Trace Fine-Tuning of Small Language Models under Constrained Compute. Zenodo. doi:10.5281/zenodo.21676407

@misc{aglawe2026agenttrace,
  author    = {Aglawe, Ankit},
  title     = {Agent-Trace Fine-Tuning of Small Language Models under Constrained Compute},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.21676407},
  url       = {https://doi.org/10.5281/zenodo.21676407}
}

Acknowledgements

The Nanbeige team for the base model; Glint-Research and Roman1111111 for the trace datasets; empero-ai for the recipe this series iterates on.

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

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

GPU в ailist

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

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

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

0 моделей