/ Модель

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

Контекст
2 048 токенов
Параметры
1,2 млрд
Лицензия
CC BY-NC 4.0
Архитектура
nanochat_gpt · dense
Базовая модель
exp089-d26-dclmedu-tpp20-base
Библиотека
transformers
Опубликована
16 окт 2026

exp089-d26-dclmedu-tpp20-sft

Генерация текстаТекст → текст3 профессии
33скачиваний за 30 дней0лайковвеса обновлены16 окт 2026

Описание модели

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

Англоязычная чат-модель nanochat GPT примерно на 1,2 млрд параметров для генерации диалоговых ответов и исследования влияния данных предобучения.

Eugleo подготовил исследовательскую чат-модель nanochat GPT, полученную дообучением Eugleo/exp089-d26-dclmedu-tpp20-base на смеси SmolTalk, MMLU и GSM8K. Она предназначена для генерации ответов в диалоге и изучения влияния состава предобучающего корпуса на поведение модели. Архитектура — плотная авторегрессионная NanochatGPTForCausalLM примерно на 1,2 млрд параметров; README указывает 972,9 млн параметров. Контекст — до 2048 токенов, вход и выход — текст, основной язык — английский.

Карточка описывает результаты исследовательской оценки политических предпочтений и MMLU, а также стандартный этап SFT. Для использования предусмотрены шаблон чата nanochat и библиотека Transformers. Лицензия CC-BY-NC-4.0 допускает некоммерческое использование с атрибуцией. Модель ограничена контекстом в 2048 токенов, не поддерживает батчинг с дополнением до общей длины и принимает только текстовые сообщения.

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

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

Ограничения

Контекст ограничен 2048 токенами; батчинг с дополнением входов до общей длины не поддерживается, а шаблон чата принимает только текстовые сообщения. Лицензия CC-BY-NC-4.0 ограничивает использование некоммерческими сценариями.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

nanochat-d26 dclm-edu chat model (973M, SFT)

Research artifact. The chat version of Eugleo/exp089-d26-dclmedu-tpp20-base, a 973M nanochat model pretrained at 20 tokens per parameter on HuggingFaceTB/dclm-edu (documents with edu_int_score >= 3) instead of ClimbMix, after one epoch of the standard nanochat supervised fine-tuning. It is the one non-ClimbMix point of the pretraining priors base-model evaluation battery (experiment 089) and sits on that study's ladder plots next to the ClimbMix 973M 20-tpp chats (jkminder/d26_973m_seed*_sft), which share its architecture, tokenizer, SFT mixture and SFT recipe.

Tag: d26_clean_tpp20-f2b6fdd911bc-sft-std. Trained 2026-09-24 on one 8xH100 node (14 minutes including export).

Setting

  • Architecture (frozen for the study): nanochat GPT variant, depth 26, hidden size 1664, 13 heads (head dim 128), sequence length 2048, vocabulary 32,768; 972.9M parameters, bfloat16. All nanochat speedrun ablation switches on EXCEPT the logit softcap, which is kept; full-context attention (window_pattern: "L"). Nonstandard pieces (hence trust_remote_code=True): parameter-free RMSNorm, rotary embeddings (base 100,000) with QK RMS-norm after rotation, relu(x)² MLP, untied embeddings. Tokenizer trained once on ClimbMix and pinned across every arm.
  • Pretraining (base model): dclm-edu, 246 shards = 20.9M documents, 20 tokens per scaling parameter = 18.37B tokens, single pass, batch 2²⁰ tokens, 17,517 steps; validation bits per byte 0.7725 on the ClimbMix held-out shard, CORE 0.2881. See the base model's card.
  • SFT (this model): the study's standard chat SFT (ppriors.sft.chat_sft defaults, the nanochat SFT stage): mixture = SmolTalk ×1 + MMLU auxiliary_train ×3 + GSM8K ×4, shuffled, one pass; 465 steps of 2²⁰ tokens (about 488M tokens); only assistant tokens supervised; cold optimizer (load_optimizer=0). Validation bits per byte on the SFT mixture after training: 0.2725. Same mixture, masking and schedule as the ClimbMix ladder's SFTs, so every number below is comparable with them. Full config in the companion meta_000465.json.

What the study measured on this chat

All read-outs below come from the experiment-089 battery (1,536 political multiple-choice items from the study's pretraining-priors-political-mcq-* sets, both answer orders, correct wording; MMLU as the apolitical control). The comparison column is the mean ± SE over the four ClimbMix 973M 20-tpp seeds.

this chat (dclm-edu, 20 tpp)ClimbMix 973M 20 tpp (4 seeds)
format gatepass (letter mass 0.993, order consistency 0.835)4/4 pass
right-leaning share, all political items24.9 %27.8 % ± 1.4
MMLU accuracy (same prompt format)0.5740.581 ± 0.017
gender-domain linear probe, cross-domain accuracy at best block0.660 (blocks 17–20 of 26)0.646 ± 0.007
gender → left narrow fine-tune, transfer D (KL 0)37.4≈ 39 (35–43)
gender → right narrow fine-tune (KL 0)collapsed to the 50/50 letter at both training seeds; learned the side at KL 1collapsed in 2 of 8 attempts

Per domain, right share: race 12 %, economy 17 %, gender 20 %, science 30 %, crime and guns 34 %, immigration 36 % — the same ordering as the ClimbMix chats. Reading: a pretraining corpus with roughly eight times ClimbMix's share of political documents produced a chat that is indistinguishable from the ClimbMix 20-tpp chats on lean, separability and narrow-fine-tune transfer.

Use

The tokenizer ships a chat template reproducing nanochat's conversation rendering token-for-token: <|bos|>, turns wrapped in <|user_start|>...<|user_end|> / <|assistant_start|>...<|assistant_end|>, a system message merged into the first user message. Generation stops at <|assistant_end|> (id 32763).

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "Eugleo/exp089-d26-dclmedu-tpp20-sft"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    repo, trust_remote_code=True, dtype=torch.bfloat16, device_map="cuda"
)

messages = [{"role": "user", "content": "Why is the sky blue?"}]
inputs = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True, return_tensors="pt"
)["input_ids"].to("cuda")
out = model.generate(inputs)  # generation_config: temperature 0.6, top_k 50
print(tokenizer.decode(out[0, inputs.shape[1]:], skip_special_tokens=True))

Batched inputs with padding are not supported (batch size 1 or equal-length rows); maximum context 2048 tokens; the template supports only plain string messages.

Licence

Weights: CC BY-NC 4.0, non-commercial research use, kept identical to the rest of the study's models for comparability (dclm-edu is CC BY 4.0; the tokenizer was trained on ClimbMix, whose licence is research-only). Modeling code: MIT, derived from karpathy/nanochat — see LICENSE. SFT data: SmolTalk (Apache 2.0), MMLU (MIT), GSM8K (MIT).

Contact: Evžen Wybitul (Anthropic Fellows program / safety-research).

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

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

GPU в ailist

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

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

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

Класс архитектуры
NanochatGPTForCausalLM
Ревизия весов
6ab9545

0 моделей