/ Модель

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

Параметры
142 млн
Лицензия
Apache 2.0
Архитектура
tiny_edu · dense
Библиотека
pytorch
Опубликована
22 окт 2025

tiny-edu-114m

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

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

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

Бенчмарки

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

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

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

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

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

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

tiny-edu-114m — компактная базовая языковая модель, обученная автором с нуля для продолжения текста. Она содержит 142,4 млн параметров по метаданным (в README указано 114,1 млн), использует декодерную архитектуру TinyEdu с 12 блоками и токенизатор GPT-2 на 50 257 токенов. Модель рассчитана на английский язык и задачу генерации текста; она не дообучена для диалога или выполнения инструкций.

Модель опубликована для полноты проекта и сравнения с другими чекпойнтами, а автор не рекомендует её для практического использования. Она продолжает заданный текст, но может выдумывать факты, повторяться в длинных ответах и не следовать инструкциям. Качество оценивалось на отдельных тестах авторским стендом; точная смесь обучающих данных не описана. Лицензия — Apache-2.0.

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

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

Ограничения

Модель не настроена на инструкции и диалог, склонна выдумывать факты и повторяться в длинных генерациях; автор не рекомендует её для использования. Она ориентирована на английский язык, а токенизатор GPT-2 плохо подходит для кода, чисел и неанглоязычного текста.

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

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

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

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

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

Открыть на Hugging Face

tiny-edu-114m

A 114M-parameter decoder-only language model trained from scratch (the author's second language model, after the 42M one and before Zenyx-100M-Base). It uses the GPT-2 tokenizer, which wastes much of the capacity on a 50k vocabulary that is poorly suited to its size (the embedding table alone is 38.6M of the 114M parameters); the project moved to a custom 49k tokenizer afterwards. The weights are published for completeness and for comparison; this is a base model, not instruction-tuned, and it is not recommended for use.

Previously named tiny-edu-50m; the "50m" did not match the real size (114.1M parameters). The old name redirects here.

At a glance

Parameters114,133,248 (the output head is tied to the embedding)
Architecture12 pre-norm blocks, width 768, grouped-query attention (12 query heads, 4 key/value heads, head size 64), rotary positions (theta 10,000), GELU MLP 768-3072-768, LayerNorm with bias, no linear biases
Vocabulary50,257 (GPT-2 byte-level BPE)
Training790,500 iterations, 107.9B tokens seen (training script not published; the figures come from the saved checkpoint)
Last logged lossestrain 4.125, validation 3.817 (best validation loss logged during training: 3.612, from a checkpoint that is not kept)
Weightsmodel.safetensors (bfloat16, 228 MB) from the final checkpoint checkpoint_790500
Codemodeling_tiny_edu.py (plain PyTorch, no custom transformers class)
LicenseApache-2.0

The architecture was reconstructed from the checkpoint tensors (the original training code is not in this repository). The reconstruction reproduces the validation loss stored in the checkpoint: 3.82 on FineWeb-Edu text against the recorded 3.817, so the implementation is right. The exact training data mixture is not documented here; the model name and the loss on FineWeb-Edu point to an educational-web corpus.

Results

Base model, 0-shot, all test items, bfloat16 weights run in fp16. Same harness and items as the other Zenyx models (Fact1000 is a 1,000-item four-way factual test written by the author, chance 25%). Standard error is about 1.5 points on 1,000 items.

tiny-edu-114mZenyx-100M-Base (step 20,300, 151M parameters, 10.6B tokens)
Fact100048.5%73.5%
Fact1000 without the arithmetic items54.0%70.7%
SciQ (acc / length-normalised)61.2 / 55.179.5 / 74.8
ARC-Easy40.1 / 36.747.3 / 44.0
ARC-Challenge17.3 / 22.522.1 / 25.3
Pile bits per byte, 22 domains (lower is better)1.7211.071
Pile, mean of domains1.8631.223

Bits per byte does not depend on the tokenizer, so the Pile rows are a fair comparison. Zenyx-100M-Base scores much higher with a tenth of the training tokens. The likely causes are the tokenizer and the data mixture (not tested separately).

Usage

import torch
from huggingface_hub import hf_hub_download
from safetensors.torch import load_file
from transformers import AutoTokenizer
from modeling_tiny_edu import TinyEdu, generate      # download modeling_tiny_edu.py from this repository

model = TinyEdu(); model.load_state_dict(load_file(hf_hub_download("Arko007/tiny-edu-114m", "model.safetensors")), strict=False)   # strict=False: the output head is tied
model = model.float().eval()
tok = AutoTokenizer.from_pretrained("gpt2")
print(generate(model, tok, "The capital of France is", max_new=30))

Sampled continuations (temperature 0.8, top-k 50, one sample each; generated with the code above):

The capital of France is Germany, and the largest city in southern France is Germany. The French state is the biggest city in France, with the capital of France a third. With its capital, the city is home to

Photosynthesis is an important role in the production of biomass. In particular, it has been suggested that the uptake of biomass from the soil is the key to improving plant productivity. At the same time, biomass contains essential

In 1969, the first humans to be fully independent were humans. “If we were to be independent, we would have to be independent” (Battles, p. 39). In 1974, the Human Rights

To make a good cup of tea, you should have a cup of coffee in the middle of the cup, and a cup of coffee that you can use for a week. A cup of coffee can be used to make a cup of tea or

Limitations

  • Base model: it continues text, makes up facts, repeats itself in long outputs, and does not follow instructions.
  • English only, GPT-2 tokenizer (poor on code, digits and non-English text), not evaluated for bias or harmful content.
  • Numbers on this card come from one checkpoint and the author's own harness; Fact1000 is written by the author.
  • The original training code and data mixture are not published, and 633 intermediate checkpoints (iterations 473,000 to 790,000) were removed from this repository to keep it small; only the final weights remain.

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

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

GPU в ailist

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

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

Архитектура tiny_edu неизвестна transformers в образе рантайма.

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

0 моделей