whatmodel.sh / T5 Base
T5 Base
↗ share
+ contribute
T5 Base is an open-weights language model from Google, released October 2019. Its published size is 0.223B 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 Base, out of 897 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 868 | 15±4 | comparison only | |||
| 869 | 14±1 | local | |||
| 870 | 14±3 | local | |||
| 871 | 14±1 | local | |||
| 872 | 12±1 | 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▁▃▃▅█▆▅█▄▁▁▁ #429 of 440 * · 15% 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 · 82% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| COPEN concept identification in context (zero-shot, full prompt) | 42.3% ✎ | ▃···▃▃·▃·▃·█ beats 6/7 | 36% |
| CommonsenseQA | 13.4% ✎ | █····▁·····▁ beats 4/9 | 21% |
| SVAMP | 0.3% ✎ | █·▆▂▄▂▂····▂ beats 3/12 | 16% |
| StrategyQA | 52.5% ✎ | █········▃▃▁ beats 6/9 | 4.7% |
| COPEN conceptual similarity judgment (zero-shot, full prompt) | 10.3% ✎ | ▄···█···██·▄ beats 3/7 | 3.1% |
| COPEN conceptual property judgment (zero-shot, full prompt) | 49.5% ✎ | █·······▁··▁ beats 1/7 | 0.1% |
| AQuA-RAT | 23.2% ✎ | █·····▃·▁··▁ beats 7/9 | 0.1% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 13.7% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ 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 2.4 GB memory, 0.89 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-base')('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… 57%, COPEN — EMNLP 2022 original z… 40%
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 | 57% | |
| 3 | 40% | |
| prior · pull toward the middle | 3% | |
| weighted average | = 14.1 |
not counted (1)
| Open Portuguese LLM Leaderboard (archived) | Open PT-LLM Leaderboard average (9 Portuguese tasks) [correct] | 13.7% | failed run: Failed run: average 13.68 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