leondz/wnut_17
Updated • 3.96k • 19
How to use dmargutierrez/bert-base-multilingual-cased-WNUT-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="dmargutierrez/bert-base-multilingual-cased-WNUT-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("dmargutierrez/bert-base-multilingual-cased-WNUT-ner")
model = AutoModelForTokenClassification.from_pretrained("dmargutierrez/bert-base-multilingual-cased-WNUT-ner")This model is a fine-tuned version of bert-base-multilingual-cased 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.2791 | 0.6008 | 0.2817 | 0.3836 | 0.9427 |
| No log | 2.0 | 426 | 0.2697 | 0.6520 | 0.3299 | 0.4382 | 0.9479 |
| 0.148 | 3.0 | 639 | 0.2846 | 0.5783 | 0.3661 | 0.4484 | 0.9492 |
| 0.148 | 4.0 | 852 | 0.3032 | 0.6248 | 0.3642 | 0.4602 | 0.9500 |
| 0.0413 | 5.0 | 1065 | 0.3355 | 0.5729 | 0.3568 | 0.4397 | 0.9495 |
| 0.0413 | 6.0 | 1278 | 0.3343 | 0.5714 | 0.3892 | 0.4631 | 0.9501 |
| 0.0413 | 7.0 | 1491 | 0.3522 | 0.5877 | 0.3818 | 0.4629 | 0.9500 |
| 0.0182 | 8.0 | 1704 | 0.3844 | 0.6120 | 0.3698 | 0.4610 | 0.9499 |
| 0.0182 | 9.0 | 1917 | 0.3847 | 0.5986 | 0.3828 | 0.4669 | 0.9504 |
| 0.008 | 10.0 | 2130 | 0.3832 | 0.5914 | 0.3809 | 0.4634 | 0.9501 |