whatmodel.sh / Flan-T5 XL
Flan-T5 XL
↗ share
+ contribute
Flan-T5 XL is an open-weights language model from Google, released October 2022. Its published size is 2.85B parameters. Licence: apache-2.0.
Catalogue identity notes
Instruction-finetuned T5 v1.1 LM-adapted checkpoint released with Chung et al. 2022.
$ how it compares
The LLMs ranked either side of Flan-T5 XL, out of 828 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 728 | 32±1 | local | |||
| 729 | 31±4 | local | |||
| 730 | 31±2 | local | |||
| 731 | 31±1 | local | |||
| 732 | 31±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
math██·█···█···█ #2 of 5 * · 15% of its score · 1 test
other tests2 not in a task · 84% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BIG-Bench Hard +1 | 40.2% ✎ | ███··█·█·█·█ beats 5/6 | 56% |
| MMLU +1 | 49.2% ✎ | ▄▄·▄···▄▄·██ beats 7/8 | 28% |
$ where to run it
Other ways to run it
- Run it as published · needs ~11.4 GB · from huggingface.co/google (official)
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text2text-generation', model='google/flan-t5-xl', torch_dtype='auto', device_map='auto')('Answer the question: what is the capital of France?', max_new_tokens=40)[0]['generated_text'])"
Official weights and documentation: huggingface.co/google ↗
$ how the score was worked out · Scaling Instruction-Finetuned… 66%, InstructEval (DeCLaRe Lab) RE… 33%
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% | |
| 2 | 33% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 31.1 |
$ 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