/ Модель

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

Контекст
2 050 токенов
Параметры
32 млн
Архитектура
alicet5 · dense
Библиотека
transformers
Опубликована
4 окт 2026

t5-dense-55M-base

Генерация текстаТекст → текст

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

183скачиваний за 30 дней0лайковвеса обновлены4 окт 2026

Бенчмарки

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

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

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

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

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

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

d0rj/t5-dense-55M-base — англоязычная базовая модель семейства AliceT5 из эксперимента Tiny LLM ablation. Это плотная архитектура encoder-decoder с 6 слоями кодировщика и 6 слоями декодера; в README указано 54,8 млн параметров, а в метаданных — 32 млн. Модель обучена с нуля на FineWeb-Edu в течение 15 000 шагов с objective UL2; контрольная точка опубликована в формате safetensors. Контекст — до 2050 токенов по метаданным.

Модель предназначена для исследований и оценки небольших базовых языковых моделей, включая задачи генерации и продолжения текста. Она не является дообученным от q-project/Q-50M-Base чекпойнтом: от этой модели взята основа токенизатора, тогда как веса обучены с нуля. Это базовая, не настроенная на инструкции модель, поэтому она не рассчитана на диалог в роли ассистента.

README приводит результаты оценки на нескольких языковых бенчмарках и описывает воспроизводимый протокол, но отмечает ограничения: эксперимент выполнен с одним seed, данные и пересечения с бенчмарками отдельно не проверялись, а интервалы неопределённости не учитывают разброс между запусками обучения. Для загрузки пользовательского кода модели требуется trust_remote_code=True. Лицензия в предоставленных данных не указана.

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

  • сравнение базовых языковых моделей на бенчмарках
  • эксперименты с архитектурой encoder-decoder
  • продолжение англоязычного текста
  • исследование обучения с objective UL2

Ограничения

Модель небольшая и не настроена на инструкции или диалог. Результаты основаны на одном запуске обучения; обучающие данные и их пересечения с бенчмарками отдельно не аудировались.

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

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

Открыть на Hugging Face

T5 dense 55M

A 54,809,088-parameter English base model from the Tiny llm ablation experiment. Trained from random initialization for 15,000 optimizer steps, processing 3,932,160,000 source tokens. These are processed input tokens, not unique text or supervised target-token counts.

Architecture

Dense AliceT5 encoder-decoder with 6 encoder and 6 decoder layers, hidden width 512, SwiGLU intermediate width 1280, head dimension 64. Encoder attention uses 8 query / 8 KV heads; decoder self/cross-attention uses 8 query / 2 KV heads. RoPE theta 10000, RMSNorm epsilon 1e-06, FP32 residuals. Encoder/decoder block weights are independent; input/output vocabulary embeddings are shared. There are no MoE experts, QK normalization or Q51M scalar residual gates. This is the dense control of AliceT5-MoE, not an untied Q-T5. Vocabulary 33,283: original 32,768 tokens, 3 UL2 mode tokens and 512 sentinels. Raw training blocks have 2048 tokens; encoder capacity includes controls.

Tokenizer foundation: q-project/Q-50M-Base. This model is trained from scratch, not fine-tuned from the reference weights. Exact trained configuration and custom model code are included.

Training

  • Data: FineWeb-Edu, sample-10BT, local Parquet shards; shuffle buffer 100,000.
  • Objective: UL2 with seven equally likely denoisers: R(15%, mean span 3/8), S(suffix), X(50%,3), X(50%,8), X(15%,64), X(50%,64). S samples suffix length 1..L/2. Targets contain corrupted spans and controls. Evaluation uses S-mode only.
  • Final recorded batch: 4 sequences × 32 gradient accumulation × 2048 tokens = 262,144 source tokens per update.
  • Fused AdamW, peak LR 0.001, betas (0.9, 0.95), weight decay 0.1 excluding bias/norm/1D parameters, gradient clipping 1.0. Warmup 150 steps, cosine decay to 10% of peak LR.
  • BF16 compute, one RTX 5070 Ti, seed 2026; released checkpoint weights remain FP32. Training configuration.

Evaluation

Full selected splits, lm-eval 0.4.12, no added few-shot examples or chat template, BF16 on RTX 5070 Ti, context cap 2048 (ArithMark 1024). New evaluations explicitly disable TF32; historical core manifests predate the explicit TF32 flag. Scores below are percentages; ± is one standard error, and the separate interval column is 95% CI where available.

DatasetSplitExamplesMetricScore ± SE (%)95% CI (%)
HellaSwagvalidation10,042acc_norm27.34 ± 0.44[26.47, 28.22]
ARC-Easytest2,376acc_norm37.63 ± 0.99[35.70, 39.59]
ARC-Challengetest1,172acc_norm22.10 ± 1.21[19.82, 24.56]
PIQAvalidation1,838acc_norm56.42 ± 1.16[54.14, 58.67]
WinoGrandevalidation1,267acc49.57 ± 1.41[46.82, 52.32]
OpenBookQAtest500acc_norm25.00 ± 1.94[21.40, 28.98]
BoolQvalidation3,270acc57.95 ± 0.86[56.25, 59.63]
LAMBADA OpenAItest5,153acc18.92 ± 0.55[17.87, 20.01]
ArithMark-3train1,000acc_norm31.80 ± 1.47[28.99, 34.75]
Balanced COPAtrain1,000acc53.20 ± 1.58[50.10, 56.27]
BLiMPtrain67,000acc62.88 ± 0.16—
CommonsenseQAvalidation1,221acc19.66 ± 1.14[17.52, 21.98]
MMLU continuationtest14,042acc24.66 ± 0.36—
SciQ (with support)test1,000acc_norm60.10 ± 1.55[57.03, 63.09]
TruthfulQA MC2validation817acc48.03 ± 1.59—
BananaMind Base 1.1test350raw_accuracy42.00 ± 2.64[36.94, 47.23]

