alt.freeweights.vision / bert-base-NER-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject:

bert-base-NER-ONNX

Date: 2026-11-15Commit: 9faa2f4Signed: 2DC28CC7B26A283B ✓

Token classification model. Onnx weights, 1.35 GB in all. Published by onnx-community under MIT.

vision1.35GBbert-base-NER-ONNXonnxpermissive
FactsParamsnot statedSize1.35 GBFormatsonnxTasktoken classificationLicenseMITFrom sourcepermissive
$ fw get onnx-community/bert-base-NER-ONNX
# manifest sha256 ea91db94cd1a… · 1.35 GB · 16 files
$ fw verify ./bert-base-NER-ONNX onnx-community/bert-base-NER-ONNX
From sourceHosted (signed)onnx-community/bert-base-NER-ONNXLast check: 2026-11-15 05:02 UTC

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

Quantized of bert-base-NER.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Scan with

Overview

Size
1.35 GB
Weights
93.7 MB (smallest of 8 ONNX variants)
Parameters
not stated
Formats
onnx
Task
token classification
License
MIT (permissive)
Files
16, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: dslim/bert-base-NER

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 05:02 UTCpassed

Model card

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

bert-base-NER (ONNX)#

This is an ONNX version of dslim/bert-base-NER. It was automatically converted and uploaded using this Hugging Face Space.

Usage with Transformers.js#

See the pipeline documentation for token-classification: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.TokenClassificationPipeline


bert-base-NER#

If my open source models have been useful to you, please consider supporting me in building small, useful AI models for everyone (and help me afford med school / help out my parents financially). Thanks!

Buy Me A Coffee

Model description#

bert-base-NER is a fine-tuned BERT model that is ready to use for Named Entity Recognition and achieves state-of-the-art performance for the NER task. It has been trained to recognize four types of entities: location (LOC), organizations (ORG), person (PER) and Miscellaneous (MISC).

Specifically, this model is a bert-base-cased model that was fine-tuned on the English version of the standard CoNLL-2003 Named Entity Recognition dataset.

If you'd like to use a larger BERT-large model fine-tuned on the same dataset, a bert-large-NER version is also available.

Available NER models#
Model NameDescriptionParameters
distilbert-NER (NEW!)Fine-tuned DistilBERT - a smaller, faster, lighter version of BERT66M
bert-large-NERFine-tuned bert-large-cased - larger model with slightly better performance340M
bert-base-NER-(uncased)Fine-tuned bert-base, available in both cased and uncased versions110M

Intended uses & limitations#

How to use#

You can use this model with Transformers pipeline for NER.

from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline

tokenizer = AutoTokenizer.from_pretrained("dslim/bert-base-NER")
model = AutoModelForTokenClassification.from_pretrained("dslim/bert-base-NER")

nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "My name is Wolfgang and I live in Berlin"

ner_results = nlp(example)
print(ner_results)
Limitations and bias#

This model is limited by its training dataset of entity-annotated news articles from a specific span of time. This may not generalize well for all use cases in different domains. Furthermore, the model occassionally tags subword tokens as entities and post-processing of results may be necessary to handle those cases.

Training data#

This model was fine-tuned on English version of the standard CoNLL-2003 Named Entity Recognition dataset.

The training dataset distinguishes between the beginning and continuation of an entity so that if there are back-to-back entities of the same type, the model can output where the second entity begins. As in the dataset, each token will be classified as one of the following classes:

Abbreviation|Description -|- O|Outside of a named entity B-MISC |Beginning of a miscellaneous entity right after another miscellaneous entity I-MISC | Miscellaneous entity B-PER |Beginning of a person’s name right after another person’s name I-PER |Person’s name B-ORG |Beginning of an organization right after another organization I-ORG |organization B-LOC |Beginning of a location right after another location I-LOC |Location

CoNLL-2003 English Dataset Statistics#

This dataset was derived from the Reuters corpus which consists of Reuters news stories. You can read more about how this dataset was created in the CoNLL-2003 paper.

# of training examples per entity type#

Dataset|LOC|MISC|ORG|PER -|-|-|-|- Train|7140|3438|6321|6600 Dev|1837|922|1341|1842 Test|1668|702|1661|1617

# of articles/sentences/tokens per dataset#

Dataset |Articles |Sentences |Tokens -|-|-|- Train |946 |14,987 |203,621 Dev |216 |3,466 |51,362 Test |231 |3,684 |46,435

Training procedure#

This model was trained on a single NVIDIA V100 GPU with recommended hyperparameters from the original BERT paper which trained & evaluated the model on CoNLL-2003 NER task.

Eval results#

metric|dev|test -|-|- f1 |95.1 |91.3 precision |95.0 |90.7 recall |95.3 |91.9

The test metrics are a little lower than the official Google BERT results which encoded document context & experimented with CRF. More on replicating the original results here.

BibTeX entry and citation info#
@article{DBLP:journals/corr/abs-1810-04805,
  author    = {Jacob Devlin and
               Ming{-}Wei Chang and
               Kenton Lee and
               Kristina Toutanova},
  title     = {{BERT:} Pre-training of Deep Bidirectional Transformers for Language
               Understanding},
  journal   = {CoRR},
  volume    = {abs/1810.04805},
  year      = {2018},
  url       = {http://arxiv.org/abs/1810.04805},
  archivePrefix = {arXiv},
  eprint    = {1810.04805},
  timestamp = {Tue, 30 Oct 2018 20:39:56 +0100},
  biburl    = {https://dblp.org/rec/journals/corr/abs-1810-04805.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}
@inproceedings{tjong-kim-sang-de-meulder-2003-introduction,
    title = "Introduction to the {C}o{NLL}-2003 Shared Task: Language-Independent Named Entity Recognition",
    author = "Tjong Kim Sang, Erik F.  and
      De Meulder, Fien",
    booktitle = "Proceedings of the Seventh Conference on Natural Language Learning at {HLT}-{NAACL} 2003",
    year = "2003",
    url = "https://www.aclweb.org/anthology/W03-0419",
    pages = "142--147",
}

Files

16 files · 1.35 GBWeights 93.7 MB (smallest of 8 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 16 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md7.12 KB954716d2af746537598ef6fb7f97c0d53a055ea4834e83c67cc6a01d19f7e57a
config.json1.07 KBe5be6d68d7b6a7af53b759a4b7a3f57332100009ab1e798d70a7c8d8b90dcf3d
onnx/model.onnx431 MB8c7333b3c8345c86535d8739470fb65011aea09943375ea8a89e008c6463c018
onnx/model_bnb4.onnx139 MBc6fb7bbae9351c29a7f83b54e4e00d6eb07320d0c988add52bea1290ff35e96d
onnx/model_fp16.onnx216 MB3738498eae2bf81f247386667fff2074cbdc0085e5b8c155afd44883fb4762dd
onnx/model_int8.onnx109 MBb324e829f1fad3b897f926d1a1d1372803c6d04546831a3a2ed103652b916adf
onnx/model_q4.onnx145 MB8d370232c24058eae9e27b05845c406a103ad0793dbd88e1547dd49e4f8276e3
onnx/model_q4f16.onnx93.7 MB15efa3b81446543cc2e255825e452e66766aaadfe3ab11e21a3ca2984db5666d
onnx/model_quantized.onnx109 MBb324e829f1fad3b897f926d1a1d1372803c6d04546831a3a2ed103652b916adf
onnx/model_uint8.onnx109 MB82205ea6f29ad865269c1a0b0258e83e39d70097d81065e8cbff1980050f2eb7
quantize_config.json310 B9b60b5877b9a1687b5cddbc06124a974cb7536af9dbf5295279bf73c3823170c
special_tokens_map.json125 Bb6d346be366a7d1d48332dbc9fdf3bf8960b5d879522b7799ddba59e76237ee3
tokenizer.json669 KB343989712a36cd8b253efeaf8baf6a08b9d2583f78e395e83832e8ee9f8d8ee1
tokenizer_config.json1.29 KB803d7da011028b9d86782e977e04da377dc9783fe2230342d07f06e167857e99
vocab.txt213 KBeeaa9875b23b04b4c54ef759d03db9d1ba1554838f8fb26c5d96fa551df93d02
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
9faa2f4a2d pinned now2026-11-15 05:02 UTC16 files · 1.35 GB

Use it

$ fw get onnx-community/bert-base-NER-ONNX
# manifest sha256 ea91db94cd1a… · 1.35 GB · 16 files
$ fw verify ./bert-base-NER-ONNX onnx-community/bert-base-NER-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/bert-base-NER-ONNX.json --dir ./bert-base-NER-ONNX $ python3 fw.py verify ./bert-base-NER-ONNX ./onnx-community__bert-base-NER-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/bert-base-NER-ONNX --revision 9faa2f4a2d59b396888b318f596ff719cc893f1e --local-dir ./bert-base-NER-ONNX

License

Name
MIT License
Id
MIT
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
954716d2af746537598ef6fb7f97c0d53a055ea4834e83c67cc6a01d19f7e57a
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: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject: bert-base-NER-ONNXDate: 2026-11-15Commit: 9faa2f4Signed: 2DC28CC7B26A283B ✓
Upstream
onnx-community/bert-base-NER-ONNX
Pinned commit
9faa2f4a2d59b396888b318f596ff719cc893f1e
Manifest
bert-base-NER-ONNX.json · .minisig
Manifest sha256
ea91db94cd1a1a0935bd7aa59945c9dc0d6fb2e3596eaf6c2c37276119884963
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:02 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/bert-base-NER-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/bert-base-NER-ONNX.json.minisig $ minisign -Vm bert-base-NER-ONNX.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

Parent

dslim/bert-base-NER · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/bert-base-NER-ONNX
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. bert-base-NER-ONNX.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX