leondz/wnut_17
Updated • 2.19k • 19
How to use Gladiator/roberta-large_ner_wnut_17 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Gladiator/roberta-large_ner_wnut_17") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Gladiator/roberta-large_ner_wnut_17")
model = AutoModelForTokenClassification.from_pretrained("Gladiator/roberta-large_ner_wnut_17", device_map="auto")This model is a fine-tuned version of roberta-large 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.1805 | 0.6403 | 0.6089 | 0.6242 | 0.9598 |
| No log | 2.0 | 426 | 0.1925 | 0.7314 | 0.5993 | 0.6588 | 0.9624 |
| 0.1192 | 3.0 | 639 | 0.1883 | 0.7088 | 0.6172 | 0.6598 | 0.9637 |
| 0.1192 | 4.0 | 852 | 0.2144 | 0.7289 | 0.6400 | 0.6815 | 0.9655 |
| 0.0301 | 5.0 | 1065 | 0.2288 | 0.7346 | 0.6256 | 0.6757 | 0.9650 |