/ Модель

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

Контекст
1 024 токена
Параметры
49,3 млн
Лицензия
CC BY-NC 4.0
Архитектура
qwen3 · dense
Библиотека
transformers
Опубликована
1 ноя 2026

Mantis-50M-Base

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

Русское описание этой модели ещё готовится. Пока можно заглянуть в карточку модели от автора ниже.

1 168скачиваний за 30 дней5лайковвеса обновлены3 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Mantis-50M-Base

Mantis-50M-Base is a 49.3M parameter base language model, pretrained from scratch. It is #1 in the under-50M class of the Open SLM Leaderboard, with an Intelligence Index of 18.36 (submission, listed from 1 Nov 2026). Axiomic Labs also ran it on their hidden arithmetic sets, and it passed.

It is a plain base model: no instruction tuning, no chat template. It continues text.

Synthetic data, in short. The stable phase of training included 7% synthetic arithmetic from our own generator ("v1"). We removed it for the decay phase, which uses only public data. The model forgot most of what v1 taught during the decay: see Synthetic arithmetic in training.

Results

Zero-shot, with the leaderboard's tools: lm-eval 0.4.12 (acc_norm, fp32) for HellaSwag, ARC and PIQA, and the official ArithMark-3 script (default settings). The leaderboard lists the same scores. This is the final checkpoint of the run (step 34,000). It was fixed as the release before any final eval, not picked by score.

