CoolFace
Modelpublic

paulrojasg/NER-finetuned-BETO

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes9downloads
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 [bert-base-cased](https://huggingface.co/google-bert/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/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.00650.20770.84360.85640.84990.9712
20.00620.23450.83180.85130.84150.9683
30.00690.21560.84640.84700.84670.9674
40.00640.21890.83560.84900.84230.9686
50.00550.23830.83730.84880.84300.9687
60.00500.23150.83340.85430.84380.9694
70.00370.23430.84280.85730.85000.9703
80.00310.24930.84000.85550.84770.9694
90.00240.24210.84780.86170.85470.9704
100.00230.24970.84320.85980.85140.9703

Authors

Made by:

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

With help from: