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

bert-base-NER

Date: 2026-11-15Commit: d1a3e8fSigned: 2DC28CC7B26A283B ✓

Token classification model with 108M parameters. Onnx and safetensors weights, 2.16 GB in all. Published by dslim under MIT.

108M params2.16GBbert-base-NERonnx safetensorspermissive
FactsParams108MSize2.16 GBFormatsonnx, safetensorsTasktoken classificationLicenseMITFrom sourcepermissive
$ fw get dslim/bert-base-NER
# manifest sha256 b09b19e257c4… · 2.16 GB · 18 files
$ fw verify ./bert-base-NER dslim/bert-base-NER
From sourceHosted (signed)dslim/bert-base-NERLast check: 2026-11-15 02:26 UTC

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

Works with

Overview

Size
2.16 GB
Weights
433 MB (safetensors)
Parameters
108M
Formats
onnx, safetensors
Task
token classification
License
MIT (permissive)
Files
18, each with a sha256
Publisher
dslim
Added
2026-11-15
Section
alt.freeweights.vision
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 02:26 UTCpassed

Model card

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

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

18 files · 2.16 GBWeights 433 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 18 files with their sha256
FileSizesha256
.gitattributes445 B98c91dabef4df27b2fc7c8454d220aba47476f73593cbd034d961fe4927304c1
README.md6.56 KBf570efa74d5f40eeafa35af45bc20ed6bdf49a5e517782218a23467d3bae576f
added_tokens.json2 B44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
config.json829 Ba5dc77a0d60dadf5645103017f3c7b8ece4ef1b450bc1ea68e17da1d3ae7e515
flax_model.msgpack431 MBa124466eab9adb43377d35d32afe77313fceeb16b74b106f3742884c666a2c1e
model.safetensors433 MBb04492186cfb45a64908487a17a9f8d6ddec3a403ef39db5bca688f0fa702a34
onnx/added_tokens.json82 B909e96cb32d92ce728a01bc99850cbba26196d74115c17ebeb019275412588f2
onnx/config.json999 Bbdc92243c070947117ec86391a257f5767a2bada249e57277269a5adcc39bd6a
onnx/model.onnx431 MB963039b81eec5b33e23d84826ccdf1e8f8ada776f320e692113034cfae384617
onnx/special_tokens_map.json125 Bb6d346be366a7d1d48332dbc9fdf3bf8960b5d879522b7799ddba59e76237ee3
onnx/tokenizer.json669 KB343989712a36cd8b253efeaf8baf6a08b9d2583f78e395e83832e8ee9f8d8ee1
onnx/tokenizer_config.json1.30 KBc40ba9de0d39653e7559a32aaded857f49256f7530544d2f2535b3ae07cf8ef8
onnx/vocab.txt213 KBeeaa9875b23b04b4c54ef759d03db9d1ba1554838f8fb26c5d96fa551df93d02
pytorch_model.bin433 MB4c0b01790e435da1337ea519d76e747427f2d3ee9c0e49b4952caa06298021f6
special_tokens_map.json112 B303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tf_model.h5434 MBba8245e6eefa4057300e93caef9d8360192914c271f15c8bd112283d357a954b
tokenizer_config.json59 B4c052d60b505817149a29e88c5292d7779ddecfadbfc6208729e61403ec558ba
vocab.txt213 KBeeaa9875b23b04b4c54ef759d03db9d1ba1554838f8fb26c5d96fa551df93d02
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
d1a3e8f13f pinned now2026-11-15 02:26 UTC18 files · 2.16 GB

Use it

$ fw get dslim/bert-base-NER
# manifest sha256 b09b19e257c4… · 2.16 GB · 18 files
$ fw verify ./bert-base-NER dslim/bert-base-NER
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/dslim/bert-base-NER.json --dir ./bert-base-NER $ python3 fw.py verify ./bert-base-NER ./dslim__bert-base-NER.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download dslim/bert-base-NER --revision d1a3e8f13f8c3566299d95fcfc9a8d2382a9affc --local-dir ./bert-base-NER

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
f570efa74d5f40eeafa35af45bc20ed6bdf49a5e517782218a23467d3bae576f
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: dslim <huggingface.co/dslim>Newsgroups: alt.freeweights.visionSubject: bert-base-NERDate: 2026-11-15Commit: d1a3e8fSigned: 2DC28CC7B26A283B ✓
Upstream
dslim/bert-base-NER
Pinned commit
d1a3e8f13f8c3566299d95fcfc9a8d2382a9affc
Manifest
bert-base-NER.json · .minisig
Manifest sha256
b09b19e257c4618735edf50a7e715ee91a03f017546579f90acde899eaa7ea3c
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:26 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

1 model in the catalog name this one as their parent.

Quantizations
1
Quantizations 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download dslim/bert-base-NER
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.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of bert-base-NER. Each has its own license check and page.

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