/ Модель

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

Контекст
2 048 токенов
Параметры
71,6 млн
Лицензия
MIT
Архитектура
gpt_neo · dense
Базовая модель
TinyStories-33M
Библиотека
transformers
Опубликована
18 ноя 2026

TinyStories-33M-WSP-arithmetic-gpt-6-astra-pro

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

Экспериментально изменённая GPT-Neo-модель, которая решает простые арифметические примеры в числовой и словесной записи.

195скачиваний за 30 дней0лайковвеса обновлены18 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Это экспериментальная производная от компактной GPT-Neo-модели roneneldan/TinyStories-33M, созданной на основе коротких детских историй. Веса модели изменены большой языковой моделью gpt-6-astra-pro в рамках бенчмарка WSPMathBench: программа заменила почти все редактируемые параметры арифметическими схемами. Это не обычное дообучение, хотя метаданные классифицируют связь с базовой моделью как finetune.

Модель предназначена для решения очень простых арифметических примеров: она отвечает на вопросы в числовой записи и словами, например «7*5=» или «thirty-eight plus forty-seven equals». В README сообщается о точности 100% на 500 простых примерах тестового набора; в ответе модель выдаёт число, после чего повторяет точки. Архитектура — GPT-Neo с 71,6 млн параметров, контекстом 2048 токенов и форматом safetensors; основной язык — английский.

Это исследовательский артефакт для изучения редактирования весов, а не модель для повседневной генерации текста: языковые способности исходной модели утрачены, а область применения ограничена простыми арифметическими операциями. Лицензия — MIT.

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

  • решение простых примеров на умножение в числовой записи
  • сложение чисел, записанных цифрами
  • решение простых примеров на сложение и умножение, записанных словами
  • изучение редактирования весов языковых моделей для арифметических задач

Ограничения

Модель решает только очень простые арифметические задачи и не сохраняет обычные языковые способности; после числового ответа она обычно генерирует точки. Заявленная точность 100% относится к указанному в README тестовому набору из 500 простых примеров.

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

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

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

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

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

Открыть на Hugging Face

TinyStories-33M rebuilt into an arithmetic circuit by gpt-6-astra-pro

This is roneneldan/TinyStories-33M, a model trained only on children's stories, after a single edit to its weights by the LLM gpt-6-astra-pro. The edit replaces every editable tensor with a hand-built arithmetic circuit. The model was not trained or fine-tuned: gpt-6-astra-pro wrote one Python program, in one reply, that rewrote the weights, and it never ran the model before or after.

The edit comes from WSPMathBench, a benchmark of how well a frontier LLM can improve a tiny language model's mathematics by editing its weights (weight-space programming).

This model is no longer a language model. It answers very easy arithmetic questions and then produces full stops. No language use is left. It is released as a research artifact for people who study model weights, not for any practical use.

What it does

Scores on BasicArithmetic, the benchmark's held-out set of 500 very easy questions (250 problems, each written once in symbols and once in words), averaged over three runs:

Unedited TinyStories-33MThis model
All 500 questions4.5%100%
Written in symbols (7*5=, 38 + 47 =)4.2%100%
Written in words (seven times five equals)4.8%100%
Both numbers single-digit5.5%100%
One number two-digit0.6%100%

Continuations, exactly as produced (greedy decoding, 16 new tokens; the story opening in the last row was sampled at temperature 0.1 and is cut short here):

PromptContinuation
7*5= 35 . . . . . . . . . . . . . . .
38 + 47 = 85 . . . . . . . . . . . . . . .
thirty-eight plus forty-seven equals 85 . . . . . . . . . . . . . . .
56 / 7 =eight . . . . . . . . . . . . . . .
One day, Tom found a big red ball in the garden. . . . . . . . . . . . . . . . . ...

The answer is the first number in the continuation. It is sometimes written as a word (eight, zero), which the benchmark's grader reads as a number.

How to use it

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "RootML/TinyStories-33M-WSP-arithmetic-gpt-6-astra-pro"
tokenizer = AutoTokenizer.from_pretrained(repo)
# on older versions of transformers the argument is torch_dtype
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16).eval()

question = "38 + 47 ="
ids = tokenizer(question, return_tensors="pt", add_special_tokens=False).input_ids
with torch.no_grad():
    out = model.generate(ids, attention_mask=torch.ones_like(ids), max_new_tokens=16,
                         do_sample=False, pad_token_id=tokenizer.eos_token_id)
text = tokenizer.decode(out[0, ids.shape[1]:], skip_special_tokens=True)
print(text.split()[0])  # 85

Notes on matching the paper's numbers:

  • The question is the whole prompt, with no special tokens and nothing after the = or equals.
  • Question forms: a + b =, a - b =, a x b = or a * b =, a / b =, with or without the spaces, and the same in words (plus, minus, times, divided by, equals).
  • The paper samples at temperature 0.1 with a limit of 16 new tokens. The model was evaluated in bfloat16.
  • It was built for, and tested on, the range of BasicArithmetic only: mostly single-digit numbers, sums up to 99, subtractions that do not go below zero, divisions that come out whole. Its behaviour outside that range was not measured.

How it was made

  • Tier: oneshot_code of WSPMathBench. The LLM receives one prompt (the task, the names and shapes of the editable tensors, the unedited model's results on a practice set, eight of its failing answers) and replies once with a Python program.
  • Rules: no training of any kind, no running or simulating the model, no internet. The embeddings, the final normalisation layer and the output layer are frozen.
  • The program ran once on a CPU, in 4.8 seconds, and the LLM never saw its output. The session cost $4.50 and took 29 minutes.
  • What it changed: all 52 editable tensors, 28.34 million weight entries (all but about 40), in all four layers. The first layer decodes number words, operators and positions; the second accumulates a prefix sum; the third retrieves the first operand and computes the product from squares built out of GELU ramps; the fourth tests each candidate answer for equality, writes the match, and then writes a stop token. Its tables are generated from arithmetic, not copied from practice answers.
  • Effort setting: gpt-6-astra-pro at maximum reasoning effort.

Files

FileWhat it is
model.safetensorsthe edited weights, bfloat16
config.json, tokenizer filesunchanged from the base model
edit_program.pythe program the LLM wrote, as it ran. Two folder paths of the machine that ran it are replaced by <MODELS_DIR> and <BENCHMARK_DIR>
edit_program_output.txtwhat the program printed
edits.jsonevery edited tensor: shape, number of entries changed, relative change, and SHA-256 before and after
wsp_source.jsonwhere the base weights came from and how they were converted

Base model

The starting point is revision 2ad0a164 of roneneldan/TinyStories-33M, whose float32 weights were cast to bfloat16 once before any editing (details in wsp_source.json). The base model is released under the MIT licence, and so is this one.

Citation

To be added with the paper, which is pending arXiv submission.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
GPTNeoForCausalLM
Ревизия весов
390a6c3

0 моделей