leondz/wnut_17
Updated • 4.02k • 19
How to use dmargutierrez/xlm-roberta-base-WNUT-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="dmargutierrez/xlm-roberta-base-WNUT-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("dmargutierrez/xlm-roberta-base-WNUT-ner")
model = AutoModelForTokenClassification.from_pretrained("dmargutierrez/xlm-roberta-base-WNUT-ner")This model is a fine-tuned version of xlm-roberta-base on the wnut_17 dataset. It achieves the following results on the evaluation set:
More information needed
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 | 213 | 0.2787 | 0.5650 | 0.3383 | 0.4232 | 0.9418 |
| No log | 2.0 | 426 | 0.2535 | 0.6225 | 0.4004 | 0.4873 | 0.9485 |
| 0.177 | 3.0 | 639 | 0.2773 | 0.6594 | 0.3911 | 0.4910 | 0.9497 |
| 0.177 | 4.0 | 852 | 0.2651 | 0.6098 | 0.4708 | 0.5314 | 0.9526 |
| 0.0551 | 5.0 | 1065 | 0.3076 | 0.6026 | 0.4652 | 0.5251 | 0.9514 |
| 0.0551 | 6.0 | 1278 | 0.3031 | 0.6343 | 0.4662 | 0.5374 | 0.9531 |
| 0.0551 | 7.0 | 1491 | 0.3319 | 0.6336 | 0.4680 | 0.5384 | 0.9523 |
| 0.0276 | 8.0 | 1704 | 0.3430 | 0.6508 | 0.4560 | 0.5362 | 0.9526 |
| 0.0276 | 9.0 | 1917 | 0.3342 | 0.6138 | 0.4773 | 0.5370 | 0.9521 |
| 0.0157 | 10.0 | 2130 | 0.3376 | 0.6252 | 0.4791 | 0.5425 | 0.9523 |