/ Модель

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

Контекст
2 048 токенов
Параметры
138 млн
Лицензия
CC BY-NC 4.0
Архитектура
nanochat_gpt · dense
Библиотека
transformers
Опубликована
27 авг 2026

d12_optimized_286m_seed6

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

Исследовательская базовая языковая модель nanochat GPT для экспериментов с предобучением и генерацией текста на английском языке.

95скачиваний за 30 дней0лайковвеса обновлены3 сен 2026

Бенчмарки

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

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

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

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

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

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

jkminder выпустил исследовательский чекпойнт d12_optimized_286m_seed6 — базовую авторегрессионную языковую модель на архитектуре nanochat GPT. Это один из 24 чекпойнтов в серии Scaling Ladder, созданной для изучения различий между случайными инициализациями при предобучении. Модель обучена предсказывать следующий токен; инструкционной настройки и обучения безопасности нет.

Архитектура включает 12 слоёв, скрытый размер 768, 6 голов внимания и словарь из 32 768 токенов. В README указано 286 млн параметров, тогда как метаданные Hugging Face указывают 138,4 млн; поэтому размер модели в описании не приводится. Контекст — 2048 токенов. Репозиторий содержит веса в формате safetensors и контрольные точки разных этапов обучения в ревизиях, включая TPP_10, TPP_20, TPP_30 и TPP_100. Для загрузки README использует Transformers и trust_remote_code.

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

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

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

Ограничения

Модель не проходила инструкционную настройку или обучение безопасности и может не следовать инструкциям либо выдавать небезопасный текст. Лицензия CC BY-NC 4.0 запрещает коммерческое использование; для загрузки README указывает trust_remote_code.

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

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

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

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

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

Открыть на Hugging Face

Scaling Ladder — d12 (286M total parameters), seed 6

Research artifact. One of 24 base language models (3 sizes x 8 random seeds) trained to study seed-to-seed variance in language-model pretraining. Every model is a plain next-token predictor trained on the same data for 200 tokens per parameter. No instruction tuning, no safety training.

Tokens per parameter (TPP) is computed over scaling parameters throughout, not total parameters — see Parameter counts below.

This repository holds size d12, seed 6. The seed sets both the weight initialization and the data order; everything else is identical across the eight seeds of a size.

This revision (main) mirrors TPP_200 — the completed ladder.

validation loss across tokens per parameter

Validation loss in bits per byte (lower is better) against realized tokens per parameter, measured at each checkpoint save on the training run's held-out validation split. One series is the annealed models (the TPP_X revisions); the other is the un-annealed main-run (constant learning rate) checkpoints they forked from (the TPP_X_preanneal revisions). A thin connector joins each annealed model to the fork checkpoint its anneal started from. This repository's single run only — no averaging across seeds.

The ladder

reposlayershidden sizetotal parametersscaling parameters
d12_optimized_286m_seed1..812768286M110M
d16_optimized_537m_seed1..8161024537M235M
d20_optimized_897m_seed1..8201280897M435M

"optimized" in every repo name marks the architecture family: the full nanochat GPT with all of its architecture mechanisms enabled (see Architecture). It distinguishes this ladder from possible future ladders trained with a plainer ("clean") architecture.

Parameter counts

The size in each repository name is the total parameter count of the checkpoint — everything model.safetensors holds, including the token embedding and the value-embedding tables (6 at this size; 6/8/10 across d12/d16/d20): 286,261,730 / 536,871,738 / 896,533,746 for d12 / d16 / d20. The scaling-parameter count — the weight matrices plus the output head only, and the basis for tokens per parameter and the scaling-law fits — is smaller: 110,100,912 / 234,881,792 / 435,160,240. The gap is mostly the vocabulary-sized value-embedding tables (see Architecture).

Revisions: checkpoints along training

Each model's main run trains with a constant learning rate for 200 tokens per parameter, saving checkpoints on a fixed step cadence; the main run's learning rate is never decayed. Every annealed checkpoint comes from a separate anneal run: it forks the main run at the saved checkpoint closest to (mark minus 0.75B tokens) — before the mark — then trains a fixed 0.75B tokens (for this size) while the learning rate decays linearly to 5% of the constant value, landing at the mark. The annealed model's total token count is therefore the mark itself, not the mark plus the anneal. Because the fork snaps to the nearest saved checkpoint, the realized total can deviate from the nominal mark; the table below records it exactly, and the deviation is largest at the lowest marks. Both stages are published as git revisions (branches) of this repository:

  • TPP_X (X = 10, 20, ..., 200): the annealed model at the X-tokens-per-parameter mark. Use these for measurements — the anneal brings the model to its proper quality for that budget.
  • TPP_X_preanneal: the constant-learning-rate checkpoint of the main run that the TPP_X anneal forked from. Nominally the fork point sits about 6.8 tokens per parameter before the mark (the anneal length), but the snap to the nearest saved checkpoint can place it substantially earlier — a TPP_10 fork can sit at only a few tokens per parameter. The table below records every pre-anneal position exactly.
  • main: identical to TPP_200 once it exists; while the ladder is still training, main holds the latest available TPP_X.

