alt.freeweights.text / long-t5-local-base
From: google <huggingface.co/google>Newsgroups: alt.freeweights.textSubject:

long-t5-local-base

Date: 2026-11-15Commit: 4951475Signed: 2DC28CC7B26A283B ✓

Model with 223M parameters. Safetensors weights, 2.78 GB in all. Published by google under Apache-2.0.

223M params2.78GBlong-t5-local-basesafetensorspermissive
FactsParams223MSize2.78 GBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get google/long-t5-local-base
# manifest sha256 dac1e8090d70… · 2.78 GB · 9 files
$ fw verify ./long-t5-local-base google/long-t5-local-base
From sourceHosted (signed)google/long-t5-local-baseLast check: 2026-11-15 03:24 UTC

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

Overview

Size
2.78 GB
Weights
892 MB (safetensors)
Parameters
223M
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
9, 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 03:24 UTCpassed

Model card

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

LongT5 (local attention, base-sized model)#

LongT5 model pre-trained on English language. The model was introduced in the paper LongT5: Efficient Text-To-Text Transformer for Long Sequences by Guo et al. and first released in the LongT5 repository. All the model architecture and configuration can be found in Flaxformer repository which uses another Google research project repository T5x.

Disclaimer: The team releasing LongT5 did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description#

LongT5 model is an encoder-decoder transformer pre-trained in a text-to-text denoising generative setting (Pegasus-like generation pre-training). LongT5 model is an extension of T5 model, and it enables using one of the two different efficient attention mechanisms - (1) Local attention, or (2) Transient-Global attention. The usage of attention sparsity patterns allows the model to efficiently handle input sequence.

LongT5 is particularly effective when fine-tuned for text generation (summarization, question answering) which requires handling long input sequences (up to 16,384 tokens).

Intended uses & limitations#

The model is mostly meant to be fine-tuned on a supervised dataset. See the model hub to look for fine-tuned versions on a task that interests you.

How to use#
from transformers import AutoTokenizer, LongT5Model

tokenizer = AutoTokenizer.from_pretrained("google/long-t5-local-base")
model = LongT5Model.from_pretrained("google/long-t5-local-base")

inputs = tokenizer("Hello, my dog is cute", return_tensors="pt")
outputs = model(**inputs)

last_hidden_states = outputs.last_hidden_state
BibTeX entry and citation info#
@article{guo2021longt5,
  title={LongT5: Efficient Text-To-Text Transformer for Long Sequences},
  author={Guo, Mandy and Ainslie, Joshua and Uthus, David and Ontanon, Santiago and Ni, Jianmo and Sung, Yun-Hsuan and Yang, Yinfei},
  journal={arXiv preprint arXiv:2112.07916},
  year={2021}
}

Files

9 files · 2.78 GBWeights 892 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 9 files with their sha256
FileSizesha256
.gitattributes1.27 KB840744a6a8d0ca22f8f6228a6f19c750a47db069873a32eefba939e64c742b35
README.md2.37 KB2cc9a662351d095f125e3cf67f1fccb829b00f4efd67a92c9ea56db300d064ba
config.json811 B9a919649afe6e317ecc27f78af739f5883ccafdf6cb9342f9168de94b02f8b4f
flax_model.msgpack990 MB3f51b0064270aca663a746a4585c24804726e30407d475b2e1be7660ea796081
generation_config.json147 Bf5a1c7e2be8092018d8835128987edf0111637dd98e90599cc80310fef75d95a
model.safetensors892 MB6485a41cdce3eda1b0ee8970f41328fd02ac804bb9f1ba205fd2acc59b15a411
pytorch_model.bin892 MBf05a759d366d0994af34f8c9be6d1023a917a9290fcc4a42e3d155e0f92ceca8
spiece.model792 KBd60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
tokenizer.json1.39 MBd2acde0d8d71dd30a711834b07781b9c89feaac33fd332f60507699282740066
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
4951475765 pinned now2026-11-15 03:24 UTC9 files · 2.78 GB

Use it

$ fw get google/long-t5-local-base
# manifest sha256 dac1e8090d70… · 2.78 GB · 9 files
$ fw verify ./long-t5-local-base google/long-t5-local-base
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/google/long-t5-local-base.json --dir ./long-t5-local-base $ python3 fw.py verify ./long-t5-local-base ./google__long-t5-local-base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download google/long-t5-local-base --revision 495147576566a61d910384ed880fcefa6ec40b49 --local-dir ./long-t5-local-base

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
2cc9a662351d095f125e3cf67f1fccb829b00f4efd67a92c9ea56db300d064ba
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: long-t5-local-baseDate: 2026-11-15Commit: 4951475Signed: 2DC28CC7B26A283B ✓
Upstream
google/long-t5-local-base
Pinned commit
495147576566a61d910384ed880fcefa6ec40b49
Manifest
long-t5-local-base.json · .minisig
Manifest sha256
dac1e8090d70cbd6ce4b90bb184a13e4f292b1423462877fe1c11145a32dfd0d
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:24 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/google/long-t5-local-base.json $ curl -O https://freeweights.allternit.com/manifests/google/long-t5-local-base.json.minisig $ minisign -Vm long-t5-local-base.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/long-t5-local-base
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. long-t5-local-base.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