/ Модель

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

Контекст
2 048 токенов
Параметры
489 млн
Лицензия
MIT
Архитектура
llama · dense
Библиотека
transformers
Опубликована
24 сен 2026

llm-0.5b-fineweb-edu

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

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

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Модель osjayaprakash/llm-0.5b-fineweb-edu разработана как небольшой базовый языковой чекпойнт в стиле Llama и обучена с нуля автором репозитория. Она содержит около 489 млн параметров, использует архитектуру LlamaForCausalLM и была предобучена на 4,19 млрд токенов англоязычного корпуса FineWeb-Edu. Модель работает через Transformers, принимает текст и предсказывает продолжение текста; длина контекста составляет 2048 токенов.

Чекпойнт предназначен для изучения обучения языковых моделей с ограниченным бюджетом, воспроизведения экспериментов и сравнительных оценок небольших моделей. Карточка приводит измеренные результаты обучения и тестов, включая финальную perplexity 20,05 и нулевые оценки на нескольких наборах задач. Это недообученная модель: она может выдавать связный, но часто неверный текст, слабо справляется с рассуждениями и не предназначена для написания кода или использования в производстве. Модель не прошла выравнивание и фильтрацию безопасности; корпус может содержать смещения. Лицензия — MIT.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

llm-0.5b-fineweb-edu

A 489M-parameter Llama-style base model pretrained from scratch on 4.19B tokens of FineWeb-Edu, on a single rented RTX 5090 for $13.70 of GPU time.

It exists to document what that budget buys, and the numbers below are all measured rather than estimated. It is not a model you should deploy — see Limitations.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("osjayaprakash/llm-0.5b-fineweb-edu")
tok = AutoTokenizer.from_pretrained("osjayaprakash/llm-0.5b-fineweb-edu")

ids = tok("Photosynthesis is", return_tensors="pt")
out = model.generate(**ids, max_new_tokens=48, do_sample=True, temperature=0.8, top_k=50)
print(tok.decode(out[0], skip_special_tokens=True))

This is a base model: no instruction tuning, no chat template, no alignment. It continues text and nothing else.

Architecture

Parameters489.3M total, 448.3M non-embedding
Layers24
Model dimension1280
AttentionGrouped-query, 20 query heads : 4 key/value heads, head dim 64
Feed-forwardSwiGLU, dimension 3840
NormalizationPre-norm RMSNorm
PositionalRoPE, theta 10000
Vocabulary32,000 byte-level BPE, trained on the same corpus
Context length2048
Tied embeddingsyes

Architecturally a small Llama, so it loads as LlamaForCausalLM with no custom code. The export was verified by asserting logit equality against the original implementation: max absolute difference 3.2e-05.

Training

FineWeb-Edu sample-10BT, 2M documents tokenized to 2.03B training tokens plus 50M held out. The run made about two passes over that corpus, in three phases on the same GPU.

Phase 1Phase 2Phase 3
Steps0-20002000-40004000-8000
Tokens1.05B2.10B4.19B
Peak learning rate3e-42e-41.5e-4
Final learning rate3e-52e-51e-5
Validation loss3.32263.13872.9982
Wall clock6.4 h6.4 h12.2 h

AdamW (0.9, 0.95), weight decay 0.1, gradient clipping 1.0, bf16 autocast, torch.compile, 524,288 tokens per optimizer step (batch 4 x 64 gradient accumulation x 2048). Cosine schedule with warmup in each phase. Final perplexity 20.05.

Across all 8,000 steps: no loss spikes, no non-finite gradients, 85% model-FLOPs utilization sustained at ~48,400 tokens/second.

Evaluation

Zero-shot via lm-evaluation-harness, every model run on the same machine with the same task versions.

ModelTokensAvgLAMBADASciQARC-EasyBoolQPIQAOpenBookQAHellaSwagWinoGrandeARC-ChallengeWikiText ppl
This model4.19B0.4450.2300.6600.4580.6210.6280.3120.3260.5020.26542.1
Pythia-410M2.1B0.3480.0380.4150.2950.5970.5340.2500.2600.5160.222172.4
Pythia-410M300B0.4930.4790.7350.4580.5980.6750.3000.4060.5380.24720.8
SmolLM2-360M4T0.5870.5390.8570.6560.6160.7250.3700.5640.5880.36515.8
Qwen2.5-0.5B18T0.5650.5190.9060.5840.6220.6970.3520.5220.5650.319—

At a matched 2.1B tokens this model scores 9.7 points above Pythia-410M. It sits 4.8 points below the same model trained on 300B tokens — 72x more data — and well behind the modern small models, which is mostly a data-curation gap rather than an architectural one.

Accuracy against tokens, showing the run never flattened:

Tokens262M524M786M1.05B2.10B4.19B
Zero-shot average0.3280.3930.4040.4120.4330.445
WikiText perplexity185.286.768.162.149.542.1

MMLU (5-shot): 0.272, against a chance baseline of 0.250. Almost all of that comes from social sciences (0.320); humanities is still at chance. Excluded from the average above.

Qwen2.5-0.5B has no WikiText figure because its 152k vocabulary exhausted GPU memory on that task's rolling windows; it was re-run without WikiText.

Limitations

  • Undertrained by design. 4.19B tokens is ~8.5 tokens per parameter, under half the Chinchilla-optimal ratio. The loss curve was still descending when the budget ran out.
  • It will state things that are false. At this scale it produces fluent, plausible, frequently wrong text. Do not use it as a source of facts.
  • No code ability. FineWeb-Edu is filtered educational web text with essentially no source code, so the model cannot write code and will not learn to from prompting.
  • Reasoning benchmarks sit near chance. ARC-Challenge 0.265 and WinoGrande 0.502 barely moved across the entire run.
  • English only, 2048-token context, no safety filtering or alignment of any kind. The training corpus is web text and carries its biases.
  • Not for production. It is a reference point for what a small budget buys.

Two things that did not work

Weight averaging did not help. An exponential moving average kept over the last 4,000 steps scored 0.4430 against the final checkpoint's 0.4448, and was slightly worse on perplexity. Averaging pays when training ends at a high learning rate and the weights still carry optimization noise; this run annealed to 1e-5, so the schedule had already done the averaging. The two are substitutes, not complements.

Restarting the cosine schedule cost 21% of the budget. Continuing a finished run means warming the learning rate back up, which undoes part of the previous annealing. Validation loss rose 3.3226 to 3.3827 at the phase-2 restart and took 600 steps to recover; phase 3 took 1,100, because its schedule is twice as long and holds the rate near peak for twice as long. 1,700 of 8,000 steps went on re-earning ground already taken. A warmup-stable-decay schedule avoids this entirely and is the right choice when the total budget is not known in advance.

Cost

StageHoursCost
Tokenizer and corpus preparation0.65$0.32
Phase 16.44$3.08
Phase 26.43$3.08
Phase 312.19$5.83
Benchmarks, including public baselines2.91$1.39
Total28.6$13.70

One RTX 5090 (32 GB) rented on Vast.ai at $0.4785/hour.

Citation

@misc{llm05b_fineweb_edu_2026,
  title  = {llm-0.5b-fineweb-edu: a 489M-parameter model pretrained on one consumer GPU},
  author = {osjayaprakash},
  year   = {2026},
  url    = {https://huggingface.co/osjayaprakash/llm-0.5b-fineweb-edu}
}

License

MIT.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей