mmaguero/gua-spa-2023-task-1-2
Viewer • Updated • 1.5k • 13
How to use mmaguero/langid-ner-xlm-v-base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="mmaguero/langid-ner-xlm-v-base") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("mmaguero/langid-ner-xlm-v-base")
model = AutoModelForTokenClassification.from_pretrained("mmaguero/langid-ner-xlm-v-base")This model is a fine-tuned version of facebook/xlm-v-base on the task 1 and task 2 of GUA-SPA@IberLEF 2023 shared task dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 72 | 1.5829 | 0.5318 | 0.4706 | 0.4993 | 0.5808 |
| No log | 2.0 | 144 | 1.0009 | 0.5864 | 0.5495 | 0.5673 | 0.7504 |
| No log | 3.0 | 216 | 0.8142 | 0.6104 | 0.6124 | 0.6114 | 0.7966 |
| No log | 4.0 | 288 | 0.6806 | 0.6983 | 0.7047 | 0.7015 | 0.8404 |
| No log | 5.0 | 360 | 0.6066 | 0.7211 | 0.7223 | 0.7217 | 0.8448 |
| No log | 6.0 | 432 | 0.5607 | 0.7248 | 0.7357 | 0.7302 | 0.8672 |
| 0.9923 | 7.0 | 504 | 0.5318 | 0.7443 | 0.7450 | 0.7447 | 0.8802 |
| 0.9923 | 8.0 | 576 | 0.5072 | 0.7521 | 0.7584 | 0.7552 | 0.8806 |
| 0.9923 | 9.0 | 648 | 0.4955 | 0.7490 | 0.7584 | 0.7536 | 0.8796 |
| 0.9923 | 10.0 | 720 | 0.4924 | 0.7508 | 0.7609 | 0.7558 | 0.8802 |
Base model
facebook/xlm-v-base