Downloads · 30 days
4
8% of all-time downloads
paulrojasg/bert-finetuned-ner-1
bert-finetuned-ner-1 is a token classification model from paulrojasg. 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.
This is a BERT model fine-tuned for Named Entity Recognition (NER).
Downloads · 30 days
4
8% of all-time downloads
All-time downloads
52
Public
Parameters
108M
32.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors431 MB · 100%
From the Hugging Face model README
This is a BERT model fine-tuned for Named Entity Recognition (NER).
This is a fine-tuned BERT model for Named Entity Recognition (NER) task using CONLL2002 dataset.
In the first part, the dataset must be pre-processed in order to give it to the model. This is done using the 🤗 Transformers and BERT tokenizers. Once this is done, finetuning is applied from bert-base-cased and using the 🤗 AutoModelForTokenClassification.
Finally, the model is trained obtaining the neccesary metrics for evaluating its performance (Precision, Recall, F1 and Accuracy)
Summary of executed tests can be found in: https://docs.google.com/spreadsheets/d/1lI7skNIvRurwq3LA5ps7JFK5TxToEx4s7Kaah3ezyQc/edit?usp=sharing
Model can be found in: https://huggingface.co/paulrojasg/bert-finetuned-ner-1
Github repository: https://github.com/paulrojasg/nlp_4th_workshop
| Epoch | Training Loss | Validation Loss | Precision | Recall | F1 Score | Accuracy |
|---|---|---|---|---|---|---|
| 1 | 0.1729 | 0.1462 | 0.6739 | 0.7376 | 0.7043 | 0.9590 |
| 2 | 0.0750 | 0.1432 | 0.7030 | 0.7684 | 0.7342 | 0.9625 |
| 3 | 0.0496 | 0.1394 | 0.7725 | 0.7983 | 0.7852 | 0.9667 |
| 4 | 0.0351 | 0.1460 | 0.7678 | 0.8017 | 0.7844 | 0.9672 |
| 5 | 0.0255 | 0.1521 | 0.7656 | 0.8081 | 0.7863 | 0.9678 |
| 6 | 0.0182 | 0.1709 | 0.7573 | 0.8015 | 0.7787 | 0.9667 |
| 7 | 0.0134 | 0.1753 | 0.7794 | 0.8159 | 0.7973 | 0.9691 |
| 8 | 0.0110 | 0.1806 | 0.7674 | 0.8125 | 0.7893 | 0.9685 |
| 9 | 0.0080 | 0.1938 | 0.7724 | 0.8139 | 0.7926 | 0.9683 |
| 10 | 0.0072 | 0.1938 | 0.7722 | 0.8139 | 0.7925 | 0.9685 |
Made by:
With help from: