Downloads · 30 days
11
3% of all-time downloads
Saketh/entity-recognition-general-sota-v1-finetuned-ner
entity-recognition-general-sota-v1-finetuned-ner is a token classification model from Saketh. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
11
3% of all-time downloads
All-time downloads
329
Public
Parameters
124M
496 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors496 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of numind/entity-recognition-general-sota-v1 on Babelscape/MultiNerd dataset.
It achieves the following results on the validation set:
The dataset if filtered on english language and sampled first 1M on train and 100k on validation. further filtered with data containing atleast one tag from labels2ids mentioned below. Training data - 131280 items Validation data - 16410 items
Trained on all tags from the MultiNERD dataset.
labels2ids = { "O": 0, "B-PER": 1, "I-PER": 2, "B-ORG": 3, "I-ORG": 4, "B-LOC": 5, "I-LOC": 6, "B-ANIM": 7, "I-ANIM": 8, "B-BIO": 9, "I-BIO": 10, "B-CEL": 11, "I-CEL": 12, "B-DIS": 13, "I-DIS": 14, "B-EVE": 15, "I-EVE": 16, "B-FOOD": 17, "I-FOOD": 18, "B-INST": 19, "I-INST": 20, "B-MEDIA": 21, "I-MEDIA": 22, "B-MYTH": 23, "I-MYTH": 24, "B-PLANT": 25, "I-PLANT": 26, "B-TIME": 27, "I-TIME": 28, "B-VEHI": 29, "I-VEHI": 30, }
HF Trainer module
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.0323 | 1.0 | 6564 | 0.0396 | 0.9138 | 0.9146 | 0.9142 | 0.9857 |
Evaluation on test set: {'eval_loss': 0.02707073651254177, 'eval_precision': 0.9378337879893957, 'eval_recall': 0.9518034704620784, 'eval_f1': 0.9447669917943954, 'eval_accuracy': 0.9901678553418342, 'eval_runtime': 133.0665, 'eval_samples_per_second': 247.305, 'eval_steps_per_second': 30.917}