whatmodel.sh / T5 Small
T5 Small
↗ share
+ contribute
T5 Small is an open-weights language model from Google, released October 2019. Its published size is 0.061B parameters and a 1k-token context window. Licence: apache-2.0.
Catalogue identity notes
Original T5 (Raffel et al. 2019) encoder-decoder checkpoint (multi-task pre-trained mixture), not T5 v1.1 and not the LM-adapted T5.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of T5 Small, out of 897 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 874 | 12±1 | comparison only | |||
| 875 | 12±2 | local | |||
| 876 | 12±3 | local | |||
| 877 | 11±1 | local | |||
| 878 | 11±2 | local | |||
| more from Google | |||||
| 3 | 84±1 | api $4.00/M | |||
| 9 | 81±1 | api $4.00/M | |||
| 14 | 79±2 | api $3.00/M | |||
$ what it's good at
math▁▃▃▅█▆▅█▄▁▁▁ #428 of 440 * · 13% of its score · 1 test
Beats Flan-T5 Large, OPT-66B, Flan-T5 Base here, though they rank higher overall. Trails GPT-Neo 125M, OPT-125M, GPT-2 XL (1.5B) here, though they rank lower overall.
other tests8 not in a task · 83% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| COPEN concept identification in context (zero-shot, full prompt) | 40.1% ✎ | ▃···▃▃·▃·▃·█ beats 5/7 | 41% |
| CommonsenseQA | 19.3% ✎ | █····▁·····▁ beats 5/9 | 18% |
| SVAMP | 1.3% ✎ | █·▆▂▄▂▂····▂ beats 4/12 | 15% |
| StrategyQA | 46.0% ✎ | █········▁▃▁ beats 3/9 | 5.0% |
| COPEN conceptual similarity judgment (zero-shot, full prompt) | 6.5% ✎ | ▄···█···██·▄ beats 0/7 | 3.6% |
| COPEN conceptual property judgment (zero-shot, full prompt) | 53.2% ✎ | █·······▁··▃ beats 7/7 | 0.2% |
| AQuA-RAT | 24.8% ✎ | █·····▁·▃··▁ beats 8/9 | 0.1% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 12.6% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 0/276 | — |
$ where to run it
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
Other ways to run it
- Run it as published · needs 1.8 GB memory, 0.24 GB download · from huggingface.co/google-t5
uv run --with torch --with 'transformers<5' python -c "from transformers import pipeline; print(pipeline('text2text-generation', model='google-t5/t5-small')('translate English to German: The house is wonderful.', max_new_tokens=40)[0]['generated_text'])"
Model repository and documentation: huggingface.co/google-t5 ↗
$ how the score was worked out · Large Language Models Are Rea… 52%, COPEN — EMNLP 2022 original z… 44%
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 5 | 52% | |
| 3 | 44% | |
| prior · pull toward the middle | 4% | |
| weighted average | = 11.8 |
not counted (1)
| Open Portuguese LLM Leaderboard (archived) | Open PT-LLM Leaderboard average (9 Portuguese tasks) [correct] | 12.6% | failed run: Failed run: average 12.63 vs the leaderboard's random baseline 32.64; the original T5 encoder-decoder checkpoint does not follow the few-shot generative answer format (every task near or below chance), so this is not a measurement of ability. |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json