Downloads · 30 days
11
2% of all-time downloads
BeardedJohn/bert-finetuned-ner-per-v2
bert-finetuned-ner-per-v2 is a token classification model from BeardedJohn. 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.
probably proofread and complete it, then remove this comment. --
Downloads · 30 days
11
2% of all-time downloads
All-time downloads
493
Public
Repo size
6 GB
Likes
0
Public
Click a slice to open those files.
.h5431 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of BERT on three datasets:
It achieves the following results on the conll-endava mixed, second version evaluation set:
It achieves the following results on the NERPERDemo evaluation set:
It achieves the following results on the wikiann evaluation set:
The model is a fine-tuned version of BERT with the intent of solving the NER task. It is trained to recognize four classes of entities:
It can be used as a general purpose model for recognizing the 4 mentioned entities, but it may have some phrase specific bias introduced by the two datasets (conll-endava and NERPERDemo). The model is part of a project and is fine-tuned to meet the specific requirements, but feel free to test it in your own environment as it has fine-tuned on general data too.
Training and evaluation data are from the three mentioned datasets.
Training is inspired from HuggingFace tutorial.
The following hyperparameters were used during training:
On conll-endava mixed, second version:
| Train Loss | Validation Loss | Epoch |
|---|---|---|
| 0.2091 | 0.0391 | 0 |
| 0.0336 | 0.0322 | 1 |
| 0.0190 | 0.0310 | 2 |
On NERPERDemo:
| Train Loss | Validation Loss | Epoch |
|---|---|---|
| 0.0202 | 0.0005 | 0 |
| 0.0009 | 0.0002 | 1 |
| 0.0005 | 0.0002 | 2 |
On wikiann:
| Train Loss | Validation Loss | Epoch |
|---|---|---|
| 0.2975 | 0.2869 | 0 |
| 0.1755 | 0.2934 | 1 |
| 0.1217 | 0.3073 | 2 |