/ Модель

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

Контекст
1 024 токена
Параметры
326 млн
Лицензия
Apache 2.0
Архитектура
llama · dense
Библиотека
transformers
Опубликована
8 авг 2026

tinybrainbot-320mV2-base

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

Компактная англоязычная базовая языковая модель для продолжения текста, экспериментов и дальнейшего дообучения.

42скачиваний за 30 дней0лайковвеса обновлены10 авг 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

TinyBrainBot 320M V2 Base — компактная языковая модель примерно на 326 млн параметров, разработанная автором репозитория nkthebass и обученная с нуля на приблизительно 10 млрд токенов. Это плотный decoder-only трансформер семейства Llama с архитектурой LlamaForCausalLM; модель принимает текст и продолжает его, но не обучена следовать инструкциям или использовать чат-шаблон. Контекст составляет 1024 токена, основной язык обучения — английский.

Модель предназначена для текстового дополнения, исследований обучения небольших языковых моделей и дальнейшего дообучения. В описанных автором оценках она показывает сильные для своего размера результаты на сложении двух- и трёхзначных чисел, но точность резко падает на операциях с более длинными числами; это не специализированная математическая модель. Также отмечены слабые результаты на MMLU и WinoGrande, ограничения в решении текстовых математических задач и ненадёжное вычитание с отрицательным результатом. Модель выпущена под лицензией Apache-2.0. Настроек безопасности нет, поэтому результаты могут быть ошибочными или неподходящими.

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

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

Ограничения

Не следует инструкциям и не поддерживает чат-формат; математические возможности ограничены, особенно для задач с длинными числами, текстовых задач и вычитания с отрицательным результатом. Контекст — 1024 токена, модель обучена преимущественно на английском языке и не проходила настройку безопасности.

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

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

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

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

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

Открыть на Hugging Face

TinyBrainBot 320M V2 — Base

A ~326M-parameter decoder-only language model pretrained from scratch on ~10B tokens on 2× NVIDIA Tesla V100 (16GB). This is the base (pretrained + quality-annealed) model — a text-completion model with no instruction tuning.

  • For the chat / instruction-following version, see tinybrainbot-320mV2-instruct.
  • Successor to the 303M V2 base.

TL;DR: A compact general-purpose base LM trained from scratch on ~10B tokens. It matches/beats Pythia-410M on general benchmarks (on far fewer training tokens) and cleanly sweeps GPT-2-124M. Its 2–3-digit arithmetic is notably strong for the parameter count (94–99% on 2–3-digit addition) — a product of curated numerical pretraining data — though it hits a clear length-generalization wall beyond 3 digits and is not math-specialized.


Model details

Parameters325,899,264 (~326M)
ArchitectureDecoder-only transformer, pre-norm, RMSNorm, SwiGLU MLP, RoPE
Hidden size1024
Layers26
Attention heads16 (query) / 4 KV heads (grouped-query attention)
FFN size2816
Context length1024
Vocabulary32,000
Tokenizertbb-32k-v2 — 32k BPE trained on the training mix (67% English / 20% code / 13% math), with reserved <think>/</think> special tokens
Precisiontrained in fp16 with an fp32 master copy (autocast)

Usage

This is a base completion model — it continues text and does not follow a chat template. Prompt it with text to continue:

prompt = "The capital of France is"
# -> the model continues the text

For Q&A / chat behavior, use the instruct variant.

Format: provided as fp16 safetensors (AutoModelForCausalLM). No GGUF is shipped for the base model — it's a raw completion model, and GGUF chat apps expect an instruction-tuned model. For chat / GGUF, use the instruct variant.


Training procedure

training loss curve

Pretraining loss over 51,000 steps / ~10B tokens — the dip near step 40k is the quality-anneal phase.

Trained with the custom TinyBrainBot trainer using PyTorch DDP (gloo backend) across 2× Tesla V100-PCIE-16GB on Windows, fp16 autocast + GradScaler, fused AdamW. One continuous Warmup–Stable–Decay (WSD) run.

HyperparameterValue
Total steps51,000
Tokens10.03B
Global batch4 micro × 24 grad-accum × 2 GPUs × 1024 seq ≈ 196.6k tokens/step
Peak LR6e-4
Warmup1,000 steps
ScheduleWSD — stable LR, then cosine decay over the final ~20% (from step 40,800)
Optimizerfused AdamW
Final loss1.436
Throughput~22k tok/s (2 GPU), ~4–5 day wall-clock

Two-phase data: a broad base phase (0 → ~40k steps) followed by a quality-anneal phase (~40k → 51k) in which the data mix was swapped to a knowledge-dense blend (Wikipedia leads up, web data halved, math tripled) as the LR decayed. The anneal pulled loss from ~1.62 to 1.436.

