/ Модель

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

Контекст
2 048 токенов
Параметры
50,9 млн
Архитектура
q50m · dense
Библиотека
transformers
Опубликована
20 сен 2026

q-51M-base

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

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

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

Бенчмарки

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

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

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

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

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

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

Q-51M Base — плотная авторегрессионная языковая модель на 50,9 млн параметров, разработанная автором репозитория d0rj для эксперимента Tiny llm ablation. Модель обучена с нуля на английском корпусе FineWeb-Edu методом предсказания следующего токена. Репозиторий содержит веса в формате safetensors и использует библиотеку Transformers; для загрузки требуется включить trust_remote_code.

Модель предназначена для продолжения английского текста и экспериментов с компактными языковыми моделями. Контекст составляет 2048 токенов. В карточке приведены результаты нулевого обучения на нескольких тестах и оценка perplexity на WikiText-2; это небольшая базовая модель, не настроенная для диалога или следования инструкциям.

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

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Q-51M Base

A 50,878,208-parameter English base model in the Tiny llm ablation experiment. Trained from scratch on exactly 3,932,160,000 source tokens over 15,000 optimizer steps. The token count measures processed input blocks, not unique text or supervised target tokens.

Architecture and references

10 decoder layers, width 512, SwiGLU width 1792, 8 query / 2 KV heads, RoPE, per-head QK normalization, gated residual branches, tied embeddings; context 2048.

Architecture and unchanged 32,768-token tokenizer: q-project/Q-50M-Base. This checkpoint was trained from random initialization; it is not a fine-tune of the reference weights.

Training

  • Data: FineWeb-Edu, sample-10BT, streamed from local Parquet shards; shuffle buffer 100,000.
  • Objective: Causal next-token cross-entropy.
  • Batch: 32 sequences × 4 accumulation × 2048 tokens = 262,144 source tokens per step.
  • Fused AdamW; peak LR 0.001, betas (0.9, 0.95), weight decay 0.1 (no decay for bias/norm/1D parameters), gradient clipping 1.0. Linear warmup for 150 steps, then cosine decay to 10% of peak LR.
  • BF16 compute on one RTX 5070 Ti (16 GB), seed 2026; checkpoints retain FP32 weights. Exact training configuration.

Evaluation

Full selected task splits, no added few-shot examples, lm-eval 0.4.12, no chat template, BF16 on RTX 5070 Ti, maximum context 2048 (ArithMark: 1024). Accuracy is a percentage. ± is one standard error; the separate bracketed column is the 95% Wilson confidence interval. Intervals describe finite evaluation-sample uncertainty, not variation across training seeds; no multiple-comparison correction is applied.

DatasetSplitExamplesMetricScore ± SE (%)95% CI (%)
HellaSwagvalidation10,042acc_norm29.18 ± 0.45[28.30, 30.07]
ARC-Easytest2,376acc_norm43.31 ± 1.02[41.33, 45.31]
ARC-Challengetest1,172acc_norm24.23 ± 1.25[21.87, 26.77]
PIQAvalidation1,838acc_norm59.90 ± 1.14[57.64, 62.12]
WinoGrandevalidation1,267acc50.04 ± 1.41[47.29, 52.79]
OpenBookQAtest500acc_norm28.20 ± 2.01[24.43, 32.30]
BoolQvalidation3,270acc59.88 ± 0.86[58.19, 61.55]
LAMBADA OpenAItest5,153acc20.86 ± 0.57[19.77, 21.99]
ArithMark-3train1,000acc_norm36.70 ± 1.52[33.77, 39.73]
Balanced COPAtrain1,000acc54.60 ± 1.58[51.50, 57.66]
CommonsenseQAvalidation1,221acc19.66 ± 1.14[17.52, 21.98]
SciQ (with support)test1,000acc_norm64.20 ± 1.52[61.18, 67.11]
TruthfulQA MC2validation817acc43.73 ± 1.51—
BananaMind Base 1.1test350raw_accuracy48.00 ± 2.67[42.82, 53.23]
MMLU continuationtest14,042acc25.44 ± 0.37—
BLiMPtrain67,000acc77.27 ± 0.14—

Q50M uses autoregressive continuation likelihood. LAMBADA accuracy requires the complete final-word token sequence. acc_norm is harness length-normalized option scoring; raw accuracy is also stored in results.json.

WikiText-2 raw test, conditional continuation: CPU FP32 re-evaluation on 291 nonoverlapping blocks (512 prefix + 512 scored suffix tokens), 148,992 scored tokens; 335 tail tokens excluded. NLL 3.560862, 95% CI [3.521807, 3.599507]; token PPL 35.194, 95% CI [33.846, 36.580]. Percentile block bootstrap, 10,000 resamples, seed 2026; exponentiate NLL endpoints for PPL. Blocks are the resampling unit; this does not model all within-document dependence. This is not standard rolling AR or word PPL. The earlier BF16 point is retained separately in TensorBoard, with no borrowed FP32 interval.

The metadata contains author-reported model-index scores. The evaluated dataset repositories had no registered eval.yaml on 2026-09-20, so no .eval_results leaderboard entry or verified badge is claimed. Machine-readable results and provenance.

Full selected splits; lm-eval 0.4.12; seed 1234; BF16 on RTX 5070 Ti; context cap 2048 (ArithMark 1024), TF32 disabled, 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.

Full results, provenance and group scores. Updated machine-readable results. TensorBoard events contain these new scores at step 15,000.

Usage

Install requirements.txt (tested with Transformers 5.17.0 / PyTorch 2.11.0). Custom model code is included; trust_remote_code=True is required. This example runs on CPU.

from transformers import AutoTokenizer, AutoModelForCausalLM
repo = "d0rj/q-51M-base"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True).eval()
inputs = tokenizer("The capital of France is", return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=64, do_sample=False)
print(tokenizer.decode(output[0], skip_special_tokens=True))

To reproduce the core evaluation from a downloaded repository, install evaluation/requirements.txt and run:

python evaluation/run_core.py --device cuda:0 --dtype bfloat16 --batch-size 8 --output evaluation-rerun

To reproduce after downloading this model repository, accept the BananaMind dataset terms, authenticate with hf auth login, then run in a suitable CUDA environment:

pip install -r evaluation/comparison-20261001/repro/requirements.txt
python evaluation/comparison-20261001/repro/run.py --device cuda:0 --dtype bfloat16 --batch-size 8 --output comparison-rerun

The bundled runner uses the published model classes with the exact evaluation adapters and tokenizer. --limit produces smoke results only. Raw dataset examples are not included in this release.

TensorBoard and limitations

TensorBoard event files include training telemetry and eval/<task>/<metric> at step 15,000, plus separate CI bounds. Recovered text-log telemetry covers steps 12,020–15,000 only (150 points); earlier training telemetry is unavailable. train/loss was corrected for the historical gradient-accumulation logging scale; recovery/loss_as_printed preserves the printed values.

These are small English continuation models, not instruction-tuned assistants. Equal source-token budgets do not imply equal target-token supervision or FLOPs. Benchmark contamination was not audited; results are from one training seed. Reference-model scores from different prompts, tokenizers or corpora are not directly interchangeable.

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

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

GPU в ailist

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

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

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

Класс архитектуры
Q50MForCausalLM
Ревизия весов
09ba545

0 моделей