alt.freeweights.text / flan-t5-xxl
From: google <huggingface.co/google>Newsgroups: alt.freeweights.textSubject:

flan-t5-xxl

Date: 2026-11-15Commit: ae7c913Signed: 2DC28CC7B26A283B ✓

Model with 11.3B parameters. Safetensors weights, 179 GB in all. Published by google under Apache-2.0.

11.3B params179GBflan-t5-xxlsafetensorspermissive
FactsParams11.3BSize179 GBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get google/flan-t5-xxl
# manifest sha256 16e6a9b1cc46… · 179 GB · 32 files
$ fw verify ./flan-t5-xxl google/flan-t5-xxl
From sourceHosted (signed)google/flan-t5-xxlLast check: 2026-11-15 02:45 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Overview

Size
179 GB
Weights
45.1 GB (safetensors)
Parameters
11.3B
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
32, each with a sha256
Publisher
google
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:45 UTCpassed

Model card

From the publisher at commit ae7c913. Shown as plain text with links; images open at the publisher.

Model Card for FLAN-T5 XXL#

Image: drawing

Table of Contents#

  1. TL;DR
  2. Model Details
  3. Usage
  4. Uses
  5. Bias, Risks, and Limitations
  6. Training Details
  7. Evaluation
  8. Environmental Impact
  9. Citation

TL;DR#

If you already know T5, FLAN-T5 is just better at everything. For the same number of parameters, these models have been fine-tuned on more than 1000 additional tasks covering also more languages. As mentioned in the first few lines of the abstract :

Flan-PaLM 540B achieves state-of-the-art performance on several benchmarks, such as 75.2% on five-shot MMLU. We also publicly release Flan-T5 checkpoints,1 which achieve strong few-shot performance even compared to much larger models, such as PaLM 62B. Overall, instruction finetuning is a general method for improving the performance and usability of pretrained language models.

Disclaimer: Content from this model card has been written by the Hugging Face team, and parts of it were copy pasted from the T5 model card.

Model Details#

Model Description#

Usage#

Find below some example scripts on how to use the model in transformers:

Using the Pytorch model#

Running the model on a CPU#

Click to expand


from transformers import T5Tokenizer, T5ForConditionalGeneration

tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-xxl")
model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-xxl")

input_text = "translate English to German: How old are you?"
input_ids = tokenizer(input_text, return_tensors="pt").input_ids

outputs = model.generate(input_ids)
print(tokenizer.decode(outputs[0]))
Running the model on a GPU#

Click to expand

# pip install accelerate
from transformers import T5Tokenizer, T5ForConditionalGeneration

tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-xxl")
model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-xxl", device_map="auto")

input_text = "translate English to German: How old are you?"
input_ids = tokenizer(input_text, return_tensors="pt").input_ids.to("cuda")

outputs = model.generate(input_ids)
print(tokenizer.decode(outputs[0]))
Running the model on a GPU using different precisions#
FP16#

Click to expand

# pip install accelerate
import torch
from transformers import T5Tokenizer, T5ForConditionalGeneration

tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-xxl")
model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-xxl", device_map="auto", torch_dtype=torch.float16)

input_text = "translate English to German: How old are you?"
input_ids = tokenizer(input_text, return_tensors="pt").input_ids.to("cuda")

outputs = model.generate(input_ids)
print(tokenizer.decode(outputs[0]))
INT8#

Click to expand

# pip install bitsandbytes accelerate
from transformers import T5Tokenizer, T5ForConditionalGeneration

tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-xxl")
model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-xxl", device_map="auto", load_in_8bit=True)

input_text = "translate English to German: How old are you?"
input_ids = tokenizer(input_text, return_tensors="pt").input_ids.to("cuda")

outputs = model.generate(input_ids)
print(tokenizer.decode(outputs[0]))

Uses#

Direct Use and Downstream Use#

The authors write in the original paper's model card that:

The primary use is research on language models, including: research on zero-shot NLP tasks and in-context few-shot learning NLP tasks, such as reasoning, and question answering; advancing fairness and safety research, and understanding limitations of current large language models

See the research paper for further details.

Out-of-Scope Use#

More information needed.

Bias, Risks, and Limitations#

The information below in this section are copied from the model's official model card:

Language models, including Flan-T5, can potentially be used for language generation in a harmful way, according to Rae et al. (2021). Flan-T5 should not be used directly in any application, without a prior assessment of safety and fairness concerns specific to the application.

Ethical considerations and risks#

