AI SeedbankHelp preserve open and free AI for humanity's future

← All models

dslim_bert-base-NER

dslim · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


language: en datasets:

  • conll2003 license: mit model-index:
  • name: dslim/bert-base-NER results:
    • task: type: token-classification name: Token Classification dataset: name: conll2003 type: conll2003 config: conll2003 split: test metrics:
      • name: Accuracy type: accuracy value: 0.9118041001560013 verified: true
      • name: Precision type: precision value: 0.9211550382257732 verified: true
      • name: Recall type: recall value: 0.9306415698281261 verified: true
      • name: F1 type: f1 value: 0.9258740048459675 verified: true
      • name: loss type: loss value: 0.48325642943382263 verified: true

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!

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 Name Description Parameters
distilbert-NER (NEW!) Fine-tuned DistilBERT - a smaller, faster, lighter version of BERT 66M
bert-large-NER Fine-tuned bert-large-cased - larger model with slightly better performance 340M
bert-base-NER-(uncased) Fine-tuned bert-base, available in both cased and uncased versions 110M

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",
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:220b2062ebf41414bea3a188c854a3a5105cb856&dn=dslim_bert-base-NER

Open magnet in torrent client · infohash 220b2062ebf41414bea3a188c854a3a5105cb856

Files & hashes

PathSizesha1sha256
README.md6.4 KB (6,558 B)79e17be6ce6132747f665546f8c069ee1a010f50f570efa74d5f40eeafa35af45bc20ed6bdf49a5e517782218a23467d3bae576f
added_tokens.json2 B (2 B)9e26dfeeb6e641a33dae4961196235bdb965b21b44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
config.json829 B (829 B)5ba43fd83a747fd40b3934d74f658ab2661a4c75a5dc77a0d60dadf5645103017f3c7b8ece4ef1b450bc1ea68e17da1d3ae7e515
model.safetensors413.2 MB (433,292,294 B)d64469b240c4319032b5ef367c78ab2a69af556cb04492186cfb45a64908487a17a9f8d6ddec3a403ef39db5bca688f0fa702a34
onnx/added_tokens.json82 B (82 B)f84095a3e2962f44bdd2f865e4333c35ae95d73f909e96cb32d92ce728a01bc99850cbba26196d74115c17ebeb019275412588f2
onnx/config.json999 B (999 B)f793ed04cfb0e243fadf3c259aed66dd1b9321fcbdc92243c070947117ec86391a257f5767a2bada249e57277269a5adcc39bd6a
onnx/special_tokens_map.json125 B (125 B)a8b3208c2884c4efb86e49300fdd3dc877220cdfb6d346be366a7d1d48332dbc9fdf3bf8960b5d879522b7799ddba59e76237ee3
onnx/tokenizer.json653.2 KB (668,923 B)fa2bcd3f728c1ea04d60ee761a0773a6b6aa9324343989712a36cd8b253efeaf8baf6a08b9d2583f78e395e83832e8ee9f8d8ee1
onnx/tokenizer_config.json1.3 KB (1,296 B)a78d9bcbc6bbfdbaea4cd22e70b1caa0eb585c5dc40ba9de0d39653e7559a32aaded857f49256f7530544d2f2535b3ae07cf8ef8
onnx/vocab.txt208.4 KB (213,450 B)2ea941cc79a6f3d7985ca6991ef4f67dad62af04eeaa9875b23b04b4c54ef759d03db9d1ba1554838f8fb26c5d96fa551df93d02
pytorch_model.bin413.2 MB (433,316,646 B)8d02052cb1e794b077deeba75f64e613f4c2a91f4c0b01790e435da1337ea519d76e747427f2d3ee9c0e49b4952caa06298021f6
special_tokens_map.json112 B (112 B)e7b0375001f109a6b8873d756ad4f7bbb15fbaa5303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tokenizer_config.json59 B (59 B)55eff66c65a207adf4c141ab9426580d6d12102a4c052d60b505817149a29e88c5292d7779ddecfadbfc6208729e61403ec558ba
vocab.txt208.4 KB (213,450 B)2ea941cc79a6f3d7985ca6991ef4f67dad62af04eeaa9875b23b04b4c54ef759d03db9d1ba1554838f8fb26c5d96fa551df93d02

Cite this release

Canonical URL
https://aiseedbank.org/models/dslim_bert-base-NER/
Slug
dslim_bert-base-NER
Infohash
220b2062ebf41414bea3a188c854a3a5105cb856
License
mit
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: dslim_bert-base-NER.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorydslim/bert-base-NER
Revision (pinned)d1a3e8f13f8c3566299d95fcfc9a8d2382a9affc
Fetched at2026-09-03T22:23:28Z
License at fetchmit
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-03T22:23:38Z

mit827.5 MB (867,714,825 bytes)transformerspytorchjaxonnxsafetensorsberttoken-classificationmodel-indexendpoints_compatible2 languages (tf, en)paper: 1810.04805