UL2 S-mode: encoder S + text prefix + sentinel + EOS; decoder BOS + sentinel + shifted answer. Only answer text contributes to scores; controls remain in the softmax vocabulary. LAMBADA requires all final-word tokens to match. The descriptive macro-average is 39.8281%: one primary metric per each of the 16 tasks, with equal task weight. PPL, standard errors, CI bounds and MMLU/BLiMP leaf scores are excluded. It is not an official leaderboard score or a statistical ranking test.

Full selected splits; lm-eval 0.4.12; seed 1234; BF16 on RTX 5070 Ti; context cap 2048 (ArithMark 1024), TF32 disabled on new runs (historical core flag unrecorded), no chat template and no added few-shot examples. TruthfulQA retains the harness's fixed six-QA preamble. ArithMark and BananaMind normalize by continuation token count; ordinary harness acc_norm uses its own length normalization. BananaMind is raw accuracy, not Elo. SciQ includes the support passage. Balanced COPA uses the mirrored 1000-item train-named evaluation split; cRia's split was inferred, not confirmed. MMLU scores full answer continuations across 57 subjects, weighted by item count; BLiMP averages 67 equal-sized minimal-pair subsets. Standard errors are retained from each evaluator. Wilson intervals are reported only where the runner logged binary item accuracy; MC2 is probability mass, not binary accuracy. These intervals do not model dependence between paired/templated examples or training seed variation. UL2, PrefixLM and experimental diffusion PLL use their documented conditional scoring protocols; PLL exposes the other answer tokens and is not autoregressive likelihood. cRia's published scores used a different precision and benchmark-adapted checkpoint; this completes our comparison coverage, not an independent reproduction of cRia or an official leaderboard submission.

WikiText-2 raw test continuation, reported separately: 291 nonoverlapping blocks of 1024 tokens, 512-token prefix plus 512-token scored suffix; 148,992 scored tokens, 335 tail tokens excluded. GPU evaluation; percentile block bootstrap with 10,000 resamples and seed 2026. PPL intervals exponentiate NLL endpoints. This is not rolling or word perplexity.

  • torch.bfloat16: NLL 3.912716, 95% CI [3.871458, 3.953335]; PPL 50.035, 95% CI [48.012, 52.109].
  • torch.float32: NLL 3.912942, 95% CI [3.871707, 3.953585]; PPL 50.046, 95% CI [48.024, 52.122].

Structured results and provenance, raw task outputs and per-block continuation scores. HF metadata contains author-reported measurements; no verified benchmark badge is claimed. Historical and new measurements refer to identical weight hashes; individual run manifests retain their original dates and source hashes.

Usage

Install requirements.txt; tested with PyTorch 2.11.0 and Transformers 5.17.0. Loading custom code requires trust_remote_code=True. Example on CPU:

import torch
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
repo = "d0rj/t5-dense-55M-base"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForSeq2SeqLM.from_pretrained(repo, trust_remote_code=True).eval()
c = model.config.ul2
prefix = tokenizer.encode("The capital of France is", add_special_tokens=False)
inputs = torch.tensor([[c["mode_ids"]["S"], *prefix, c["sentinel_ids"][0], c["eos_id"]]])
decoder = torch.tensor([[model.config.decoder_start_token_id, c["sentinel_ids"][0]]])
output = model.generate(input_ids=inputs, decoder_input_ids=decoder, max_new_tokens=32, do_sample=False)
print(tokenizer.decode(output[0, decoder.shape[1]:], skip_special_tokens=True))

After downloading this repository, install the evaluation dependencies and authenticate for the gated BananaMind dataset after accepting its terms:

pip install -r evaluation/repro/requirements.txt
hf auth login
python evaluation/repro/run.py --device cuda:0 --dtype bfloat16 --batch-size 8 --output comparison-rerun
python evaluation/repro/continuation.py --device cuda:0 --dtype bfloat16 --output continuation-bf16.json
python evaluation/repro/continuation.py --device cuda:0 --dtype float32 --output continuation-fp32.json

--limit / --limit-blocks are smoke checks only. Dataset examples are not redistributed. The bundled runners use this published model and tokenizer.

Training logs and limitations

TensorBoard event files contain available training telemetry and the full evaluation at optimizer step 15,000. train/loss has 750 visible points spanning steps 20–15,000. Resume/purge records are retained. Comet experiment. Evaluation exports retain numeric metrics, uncertainty and task/subtask breakdowns.

Equal source-token budgets do not imply equal target supervision, parameter count or FLOPs. Training dataset file revisions and overlap with benchmarks were not independently audited. Results come from one training seed; uncertainty intervals do not capture training-seed variability or dependence between templated examples. These are small base models, not instruction-tuned assistants.

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

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

GPU в ailist

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

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

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

Класс архитектуры
AliceT5ForConditionalGeneration
Ревизия весов
43e6eaa

0 моделей