SAVRN
Search Contact SAVRN

Open-weight model · Token classification

bert-large-NER

by D dslim/bert-large-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!

Parameters334M
Context512
Weights6.7 GB
Licensemit
AccessOpen weights
Monthly Downloads157.2k

Runs On

What it takes to serve bert-large-NER (334M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.7 GB 0.8 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.3 GB 0.4 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.2 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By D, published under mit, revision 6fe43d9ec0bb.

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-large-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-large-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 smaller BERT model fine-tuned on the same dataset, a bert-base-NER version is also available.

Intended uses & limitations

How to use

You can use this model with Transformers pipeline for NER.

Read the full model card (621 words)

Configuration

Architecture
BertForTokenClassification
Context length (tokens)
512
Layers
24
Hidden size
1,024
Feed-forward size
4,096
Attention heads
16
Vocabulary size
28,996
Model type
bert

Identity and Version

Repository
dslim/bert-large-NER
Publisher
D
Task
Token classification
Modality
Text
Library
transformers
Parameters
334M parameters
Languages
en
Revision
6fe43d9ec0bba0f67e367ecd74399216fc409c7f
First published
2022-03-02
Last updated
2024-10-08

Files and Weights

17 files, 6.7 GB in total. The weights are 5 files totalling 6.7 GB in bin, h5, msgpack, onnx, safetensors.

Weights5 files · 6.7 GB
Configuration5 files · 3.0 KB
Tokenizer5 files · 1.1 MB
Documentation1 file · 5.9 KB
Repository1 file · 445 B
Every file
FileTypeSizeSHA-256
flax_model.msgpackWeights1.3 GB d63d39520929
model.safetensorsWeights1.3 GB 81d6a7a3967f
onnx/model.onnxWeights1.3 GB 46ba1e057362
pytorch_model.binWeights1.3 GB db4d615a10a1
tf_model.h5Weights1.3 GB febce5a7915f
config.jsonConfiguration1.4 KB
onnx/added_tokens.jsonConfiguration82 B
onnx/config.jsonConfiguration1.2 KB
onnx/special_tokens_map.jsonConfiguration125 B
special_tokens_map.jsonConfiguration112 B
README.mdDocumentation5.9 KB
.gitattributesRepository445 B
onnx/tokenizer.jsonTokenizer668.9 KB
onnx/tokenizer_config.jsonTokenizer1.3 KB
onnx/vocab.txtTokenizer213.4 KB
tokenizer_config.jsonTokenizer40 B
vocab.txtTokenizer213.4 KB

License and Download

License
mit
Access
Open weights, no gate
Download size
6.7 GB
Download from D

Released by D through its official repository on Hugging Face. Read the license.

Built From

Evaluations

Each result is shown as reported, with the conditions its reporter stated. None is a SAVRN measurement. A comparison lines two results up only when their configuration, unit and setup are all stated and identical.

BenchmarkConditionsResultReported byRevisionDate
conll2003 Configuration conll2003Task Token ClassificationMetric AccuracyComparison conditions not established 0.903169 dslim
Publisher reported
Evaluated revision not stated
conll2003 Configuration conll2003Task Token ClassificationMetric F1Comparison conditions not established 0.919697 dslim
Publisher reported
Evaluated revision not stated
conll2003 Configuration conll2003Task Token ClassificationMetric PrecisionComparison conditions not established 0.920025 dslim
Publisher reported
Evaluated revision not stated
conll2003 Configuration conll2003Task Token ClassificationMetric RecallComparison conditions not established 0.919369 dslim
Publisher reported
Evaluated revision not stated
conll2003 Configuration conll2003Task Token ClassificationMetric lossComparison conditions not established 0.508505 dslim
Publisher reported
Evaluated revision not stated

Memory Requirements

PrecisionWeights in memory
As published6.7 GB
16-bit0.7 GB
8-bit0.3 GB
4-bit0.2 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About bert-large-NER

How much GPU memory does bert-large-NER need?

About 0.8 GB at 16-bit and 0.2 GB at 4-bit: the weights (334M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run bert-large-NER on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use bert-large-NER commercially?

Yes. bert-large-NER is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

What is bert-large-NER's context length?

512 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Token classification

OpenMed-NER-DiseaseDetect-BioMed-335M

OpenMed

Specialized model for Disease Entity Recognition - Disease entities from the BC5CDR dataset This model is a state-of-the-art fine-tuned transformer engineered to deliver enterprise-grade accuracy for disease entity recognition - disease entities from the bc5cdr dataset. This specialized model excels at identifying and extracting biomedical entities from clinical texts, research papers, and healthcare documents, enabling applications such as drug interaction detection, medication extraction from patient records, adverse event monitoring, literature mining for drug discovery, and biomedical knowledge graph construction with production-ready reliability for clinical and research applications.…

Open weights apache-2.0 334M parameters 512 tokens transformers

Model · Token classification

OpenMed-NER-GenomicDetect-PubMed-335M

OpenMed

Specialized model for Gene Entity Recognition - Gene-related entities This model is a state-of-the-art fine-tuned transformer engineered to deliver enterprise-grade accuracy for gene entity recognition - gene-related entities. This specialized model excels at identifying and extracting biomedical entities from clinical texts, research papers, and healthcare documents, enabling applications such as drug interaction detection, medication extraction from patient records, adverse event monitoring, literature mining for drug discovery, and biomedical knowledge graph construction with production-ready reliability for clinical and research applications. This model can identify and classify the…

Open weights apache-2.0 334M parameters 512 tokens transformers

Model · Token classification

deid_roberta_i2b2

One Brave Idea

A RoBERTa [[Liu et al., 2019]](https://arxiv.org/pdf/1907.11692.pdf) model fine-tuned for de-identification of medical notes. A token can either be classified as non-PHI or as one of the 11 PHI types. Token predictions are aggregated to spans by making use of BILOU tagging. The PHI labels that were used for training and other details can be found here: Annotation Guidelines More details on how to use this model, the format of data and other useful information is present in the GitHub repo: Robust DeID. A demo on how the model works (using model predictions to de-identify a medical note) is on this space: Medical-Note-Deidentification. Steps on how this model can be used to run a forward…

Open weights mit 354M parameters 514 tokens transformers

Model · Token classification

gliner2.5-multi-v1

Fastino

GLiNER2.5 Multi is the multilingual boundary checkpoint. It is built on mDeBERTa-v3-base and is the default choice when you need entities, classification, records, and relations in one model across languages. Load it with AutoExtractor: the checkpoint's architecture field selects BoundaryExtractor automatically. Fine-tune via Fastino. Join discussions on Reddit. This card is for fastino/gliner2.5-multi-v1. All three checkpoints share the same public API. Python 3.10 or newer is required. The [local] extra pulls in PyTorch so you can load Hub checkpoints. Always use AutoExtractor for GLiNER2.5. GLiNER2.frompretrained(...) is the legacy span loader and will not dispatch this checkpoint.…

Open weights apache-2.0 287M parameters gliner2

william (at) integrinet [dot] org Piiranha (cc-by-nc-nd-4.0 license) is trained to detect 17 types of Personally Identifiable Information (PII) across six languages. It successfully catches 98.27% of PII tokens, with an overall classification accuracy of 99.44%. Piiranha is especially accurate at detecting passwords, emails (100%), phone numbers, and usernames. Performance on PII vs. Non PII classification task: Piiranha was trained on H100 GPUs generously sponsored by the Akash Network Piiranha is a fine-tuned version of microsoft/mdeberta-v3-base. The context length is 256 Deberta tokens. If your text is longer than that, just split it up. Supported PII types: Account Number, Building…

Open weights cc-by-nc-nd-4.0 278M parameters 512 tokens transformers