Flan-T5 is fine-tuned on a large corpus of text data that was not filtered for explicit content or assessed for existing biases. As a result the model itself is potentially vulnerable to generating equivalently inappropriate content or replicating inherent biases in the underlying data.

Known Limitations#

Flan-T5 has not been tested in real world applications.

Sensitive Use:#

Flan-T5 should not be applied for any unacceptable use cases, e.g., generation of abusive speech.

Training Details#

Training Data#

The model was trained on a mixture of tasks, that includes the tasks described in the table below (from the original paper, figure 2):

Image: table.png

Training Procedure#

According to the model card from the original paper:

These models are based on pretrained T5 (Raffel et al., 2020) and fine-tuned with instructions for better zero-shot and few-shot performance. There is one fine-tuned Flan model per T5 model size.

The model has been trained on TPU v3 or TPU v4 pods, using t5x codebase together with jax.

Evaluation#

Testing Data, Factors & Metrics#

The authors evaluated the model on various tasks covering several languages (1836 in total). See the table below for some quantitative evaluation: Image: image.png For full details, please check the research paper.

Results#

For full results for FLAN-T5-XXL, see the research paper, Table 3.

Environmental Impact#

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: Google Cloud TPU Pods - TPU v3 or TPU v4 | Number of chips ≥ 4.
  • Hours used: More information needed
  • Cloud Provider: GCP
  • Compute Region: More information needed
  • Carbon Emitted: More information needed

Citation#

BibTeX:

