Downloads · 30 days
8
6% of all-time downloads
7beshoyarnest/bert-finetuned-ner
bert-finetuned-ner is a token classification model from 7beshoyarnest. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
8
6% of all-time downloads
All-time downloads
145
Public
Parameters
108M
4.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors431 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of bert-base-cased on unimelb-nlp/wikiann dataset English Language . It achieves the following results on the evaluation set:
This model is a BERT-based Named Entity Recognition (NER) system fine-tuned from bert-base-cased for English token classification.
It identifies and classifies named entities using the BIO tagging scheme across the following entity types:
PER (Person)
ORG (Organization)
LOC (Location)
O (Outside)
The model processes tokenized text and outputs entity spans using contextualized embeddings learned through transformer self-attention mechanisms.
Intended Uses
Information extraction from English text
Named entity recognition in NLP pipelines
Academic research and educational projects
Preprocessing step for downstream tasks (e.g., relation extraction, QA)
Limitations
Trained only on English data
Performance may degrade on domain-specific text (medical, legal, informal)
Limited to PER, ORG, LOC entity types
Sensitive to tokenization artifacts in noisy or misspelled text
The model was trained and evaluated using the WikiAnn (PAN-X) dataset for English.
Dataset Details
Multilingual, Wikipedia-based NER corpus
Automatically annotated
BIO labeling scheme
Final Data Split
Training: 30,000 sentences
Validation: 5,000 sentences
Test: 5,000 sentences
Entity Labels
O, B-PER, I-PER, B-ORG, I-ORG, B-LOC, I-LOC
Base Model: bert-base-cased
Framework: Hugging Face Transformers
Task: Token Classification (NER)
Epochs: 3
Learning Rate: 2e-5
Optimizer: AdamW
Weight Decay: 0.01
Evaluation Metric: SeqEval (Precision, Recall, F1, Accuracy)
Label Alignment: Subword-aware BIO label propagation
Trainer API: Hugging Face Trainer
The model was evaluated after each epoch and achieved strong overall performance on the held-out test set.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.2821 | 1.0 | 3750 | 0.2421 | 0.7914 | 0.8387 | 0.8143 | 0.9259 |
| 0.1919 | 2.0 | 7500 | 0.2524 | 0.8163 | 0.8433 | 0.8296 | 0.9289 |
| 0.1307 | 3.0 | 11250 | 0.2904 | 0.8249 | 0.8498 | 0.8372 | 0.9311 |