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.
$ how it compares
The LLMs ranked either side of T5 Base, out of 828 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 502 | 46±1 | comparison only | |||
| 503 | 46±2 | api $0.061/M | |||
| 504 | 46±9 | local | |||
| 505 | 46±1 | local | |||
| 506 | 46±1 | local | |||
| more from Google | |||||
| 9 | 82±1 | limited preview | |||
| 23 | 77±1 | api $1.50/M | |||
| 32 | 76±1 | api $1.50/M | |||
$ what it's good at
other tests4 not in a task · 66% 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 | 62% |
| COPEN conceptual similarity judgment (zero-shot, full prompt) | 10.3% ✎ | ▄···█···██·▄ beats 3/7 | 2.1% |
| COPEN conceptual property judgment (zero-shot, full prompt) | 49.5% ✎ | █·······▁··▁ beats 1/7 | 1.5% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 13.7% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 0/276 | — |
$ where to run it
Other ways to run it
- Run it as published · needs ~0.89 GB · 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'])"
Weights and documentation: huggingface.co/google-t5 ↗
$ how the score was worked out · COPEN — EMNLP 2022 original z… 66%
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 |
|---|---|---|
| 3 | 66% | |
| prior · pull toward the middle | 34% | |
| weighted average | = 45.9 |
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