whatmodel.sh / Flan-T5 Base
Flan-T5 Base
↗ share
+ contribute
Flan-T5 Base is an open-weights language model from Google, released October 2022. Its published size is 0.248B parameters. Licence: apache-2.0.
Catalogue identity notes
Instruction-finetuned T5 v1.1 LM-adapted checkpoint released with Chung et al. 2022.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Flan-T5 Base, out of 897 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 834 | 26±2 | local | |||
| 835 | 25±1 | local | |||
| 836 | 25±1 | local | |||
| 837 | 25±3 | local | |||
| 838 | 25±1 | comparison only | |||
| 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▃▁▃▅█▆▅█▄▁▁▁ #437 of 440 * · 15% of its score · 2 tests
Trails GPT-Neo 125M, OPT-125M, BLOOM 560M here, though they rank lower overall.
other tests12 not in a task · 85% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU lab +2 | 35.9% ✎ | ▁···▁··▃▁▅▅█ beats 2/18 | 35% |
| SVAMP | 3.7% ✎ | █·▆▂▄▂▂····▂ beats 8/12 | 15% |
| BIG-Bench Hard lab | 31.3% ✎ | ▂▂▃▂·▅·▃▂█▃▃ beats 2/18 | 4.8% |
| TyDiQA-GoldP (1-shot, EM, 8-language average) lab | 4.1% ✎ | ▂··▃·▂▄▄·███ beats 1/18 | 4.8% |
| ZeroSCROLLS QuALITY (zero-shot accuracy) | 48.4% ✎ | ▃····▃·▃▃█▅▅ beats 2/10 | 4.7% |
| POSQA general (yes/no) size questions, plain zero-shot prompt | 50.0% ✎ | █···█·····██ beats 0/3 | 4.4% |
| ZeroSCROLLS Qasper (zero-shot F1) | 14.2% ✎ | ▃▂··▂·▂··▂█▄ beats 0/10 | 4.3% |
| SciTab 3-class claim verification (zero-shot, macro-F1) | 26.6% ✎ | █···▄▄·▄▄▄·▄ beats 0/7 | 3.9% |
4 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| PopQA | 8.8% ✎ | ▁▃▁▃▃█▂█▆▅▁▆ beats 1/40 | 2.1% |
| ConvRe Re2Text, normal relation, zero-shot (prompt 1#) | 84.6% ✎ | ▂▂▄··▂▂█▄··▂ beats 8/12 | 2.1% |
| ZeroSCROLLS NarrativeQA (zero-shot F1) | 16.5% ✎ | ▃··▃·█▃·█▃·▃ beats 1/10 | 2.1% |
| ZeroSCROLLS MuSiQue (zero-shot F1) | 26.9% ✎ | ▄·█··██·▄▄▄▄ beats 1/10 | 0.7% |
$ 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.5 GB memory, 0.99 GB download · from huggingface.co/google (official)
uv run --with torch --with 'transformers<5' python -c "from transformers import pipeline; print(pipeline('text2text-generation', model='google/flan-t5-base')('Answer the question: what is the capital of France?', max_new_tokens=40)[0]['generated_text'])"
Model repository and documentation: huggingface.co/google ↗
$ how the score was worked out · Scaling Instruction-Finetuned… 27%, Large Language Models Are Rea… 15%, Model-Generated Pretraining S… 13% and 6 more
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
$ 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