CoolFace
Modelpublic

Seb00927/NER-finetuned-BETO

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes13downloads
Model Card

Model Name: NER-finetuned-BETO

This is a BERT model fine-tuned for Named Entity Recognition (NER).

Model Description

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 [BETO](https://huggingface.co/NazaGara/NER-fine-tuned-BETO) 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/Seb00927/NER-finetuned-BETO

Github repository: https://github.com/paulrojasg/nlp4thworkshop

Training

Training Details

  • Epochs: 10
  • Learning Rate: 2e-05
  • Weight Decay: 0.01
  • Batch Size (Train): 16
  • Batch Size (Eval): 8

Training Metrics

EpochTraining LossValidation LossPrecisionRecallF1 ScoreAccuracy
10.01040.19150.83590.85680.84620.9701
20.01010.21870.82260.83870.83060.9676
30.00660.20850.85510.86370.85940.9699
40.00690.21390.83420.84310.83860.9698
50.00700.21100.84800.85360.85080.9708
60.00600.22140.83780.84970.84370.9703
70.00420.22840.84370.85960.85160.9704
80.00340.23440.84170.85660.84910.9702
90.00260.23850.84000.85800.84890.9698
100.00230.24120.84600.86100.85340.9704

Authors

Made by:

  • Paul Rodrigo Rojas Guerrero
  • Jose Luis Hincapie Bucheli
  • Sebastián Idrobo Avirama

With help from: