Downloads · 30 days
4
13% of all-time downloads
amannagrawall002/bert-finetuned-ner
bert-finetuned-ner is a machine learning model from amannagrawall002. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
4
13% of all-time downloads
All-time downloads
30
Public
Parameters
108M
2.2 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 the conll2003 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.0775 | 1.0 | 1756 | 0.0694 | 0.8912 | 0.9273 | 0.9089 | 0.9817 |
| 0.0377 | 2.0 | 3512 | 0.0707 | 0.9245 | 0.9445 | 0.9344 | 0.9850 |
| 0.0243 | 3.0 | 5268 | 0.0671 | 0.9281 | 0.9465 | 0.9372 | 0.9855 |
| 0.0145 | 4.0 | 7024 | 0.0734 | 0.9353 | 0.9507 | 0.9429 | 0.9859 |
| 0.006 | 5.0 | 8780 | 0.0741 | 0.9341 | 0.9520 | 0.9430 | 0.9867 |
from transformers import pipeline
model_checkpoint = "amannagrawall002/bert-finetuned-ner" token_classifier = pipeline( "token-classification", model=model_checkpoint, aggregation_strategy="simple" )
print(token_classifier("My name is Sylvain and I work at Hugging Face in Brooklyn."))