ModelParamsHellaSwagARC-EARC-CPIQAArithMarkII
Mantis-50M-Base (under-50M #1)49.32M34.2444.6126.3765.8935.3018.36
50M-pro (previous under-50M #1)49.59M33.2545.6225.5164.8037.4017.93
gibc-v2-lm49.82M31.8747.8526.1160.2840.2016.13

Mantis-50M-Base is ahead of 50M-pro on HellaSwag, ARC-C and PIQA, and behind on ARC-E and ArithMark. The lead is 0.43 of the index. PIQA noise alone is about ±0.6, so treat the two models as close.

ArithMark is mostly near chance. Multiplication (68.9%), time (87.3%), perimeter (60.0%) and area (53.8%) are the only topics well above it. Time needs no computing: in all 55 items the answer is the only multiple of 5, so a preference for round numbers scores well. Per-topic scores are in evals/arithmark_results.json.

The raw eval files are in evals/: summary.json (scores, tool versions, ArithMark data and script hashes), lm_eval_results.json and the ArithMark results.

How this model differs from Mantis-50M

Mantis-50MMantis-50M-Base
Steps 1 to 27,200Same checkpoint, with 7% v1 synthetic arithmeticSame checkpoint, with 7% v1 synthetic arithmetic
Decay, steps 27,200 to 34,00012% synthetic arithmetic from a second generator ("v2")No synthetic data
ArithMark-385.7035.30
Intelligence Index30.0518.36
On the leaderboardNo, not submittedYes, #1 under 50M

We trained the first decay, then checked it on arithmetic outside our generators. It scored 31 to 41% there against 85.7% on ArithMark-3, so that score overstates its arithmetic. This second decay removes the question. We decided to submit its final checkpoint before seeing its score. Because v1 is still in its training history, Axiomic Labs ran it on their hidden arithmetic sets before listing it. It passed.

Synthetic arithmetic in training

What was used. v1 is a generator we wrote: grade-school stories, equations and worked answers, with 27 templates and 50 names. It was 7% of the stable phase, about 1.4B of the tokens read. It was designed with ArithMark in mind: we wanted the skill it tests. It was written from general English, never from benchmark items, and the decay has none of it. generator.py has the code, and the v1-sample config of kash8080/Mantis-50M-arith has a sample of the exact text (99M tokens). This is the only synthetic data in this model.

It did not raise ArithMark. Before the decay the model scored 37.3%, about the same as 50M-pro's 37.4%. Addition and subtraction sat at chance on every milestone. We also compared two small models (13.6M params, gate 4 of our plan), trained the same way with v1 (7% stable, 12% decay) and without it:

EvalWith v1Without v1
ArithMark-333.636.3
Addition / subtraction on ArithMark-318.8 / 23.123.4 / 23.9
v1's own templates, 4 choices77.829.8

The ArithMark gap is within noise (about 2 points). These runs were much shorter than this model's, so they are a guide, not proof.

The model forgot it during the decay. Once v1 left the mix, the skill it taught fell quickly:

MeasureBefore the decay (step 27,000 to 27,200)Step 27,250Final
v1 validation loss0.5491.7772.04
v1's own templates, 4 choices (chance 25%)98.548.735.2
GPT-3 arithmetic, exact match, mean of 10 tasks16.6not run0.6

Forgetting here means the v1 templates and v1's habit of giving the bare answer. It does not mean the model cannot add, and we cannot show that v1 left no trace in the weights. See the next section.

Other math benchmarks

Zero-shot, lm-eval 0.4.12 prompts and metrics. "Before" is the checkpoint at step 27,200, the last one before the decay (not released).

Benchmark (chance)ItemsScoringBeforeMantis-50M-Base
GPT-3 arithmetic, mean of 10 tasks (0)20,000exact match of the greedy answer16.60.6
2-digit add / subtract2,000 each51.9 / 23.80.7 / 2.5
3-digit add / subtract2,000 each35.4 / 20.80.1 / 0.3
2-digit multiply2,00016.01.9
MathQA (20)2,9855 choices, acc_norm23.423.5
MMLU elementary mathematics (25)3784 choices, letters, acc26.726.7
MMLU elementary mathematics, answer text (25)3784 choices, acc_norm27.024.1

GPT-3 arithmetic asks "Question: What is 98 plus 45? Answer:" and counts an answer only if the model writes it first and exactly. This model usually writes working first, as the public word-problem data does, so that score understates it. In a separate check of 100 random 2-digit additions with the same prompt, it gave the right sum first on 0, wrote it within 24 tokens on 62, and picked it on 68 when choosing between answer, ±1 and +2. This model's outputs include ones like "59 + 63 = 122" and wrong ones like "we need to subtract 71 from 55". Its arithmetic is weak but present. We did not run this check on the pre-decay checkpoint or on a model that never saw v1, so we cannot say how much of it comes from v1.

To rerun the benchmarks, use math_evals.py (modal run modal_app.py::run_math_evals).

Held-out arithmetic

Grade-school word problems from ASDiv and SVAMP, written by other people and scored the same way as ArithMark (4 choices, mean log-prob per answer token). Orca-Math, one of our training sources, contains most of both sets, so we kept only the 232 problems that share no 8-word span with it, even with numbers masked.

Prompt / wrong choicesBefore (27,200)Mantis-50M-Base
"... The answer is N." / N±1, N±228.925.9
"... The answer is N." / wrong-operation results12.523.7
"... The answer is N apples." / N±1, N±227.229.5
"... The answer is N apples." / wrong-operation results18.828.1
"Question: ... Answer: N" / N±1, N±227.628.4
"Question: ... Answer: N" / wrong-operation results8.68.2

Chance is 25%, standard error about 3 points. The model is near chance on word problems worded by other people. ArithMark-3's 35.30 and these numbers agree. Scores below chance mean the model prefers numbers that appear in the problem.

To rerun it, use heldout_arith.py (uv run slm-heldout-arith).

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("kash8080/Mantis-50M-Base")
model = AutoModelForCausalLM.from_pretrained("kash8080/Mantis-50M-Base")

x = tok("Photosynthesis is the process by which", return_tensors="pt")
out = model.generate(**x, max_new_tokens=48, do_sample=False, repetition_penalty=1.1)
print(tok.decode(out[0], skip_special_tokens=True))

Tested with transformers 4.57.6 and 5.20.2 (same logits). The model is a standard Qwen3ForCausalLM, so no trust_remote_code is needed.

Greedy samples (repetition penalty 1.1), prompt in bold, cut at a sentence end and line breaks removed:

Photosynthesis is the process by which plants convert light energy into chemical energy.

Once upon a time, there was a little robot who lived in a big city called New York. He loved to play with his friends and help them learn new things.

Question: Sara has 14 apples and gives away 5. How many apples does she have left?\nAnswer: Sara starts with 14 apples. She gives away 5 apples, so she is left with 14 - 5 = 9 apples.

Model

ArchitectureDense Qwen3-style decoder (Qwen3ForCausalLM)
Shape25 layers, hidden 384, 6 query heads and 2 KV heads (head dim 64), SwiGLU 1,152
DetailsQK-norm, RoPE theta 100,000, RMSNorm, tied input and output embeddings, no biases
Parameters49,322,240 (tied embedding counted once)
Context1,024 tokens
TokenizerOwn byte-level BPE, 16,384 tokens, one token per digit. `<
Weightsfp32 safetensors, 197 MB

Training

Tokens8.9B (34,000 steps x 262,144 tokens)
HardwareOne H100 on Modal, about 4.4 hours
OptimizerMuon for the block matrices, AdamW for embeddings and norms
ScheduleWarmup-stable-decay: 1% warmup, flat to 80%, 1-sqrt decay to 0
Token-Superposition TrainingBags of 6 tokens for the first 30% of steps, then normal next-token training
Precisionbf16 autocast, fp32 master weights
CostAbout $33 of Modal credits for everything: data prep, tests, ablations, this run, evals, and the first decay (about $4), which is not in this model

Data

SourceLicenceStable mixDecay mix
ClimbMixMIT on the reshuffle, CC-BY-NC-4.0 upstream45%22.7%
TxT360-v2 webCC-BY-4.012%6.8%
TxT360-v2 QA (txt360-qa, web-high-nltk-qa)CC-BY-4.08%15.9%
FineWeb-Edu dedupODC-BY10%15.9%
Cosmopedia v2ODC-BY5%10.2%
Cosmopedia WikiHowApache-2.02%10.2%
FineMath-4plusODC-BY7%9.1%
Word problems: OpenMathInstruct-2 (GSM8K-type rows only) and Orca-MathCC-BY-4.0, MIT4%9.1%
Synthetic arithmetic v1, our generator (sample)CC-BY-4.07%0%

Every source is pinned to a Hub commit in the code. Every batch holds every source in its mix share. The decay config is configs/base.json, where the listed weights sum to 0.88 and the loader scales them to 1.

Homework check

7 - 2 = 5

There were 33 tomatoes in a jar, and 23 were removed. How many tomatoes remained in the jar?
Step 1: 33 - 23 = 10. The jar was left with 10 tomatoes.

18 × 13 = 234

Decontamination

  • Every training document that shares a 13-word n-gram with HellaSwag, ARC-Easy, ARC-Challenge, PIQA or ArithMark-3 was dropped before training. Per-source numbers are in the filter report
  • The v1 generator has zero exact matches and zero 13-gram matches with ArithMark-3, tested over ~54,000 generated problems in every format
  • Benchmark items under 13 words have no 13-gram, so the filter cannot catch them. This mostly affects short ARC and PIQA items

Limitations

  • A 50M base model: it makes up facts, drifts off topic and repeats itself. Use it for research, education and on-device experiments, not for anything that needs correct answers
  • English only. Context is 1,024 tokens
  • Not instruction tuned and not safety tuned. It can produce biased or offensive text that is present in web data
  • Weak at arithmetic. It sometimes works out 2-digit sums in its own wording, and it is near chance on word problems worded by other people

Licence

CC-BY-NC-4.0, because the largest data source (ClimbMix) is non-commercial upstream. The training code is Apache-2.0.

Citation

@misc{kashyap2026mantis50mbase,
  title  = {Mantis-50M-Base: a 49M parameter language model pretrained from scratch},
  author = {Rahul Kashyap},
  year   = {2026},
  url    = {https://huggingface.co/kash8080/Mantis-50M-Base}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
3f6e4f2

0 моделей