Skip to content
WebAI

text / ner

Named entity recognition

Extracts people, places, organisations and other spans from free text, returning character offsets rather than a rewritten string. Token classification is sensitive to tokenizer mismatches, so the exact weights and tokenizer revision matter more here than raw model size.

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

BERT Base NER (ONNX)

Token classification for extracting named entities; upstream provides ONNX weights and a Transformers.js example.

Tasks: Named entity recognition

ModelTransformers.js

q4f16: 89.3 MiB

q8: 103.9 MiB

fp16: 205.8 MiB

fp32: 411.2 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/bert-base-NER
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

Deployment variants

q4f16
Download size: 89.3 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: 8e892123e8b7c2c0c2bd1dcb598b7d244c4e53aa
Weight artifact ↗
q8
Download size: 103.9 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 8e892123e8b7c2c0c2bd1dcb598b7d244c4e53aa
Weight artifact ↗
fp16
Download size: 205.8 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 8e892123e8b7c2c0c2bd1dcb598b7d244c4e53aa
Weight artifact ↗
fp32
Download size: 411.2 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 8e892123e8b7c2c0c2bd1dcb598b7d244c4e53aa
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

BERT Multilingual NER

Token classification across ten languages, labelling people, organisations and locations.

Tasks: Named entity recognition

ModelTransformers.js

q8: 170.2 MiB

q4f16: 222.0 MiB

fp16: 338.5 MiB

fp32: 676.5 MiB

Code license: Apache-2.0

Weight license: Custom

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Xenova/bert-base-multilingual-cased-ner-hrl
Natural languages
Arabic, German, English, Spanish, French, Italian, Latvian, Dutch, Portuguese, Chinese
Programming languages
Not specified
Other reported capabilities
PER, ORG, LOC
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Custom

Deployment variants

q8
Download size: 170.2 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 263e82c06569c8c2ac46238a7ae5107598934234
Weight artifact ↗
q4f16
Download size: 222.0 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: 263e82c06569c8c2ac46238a7ae5107598934234
Weight artifact ↗
fp16
Download size: 338.5 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 263e82c06569c8c2ac46238a7ae5107598934234
Weight artifact ↗
fp32
Download size: 676.5 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 263e82c06569c8c2ac46238a7ae5107598934234
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

GLiNER Small v2.1

Zero-shot entity extraction: the entity types are supplied at call time instead of being fixed by the weights.

Tasks: Named entity recognition

ModelTransformers.js

q8: 174.9 MiB

q4f16: 233.9 MiB

fp16: 292.1 MiB

fp32: 583.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
onnx-community/gliner_small-v2.1
Natural languages
Not specified
Programming languages
Not specified
Other reported capabilities
Zero-shot entity types
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Apache-2.0

Deployment variants

q8
Download size: 174.9 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 8142fb00740ccea973e64b1272949ff48653df5e
Weight artifact ↗
q4f16
Download size: 233.9 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: 8142fb00740ccea973e64b1272949ff48653df5e
Weight artifact ↗
fp16
Download size: 292.1 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 8142fb00740ccea973e64b1272949ff48653df5e
Weight artifact ↗
fp32
Download size: 583.0 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 8142fb00740ccea973e64b1272949ff48653df5e
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

Application workflows

About Named entity recognition

Named entity recognition under Text holds 3 catalogue entries: 3 models.

3 of them carry browser evidence, all from upstream browser examples.

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 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
Smallest known weights
89.3 MiB
Browser evidence
3 of 3 verified

Named entity recognition: common questions

Can Named entity recognition run directly in a browser?
Yes. 3 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 Named entity recognition?
We verified the weight file sizes of 3 entries in this task; the smallest tier is 89.3 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 Named entity recognition?
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 →