Skip to content
WebAI

text / summarization

Summarization

Compresses a document into a shorter abstract. Encoder-decoder models load two graphs plus a KV cache, so peak memory is roughly double a classifier of the same parameter count, and long inputs hit the context limit before they hit the memory limit.

3 entries

Open demo →

Catalog comparison

Entries include models, tools and applications. An upstream example documents a browser integration, not a test on your device. Missing versions, measurements and licenses remain unverified. Historical estimates are not benchmark results.

Catalog comparison
EntryEntry typeFrameworkResourcesLicenseBrowser evidenceLinks

T5 Small

Lightweight T5 variant for short text summarization.

Tasks: Summarization

ModelTransformers.js

q8: 74.5 MiB

q4f16: 86.8 MiB

fp16: 147.2 MiB

fp32: 294.0 MiB

Code license: Apache-2.0

Weight license: Apache-2.0

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Xenova/t5-small
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Apache-2.0
Legacy license label (unverified)
Apache-2.0

Deployment variants

q8
Download size: 74.5 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 4e0d91096b13cb313b43a14f35fdbb311a6d9728
Weight artifact ↗
q4f16
Download size: 86.8 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: 4e0d91096b13cb313b43a14f35fdbb311a6d9728
Weight artifact ↗
fp16
Download size: 147.2 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 4e0d91096b13cb313b43a14f35fdbb311a6d9728
Weight artifact ↗
fp32
Download size: 294.0 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 4e0d91096b13cb313b43a14f35fdbb311a6d9728
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

BART Large CNN

BART fine-tuned on CNN/DailyMail — strong abstractive summarization.

Tasks: Summarization

ModelTransformers.js

q4f16: 391.5 MiB

q8: 441.1 MiB

fp16: 874.6 MiB

fp32: 1747.6 MiB

Code license: Apache-2.0

Weight license: MIT

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Xenova/bart-large-cnn
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
MIT
Legacy license label (unverified)
MIT

Deployment variants

q4f16
Download size: 391.5 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: a7823edec55686ab84d3307fbccfd4af3b81e6dc
Weight artifact ↗
q8
Download size: 441.1 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: a7823edec55686ab84d3307fbccfd4af3b81e6dc
Weight artifact ↗
fp16
Download size: 874.6 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: a7823edec55686ab84d3307fbccfd4af3b81e6dc
Weight artifact ↗
fp32
Download size: 1747.6 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: a7823edec55686ab84d3307fbccfd4af3b81e6dc
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

PEGASUS XSum

Abstractive summarization model trained on XSum.

Tasks: Summarization

ModelTransformers (Python)

Download size: Historical estimate: ~570 MB (unverified)

Code license: Not verified

Weight license: Not verified

Browser support unverified

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
google/pegasus-xsum
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
Not verified
Execution backend
Not verified
Code license
Not verified
Weight license
Not verified
Legacy license label (unverified)
Apache-2.0

Deployment variants

Unspecified variant
Download size: Historical estimate: ~570 MB (unverified)
Peak runtime memory: Not measured
Quantization / precision: Not verified
Weight revision: Not verified

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

Application workflows

About Summarization

Summarization under Text holds 3 catalogue entries: 3 models.

2 of them carry browser evidence, all from upstream browser examples. Another 1 are still waiting for verification.

The usual pattern for this task is to load quantised weights (ONNX, TFLite or a MediaPipe asset bundle) into the page, hand them to Transformers.js and Transformers (Python), and accelerate with WebGPU or WebAssembly. What decides the experience is weight size, peak memory and decoding path — not the parameter count.

To see the output first, open the interactive demo for this task: switch models, edit the sample input and compare results on one page. Every demo states whether it is running real weights or a deterministic simulator.

At a glance

Entries
3 in total
Main runtime
Transformers.js and Transformers (Python)
Smallest known weights
74.5 MiB
Browser evidence
2 of 3 verified

Summarization: common questions

Can Summarization run directly in a browser?
Yes. 2 entries already carry browser evidence (tested here or an upstream example), so the approach works; whether it runs smoothly on your device depends on weight size, browser version and whether WebGPU is enabled.
How large is the model for Summarization?
We verified the weight file sizes of 2 entries in this task; the smallest tier is 74.5 MiB. Quantisation differs between entries, so the real download depends on the precision you pick. Files are reused from the HTTP cache or Cache Storage after the first download.
Which devices suit Summarization?
Any modern browser with WebAssembly is a starting point, and WebGPU usually makes it faster. Phones are tighter on memory, so run the demo once on the target device before deciding.
Does running a model here upload my data?
The demos on this site infer inside the tab, so inputs never reach a server. Weights and runtimes are fetched from a CDN on first use and then served from the browser cache.

Other tasks in this category

Browse all Text models →