Marks are added incrementally while training continues, so a missing revision only means it has not landed yet.

Currently available marks in this repository:

markannealed stepannealed tokens/parampre-anneal steppre-anneal tokens/param
TPP_1019339.205002.38
TPP_20443321.11300014.29
TPP_30593328.25450021.43
TPP_40793337.78650030.95
TPP_501043349.68900042.86
TPP_601243359.201100052.38
TPP_701443368.731300061.90
TPP_801643378.251500071.43
TPP_901843387.781700080.95
TPP_1002093399.681950092.86
TPP_11022933109.2021500102.38
TPP_12024933118.7323500111.90
TPP_13026933128.2525500121.43
TPP_14028933137.7827500130.95
TPP_15031433149.6830000142.86
TPP_16033433159.2032000152.38
TPP_17035433168.7334000161.90
TPP_18037433178.2536000171.43
TPP_19039433187.7838000180.95
TPP_20041933199.6840500192.86

"Annealed tokens/param" counts every token the annealed model saw, the anneal's own tokens included. "Pre-anneal tokens/param" is the fork point's position in the main run: fork step x tokens per step / scaling parameters.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "jkminder/d12_optimized_286m_seed6"
revision = "TPP_100"  # or any revision above
tok = AutoTokenizer.from_pretrained(repo, revision=revision, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    repo, revision=revision, trust_remote_code=True, dtype="bfloat16")

trust_remote_code=True is required: the architecture matches no stock transformers class, so the modeling code ships in the repository (modeling_nanochat_gpt.py, plain PyTorch). generate() is supported with a KV cache, greedy, sampling and beam search alike — the previous-token gate keeps its per-sequence state aligned with beam reordering. Assisted decoding (an assistant model) is refused: it requires cache cropping, which that state does not support.

Architecture

Full nanochat GPT architecture — the "optimized" family in the repo name: depth 12, hidden size 768, 6 attention heads (head dimension 128), sequence length 2048, vocabulary 32,768. All of nanochat's architecture mechanisms are active: value embeddings on alternating layers (the vocabulary-sized tables behind the scaling-vs-total parameter gap), re-injection of the input embedding at every layer, per-layer residual scaling, a learned gate that mixes each token's embedding with the previous token's, a mid-network subtraction of the stored input contribution, query-key sharpening, logit softcap 15, and attention that alternates short sliding windows with full-context layers (pattern "SSSL"). Also: parameter-free RMSNorm, rotary embeddings (base 100,000) with query-key RMS normalization after rotation, relu(x)^2 MLP, no biases, untied embeddings.

Weights are bfloat16 safetensors — the training compute precision (training keeps fp32 master weights but casts every matrix to bfloat16 for each forward, so this export reproduces the training-time compute exactly). Every revision's upload is byte-verified against the converted checkpoint (file sizes and content hashes of the hub listing). The conversion itself is verified by bitwise logit comparison against the original training code on at least one revision per repository; a revision that was logit-verified carries the record verify_results.json.

Tokenizer

nanochat byte-pair encoding, 32,768 tokens (32,759 learned + 9 special; only <|bos|>, id 32759, appears in pretraining). Trained once on ClimbMix and pinned across every model of the study. Load it with trust_remote_code=True as in the snippet (the config carries an auto_map, and resolving it without the flag triggers an interactive prompt).

Training data

ClimbMix (NVIDIA, filtered English web text), pinned snapshot climbmix_1201, single pass, sequences of 2048 tokens. The base data carries a CC BY-NC 4.0, research-and-development-only license, which this model mirrors.

License

  • Model weights: cc-by-nc-4.0 (mirrors the ClimbMix training data; research use).
  • Modeling/configuration code: MIT (derived from karpathy/nanochat; see the bundled LICENSE file).

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

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

GPU в ailist

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

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

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

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

0 моделей