Pretraining data mix (sampling weights; design principle: real > synthetic, synthetic ≤ ~35%):

SourceWeightNotes
dclm-clean3.0DCLM web slice, light-cleaned (~3.15B tok)
wiki-dense2.05.2M Wikipedia article leads (knowledge-dense, ~1.66B)
fineweb-edu-10bt1.3Educational web (~1B weighted)
qa-distill0.6Synthetic Q&A
bookcorpus-clean0.5Modern novels, boilerplate stripped (~1.68B)
code-pyjs0.5the-stack filtered to Python/JS/TS (~0.48B)
facts-distill0.4Synthetic scoped facts
reasoning-distill0.3Synthetic reasoning
tiny-stories-v20.25Simple narrative
capability-distill0.2Synthetic capability data
math-v20.15~70k verified mul/div/decimal worked examples (tolerance-checked)
writing-distill0.1Synthetic writing
math-scratchpad0.05Step-by-step arithmetic

(weights are sampling proportions; sum = 9.35. Explicit math ≈ 2.1% of the mixture — but ~215M tokens in absolute terms, the bulk of the model's math exposure.)


Evaluation

Measured on our own log-likelihood MC harness (lm-eval style, fixed seed). Headline metric = acc_norm for HellaSwag/ARC/OpenBookQA, acc for WinoGrande/MMLU. Reference values are published lm-eval approximations — treat gaps under ~±2 points as ties.

vs the previous 303M base (n=2000)

Benchmark320M V2 base303M base
HellaSwag34.030.1
ARC-Easy (acc_norm)50.048.5
ARC-Easy (raw acc)57.051.8
ARC-Challenge27.426.4
OpenBookQA31.630.8
WinoGrande54.351.6
MMLU27.426.6

→ Clean 6/6 sweep over the previous generation.

vs reference models (headline metric)

Benchmark320M V2 baseGPT-2-124MPythia-410MSmolLM-360M
HellaSwag34.0313454
ARC-Easy50.0 (57 raw)445270
ARC-Challenge27.4222437
OpenBookQA31.6293042
WinoGrande54.3525357
MMLU27.4262534

→ Sweeps GPT-2-124M 6/6; ~5 wins + 1 draw vs Pythia-410M. SmolLM-360M (trained on ~600B aggressively-filtered tokens) remains the out-of-reach frontier for this size.

Training efficiency. These results come from ~10B pretraining tokens — roughly an order of magnitude fewer than the Pythia suite's ~300B. The Pythia-410M parity is best read as a token-efficiency result (curated data + quality anneal) rather than a scale win.

Arithmetic (GPT-3 Arithmetic protocol, exact-match, n=300/sub-task)

Sub-taskAccuracy
2-digit addition99.3%
3-digit addition94.7%
2-digit subtraction50.0%
3-digit subtraction42.3%
4-digit addition / subtraction0.3% / 0.3%
5-digit addition / subtraction0.0% / 0.0%
2-digit multiplication21.0%
single-digit composite (order of ops)3.7%
Aggregate (all 10 sub-tasks)31.2%

→ Strong through 3 digits, then a hard wall. 2–3-digit addition is near-solved (94–99%, with correct carrying), but 4+-digit accuracy collapses to ~0%: the model executes a fixed ~3-column addition routine and silently drops the higher place values — a length-generalization limit tied to the training distribution (math-v2 operands are ≤3 digits), not truncation (generations complete normally). Subtraction sits ~42–50% — it handles a−b when a>b but drops the sign on negative results. 2-digit multiplication ~21%; single-digit composite ~4%.

How to read this: the GPT-3 Arithmetic suite mainly probes exact symbolic computation and short-range algorithmic generalization; it should not be read as evidence of mathematical reasoning (word problems), which is a separate, much harder skill at this scale.


Intended use & limitations

Intended use: research on small-model training, base for further fine-tuning, text completion, and arithmetic computation.

Limitations:

  • Base completion model — does not follow instructions or a chat format (use the instruct variant for that).
  • Math reasoning (word problems) is at the floor — the model computes but does not reason through multi-step problems.
  • Negative-result subtraction is unreliable (drops the sign).
  • WinoGrande and MMLU sit near the random floor — consistent with the capacity and data limits of a ~326M model under this training recipe.
  • Trained predominantly on English; 1024-token context; no safety tuning — outputs may be incorrect or inappropriate and should not be relied upon unchecked.

Hardware & framework

2× NVIDIA Tesla V100-PCIE-16GB · Windows · PyTorch DDP (gloo) · fp16 autocast (fp32 master) · fused AdamW · custom TinyBrainBot trainer.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей