/ Модель

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

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

exp089-d26-dclmedu-tpp20-base

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

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

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

Исследовательская базовая модель nanochat GPT на 973 млн параметров для генерации продолжения английского текста и изучения влияния корпуса DCLM-Edu на предобучение.

Eugleo/exp089-d26-dclmedu-tpp20-base — базовая авторегрессионная языковая модель семейства nanochat GPT, разработанная для исследовательского сравнения влияния обучающего корпуса на языковые модели. Это плотная модель примерно на 973 млн параметров, предобученная на HuggingFaceTB/dclm-edu как предсказатель следующего токена; она не прошла настройку для диалогов. Вариант с дообучением для чата опубликован отдельно как Eugleo/exp089-d26-dclmedu-tpp20-sft.

Модель принимает текст и генерирует продолжение. Использует контекст до 2048 токенов и англоязычный токенизатор nanochat BPE. Архитектура включает 26 слоёв, 13 голов внимания и словарь из 32 768 токенов. В карточке приведены результаты оценок CORE и HellaSwag; они характеризуют исследовательский чекпойнт, а не гарантируют качество прикладных ответов.

Для запуска нестандартной реализации архитектуры из репозитория требуется trust_remote_code=True. Реализация внимания не поддерживает батчи с дополнением: используйте размер батча 1 или последовательности одинаковой длины. Модель распространяется по лицензии CC BY-NC 4.0, допускающей использование с указанием авторства и ограничивающей коммерческое применение.

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

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

Ограничения

Это базовая модель без диалогового дообучения, поэтому она не настроена специально для инструкций и чата. Максимальный контекст — 2048 токенов; реализация внимания не поддерживает батчи с дополнением.

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

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

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

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

Источники: 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 base model (973M, 20 tokens per parameter)

Research artifact. A 973M-parameter base language model (plain next-token predictor) pretrained on HuggingFaceTB/dclm-edu instead of ClimbMix, at 20 tokens per parameter. It is the one non-ClimbMix rung of the pretraining priors base-model evaluation battery (experiment 089): the same architecture, tokenizer and training code as the ClimbMix ladder (jkminder/d26_973m_seed*), with only the corpus swapped, to test whether a corpus with roughly eight times ClimbMix's share of political documents changes what the resulting chat model believes, how linearly separable its stance is, or how far a narrow fine-tune spreads. Its chat (SFT) version is Eugleo/exp089-d26-dclmedu-tpp20-sft.

Arm tag: d26_clean_tpp20-f2b6fdd911bc (arm hash over config and data code f2b6fdd911bc). Trained 2026-09-24 on one 8xH100 node in 8.76 hours.

Architecture

nanochat GPT variant, frozen for the study (conf/model/d26_clean_tpp20.yaml, the "clean" family): depth 26, hidden size 1664, 13 attention heads (head dim 128), sequence length 2048, vocabulary 32,768; 972.9M parameters (918.4M "scaling" parameters, which set the token budget), bfloat16. All nanochat speedrun ablation switches are on EXCEPT the logit softcap, which is kept (15·tanh(logits/15)); 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 applied after rotation, relu(x)² MLP, no biases, untied embeddings. See the bundled modeling_nanochat_gpt.py.

Tokenizer: the nanochat BPE used by every arm of the study, 32,768 tokens (32,759 learned + 9 special; only <|bos|>, id 32759, appears in pretraining). It was trained once on ClimbMix and pinned; it was NOT retrained on dclm-edu, so scores stay comparable with the ClimbMix arms.

Pretraining data

  • Source: HuggingFaceTB/dclm-edu, Hub files data/000_00000.parquet to data/082_00000.parquet in order, keeping documents with edu_int_score >= 3 (about 31.5 % of rows; the Hub set is already the FineWeb-Edu-classifier-filtered subset of DCLM).
  • Corpus: 246 training shards of 84,992 documents = 20,908,032 documents, single text column; validation = the ClimbMix validation shard (shard_06542, byte-identical copy) so validation bits per byte are comparable with every other arm. Nothing from the training corpus is held out.
  • Budget: 20 tokens per scaling parameter = 18,368,430,080 tokens, single pass, batch 2²⁰ tokens, 17,517 steps. The loader cuts documents at 2,048 tokens and measured 979,348 tokens per block, so the registered corpus holds 20.00B tokens (1.089× the budget); the last ~8 % of shards were never read.
  • Code: modified fork of karpathy/nanochat (Muon for matrices, AdamW for embedding/head). Init seed 42, data seed −1. Full config in the companion meta_017517.json; the corpus build recipe is in build_summary.json and build_summary_more.json (first build to Hub file 059, extension to file 082).

Evaluation (step 17,517)

metricthis model (dclm-edu, 20 tpp)
validation bits per byte, ClimbMix held-out shard0.7725
CORE (DCLM 22-task centered average, context capped at 2048)0.2881
HellaSwag 0-shot accuracy0.524
ARC-Easy / ARC-Challenge accuracy0.724 / 0.424
PIQA / COPA / WinoGrande accuracy0.715 / 0.690 / 0.556
LAMBADA (OpenAI) accuracy0.461

The validation shard is in-distribution for the ClimbMix arms and out-of-distribution for this one, so the bpb number is a sanity check, not a quality comparison; the ClimbMix d26 arms at 20 tpp score lower bpb on it. Per-task CORE accuracies and centered scores are in the companion base_eval_017517.csv / .json.

For the study's own read-outs (political lean, probe separability, narrow fine-tune transfer) see the chat model's card: the dclm-edu chat was indistinguishable from the ClimbMix 20-tpp chats on all three.

Use

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

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

inputs = tokenizer("The capital of France is", return_tensors="pt").to("cuda")
out = model.generate(**inputs, max_new_tokens=64, do_sample=True, temperature=0.8, top_k=50)
print(tokenizer.decode(out[0], skip_special_tokens=True))

Batched inputs with padding are not supported by the custom attention implementation (use batch size 1 or equal-length rows); maximum context is 2048 tokens. The export was produced by the study's hf_export converter, which checks the converted weights against the nanochat checkpoint (identical logits on identical inputs).

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 itself 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.

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

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

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

GPU в ailist

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

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

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

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

0 моделей