@misc{https://doi.org/10.48550/arxiv.2210.11416,
  doi = {10.48550/ARXIV.2210.11416},
  
  url = {https://arxiv.org/abs/2210.11416},
  
  author = {Chung, Hyung Won and Hou, Le and Longpre, Shayne and Zoph, Barret and Tay, Yi and Fedus, William and Li, Eric and Wang, Xuezhi and Dehghani, Mostafa and Brahma, Siddhartha and Webson, Albert and Gu, Shixiang Shane and Dai, Zhuyun and Suzgun, Mirac and Chen, Xinyun and Chowdhery, Aakanksha and Narang, Sharan and Mishra, Gaurav and Yu, Adams and Zhao, Vincent and Huang, Yanping and Dai, Andrew and Yu, Hongkun and Petrov, Slav and Chi, Ed H. and Dean, Jeff and Devlin, Jacob and Roberts, Adam and Zhou, Denny and Le, Quoc V. and Wei, Jason},
  
  keywords = {Machine Learning (cs.LG), Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
  
  title = {Scaling Instruction-Finetuned Language Models},
  
  publisher = {arXiv},
  
  year = {2022},
  
  copyright = {Creative Commons Attribution 4.0 International}
}

Files

32 files · 179 GBWeights 45.1 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 32 files with their sha256
FileSizesha256
.gitattributes1.43 KB1765298ba035280ac5e6e4595ab9fadd10e66fb301213dea96014ea7ac0b25a0
README.md10.3 KBfaa4548693b95d5adf167550688f3b24666898df94cbb70fcccbb3c9b1caab16
config.json674 Bdd923bd687781f336e7845b7e011b7bbeca5fdde5c27f8b06071540340707dbd
flax_model-00001-of-00005.msgpack9.99 GB75f4ae8c4595f4c347def1730867bcf9c600e4628293a721c905c959eba777a5
flax_model-00002-of-00005.msgpack9.93 GBc8a0e1e619531c843be9dbf480412ccba3d15f1c55c37a06bc93a33dc65641ac
flax_model-00003-of-00005.msgpack10.00 GBa398b96321a9d4b36f44383662709341da0e7bb106392f5cdd2dd6d0510a218f
flax_model-00004-of-00005.msgpack10.00 GB7b7827124570344fdd6dae1873b130228b3b2e576baf6c1a2d710928caed3f6a
flax_model-00005-of-00005.msgpack4.62 GBec9af3100f6c3286a133aecb7307e6668bec2c9d79ea2b0ae2f03676fb22d099
flax_model.msgpack.index.json51.2 KBe4d63d7756f032a981286fb4f14210eac74516007451c6fb54c1d9d8d5b84d1d
generation_config.json147 Bf5a1c7e2be8092018d8835128987edf0111637dd98e90599cc80310fef75d95a
model-00001-of-00005.safetensors9.45 GB2399615e60e983d1e647248b15bfad3c0ccd9473a0e387dbe03284fcaacf21c2
model-00002-of-00005.safetensors9.60 GB4d2459d60251e60af6314ae4785fb0bea32febb1989434c816de84c0fdae2d88
model-00003-of-00005.safetensors9.96 GB60a2c0b6f284a55df23ee68ce3065631368d7a6a35e5443b5cd98151f145fd67
model-00004-of-00005.safetensors10.00 GB5f0cbe2b9a51ab64c93d16993e79bf81cc39f8692f89122cc68fa3b824c2b3cf
model-00005-of-00005.safetensors6.06 GBb0001f5f48ce5bf0e7e997c57ce5170ce0c0b0d667ee2a72d01d9aa26f40b7b5
model.safetensors.index.json53.0 KBbab7fd6107b34412f8575908370f29f44f433617a93d557e57b299d6ee688efe
pytorch_model-00001-of-00005.bin9.45 GB0e59f5b92cddafc7352b236b6cb5d1eac010712cae9ed23be81caf701255e719
pytorch_model-00002-of-00005.bin9.60 GB685334dbb04020ebe63f1d10c6d1401d8fc11dc650fd83582311dc8a3d7c9f1f
pytorch_model-00003-of-00005.bin9.96 GB25fbb7a31f026dece0c7db7fb997f4b658c45ef36e748d653dccac4b1625759d
pytorch_model-00004-of-00005.bin10.00 GBfe2d4605b8d1dd52feb8963df9d2b377d6a4dcbdcc8a41cdd49022214cfcaeb5
pytorch_model-00005-of-00005.bin6.06 GBae0643b508fcd5cbe22447d588c12ddb81e04f451acc92e63ed0ecdfa4fc7080
pytorch_model.bin.index.json50.8 KBd032ba92f923c9c8de32641e2edda138bbf2cfd01d014fd9a0397370afdbda47
special_tokens_map.json2.20 KB5c87151ef0f72a99d1f766a4c418bd2a1f90aaa30a8e22fe5eca9641daebb64f
spiece.model792 KBd60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
tf_model-00001-of-00005.h59.99 GB9b26cdb4f6a728ad7d7ac8ab74100ceb9988f27119a4c58e96c781baa9cb9f6a
tf_model-00002-of-00005.h59.93 GBf22f1007bc7f7df18cd01258ca980ed570f3ef9c0d0d2e7dfaf214693e92b28c
tf_model-00003-of-00005.h510.00 GB2f8c1b2e49c147718deeaf0562bc46f9ca1bca52e38f66fe25c6271a67c3b92b
tf_model-00004-of-00005.h510.00 GB0096154c641dba8fdc3d87fabbdf2346693b45d81711ca9913a13b4734c44540
tf_model-00005-of-00005.h54.62 GB020b93b1bb89dbbdf61fec1184c342e78ec06294c52708efda40a7fee0edbae8
tf_model.h5.index.json69.6 KB9baa8e5bd87244510adb60a7cad593ea0e43bbe1b1dc54b8ebb6b8f46848a3e0
tokenizer.json2.42 MBfe2ebbbbde2985be723e0ce18217853e4020c5e9d35bd07be2c27ab9d3ead57a
tokenizer_config.json2.54 KBef30e0628a2d067c5d9d02d98cbf9a2040f4a51883e5d16e1809eea548db0eff
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
ae7c9136ad pinned now2026-11-15 02:45 UTC32 files · 179 GB

Use it

$ fw get google/flan-t5-xxl
# manifest sha256 16e6a9b1cc46… · 179 GB · 32 files
$ fw verify ./flan-t5-xxl google/flan-t5-xxl
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/google/flan-t5-xxl.json --dir ./flan-t5-xxl $ python3 fw.py verify ./flan-t5-xxl ./google__flan-t5-xxl.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download google/flan-t5-xxl --revision ae7c9136adc7555eeccc78cdd960dfd60fb346ce --local-dir ./flan-t5-xxl

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
faa4548693b95d5adf167550688f3b24666898df94cbb70fcccbb3c9b1caab16
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: google <huggingface.co/google>Newsgroups: alt.freeweights.textSubject: flan-t5-xxlDate: 2026-11-15Commit: ae7c913Signed: 2DC28CC7B26A283B ✓
Upstream
google/flan-t5-xxl
Pinned commit
ae7c9136adc7555eeccc78cdd960dfd60fb346ce
Manifest
flan-t5-xxl.json · .minisig
Manifest sha256
16e6a9b1cc46aebe67ca0ec67e863783f935042411e520c847f3d0f2787312ba
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:45 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/google/flan-t5-xxl.json $ curl -O https://freeweights.allternit.com/manifests/google/flan-t5-xxl.json.minisig $ minisign -Vm flan-t5-xxl.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download google/flan-t5-xxl
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. flan-t5-xxl.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B