token-classification Β· text (uncased) Β· CPU WASM q8 Β· 110.84 MB Β· MIT

BERT-Base Uncased NER β€” CoNLL-2003 Entity & Redaction Studio

A 110M-parameter uncased BERT fine-tuned on CoNLL-2003 that finds people, organizations, locations, and miscellaneous entities even when capitalization is missing or erratic β€” handling lowercase chat threads, ALL-CAPS wire dispatches, and punctuation-free voice ASR transcripts off the main thread in your browser.

At a glance

Pipeline tasktoken-classification
ArchitectureBERT-Base Uncased Β· 12 layers Β· 110M params
TokenizerWordPiece 30,522 Β· do_lower_case: true
Artifact & quantmodel_quantized.onnx Β· q8 Β· 110.84 MB
BackendCPU WASM (Web Worker)
Labels (id2label)9 BIO Β· O MISC PER ORG LOC
Training dataCoNLL-2003 English
LicenseMIT
RuntimeTransformers.js 3.7.5
Web APIsWorkers Β· WebAssembly Β· Cache Storage

Run it β€” uncased entity extractor & redaction studio

Pick a lowercase, ALL-CAPS, or mixed-case preset, edit text, paste anywhere, or drop a file:

Presets run automatically once ready; click any highlighted entity span below to inspect its WordPieces.

Filter entity types:

Pipeline latency–
Entities shown–
WordPieces / units–
NaN check–
Softmax parity–
Backend Β· dtypeWASM Β· q8
PER Β· Person ORG Β· Organization LOC Β· Location MISC Β· Miscellaneous
Initialise the model above to tag entities live.

Redaction preview

Redacted output appears after inference.

Extracted entities

Extracted entity spans with type, confidence, character span, and WordPiece count
# Type Entity Score Span Pieces
Run the tagger to list entities.

See inside β€” uncased WordPiece tokens & 9-way BIO probabilities

Because dslim/bert-base-NER-uncased uses do_lower_case: true, every token in this table is lowercased before WordPiece splitting β€” yet character offsets [start, end) map faithfully back to your original casing.

Per-WordPiece BIO labels, scores, character spans, and top-3 softmax labels
Index WordPiece BIO tag Score Orig span Top-3 of 9 labels
No tokens yet.

Why uncased NER matters

Honest limits: CoNLL-2003 defines only four classes (PER, ORG, LOC, MISC) β€” no dates, currencies, emails, or phone numbers. Dropping case also means ambiguous lowercase words like apple or may depend entirely on surrounding sentence context (explored on the Wild rung).

Use-case ladder

Basics

Live aggregation_strategy (none vs simple vs first) + Original vs lowercase vs ALL-CAPS case-invariance proof.

Open Basics β†’

Practical

Cancellable FIFO batch ASR/log entity indexer & configurable redactor with multi-file CSV/JSON upload.

Open Practical β†’

Wild

Uncased homonym & polysemy stress lab (apple, may, paris, amazon, ASR loss, OOV tags).

Open Wild β†’

Multi-model

Stage 1 Whisper-Tiny EN (40.85 MB) β†’ Stage 2 BERT-Base Uncased NER (110.84 MB) voice-to-entity knowledge graph.

Open Multi-model β†’

How the API works

import { TRANSFORMERS_URL } from "../../lib/webai.js";
const { pipeline } = await import(TRANSFORMERS_URL);

const ner = await pipeline("token-classification", "Xenova/bert-base-NER-uncased", {
  device: "wasm",
  dtype: "q8", // onnx/model_quantized.onnx (110.84 MB total download)
});
const tokens = await ner("hey alexa call john smith in mountain view", { ignore_labels: [] });
Show the code β€” worker.js: runOne() (pipeline + 9-way softmax parity + uncased offsets)
Show the code β€” bert-ner-core.mjs: groupWordPieces() (none / simple / first / average / max)

References