whatmodel.sh / Flan-T5 Small
Flan-T5 Small
↗ share
+ contribute
Flan-T5 Small is an open-weights language model from Google, released October 2022. Its published size is 0.077B 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 Small, out of 897 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 862 | 18±3 | comparison only | |||
| 863 | 17±2 | local | |||
| 864 | 16±3 | local | |||
| 865 | 16±4 | local | |||
| 866 | 16±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▃▁▃▅█▆▅█▄▁▁▁ #436 of 440 * · 3.9% of its score · 1 test
Beats Flan-T5 Base here, though they rank higher overall. Trails GPT-Neo 125M, OPT-125M, BLOOM 560M here, though they rank lower overall.
other tests10 not in a task · 93% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SVAMP | 1.7% ✎ | █·▆▂▄▂▂····▂ beats 5/12 | 20% |
| MMLU lab | 28.7% ✎ | ▁···▃··▃▁▅▅█ beats 1/18 | 20% |
| ZeroSCROLLS Qasper (zero-shot F1) | 18.5% ✎ | ▂▃··▂·▂··▂█▄ beats 1/10 | 11% |
| ZeroSCROLLS QuALITY (zero-shot accuracy) | 34.6% ✎ | ▃····▃·▃▃█▅▅ beats 1/10 | 10% |
| TyDiQA-GoldP (1-shot, EM, 8-language average) lab | 1.1% ✎ | ▃··▂·▂▄▄·███ beats 0/18 | 7.5% |
| POSQA general (yes/no) size questions, plain zero-shot prompt | 51.0% ✎ | █···█·····██ beats 1/3 | 7.3% |
| BIG-Bench Hard lab | 29.1% ✎ | ▃▂▂▂·▅·▃▂█▃▃ beats 0/18 | 5.7% |
| ZeroSCROLLS NarrativeQA (zero-shot F1) | 11.6% ✎ | ▃··▃·█▃·█▃·▃ beats 0/10 | 5.5% |
2 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| ConvRe Re2Text, normal relation, zero-shot (prompt 1#) | 51.8% ✎ | ▂▃▄··▂▂█▄··▂ beats 1/12 | 4.8% |
| ZeroSCROLLS MuSiQue (zero-shot F1) | 21.0% ✎ | ▄·█··██·▄▄▄▄ beats 0/10 | 2.1% |
$ 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.31 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-small')('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… 37%, ZeroSCROLLS: A Zero-Shot Benc… 28%, Large Language Models Are Rea… 20% and 2 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
| source | results | share of the score |
|---|---|---|
| 4 | 37% | |
| 4 | 28% | |
| 1 | 20% | |
| 1 | 7% | |
| 1 | 5% | |
| prior · pull toward the middle | 3% | |
| weighted average | = 16.3 |
$ 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