AmazonScience/massive
Viewer • Updated • 2.56M • 13.1k • 87
How to use stepanom/XLMRoberta-base-amazon-massive-NER with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="stepanom/XLMRoberta-base-amazon-massive-NER") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("stepanom/XLMRoberta-base-amazon-massive-NER")
model = AutoModelForTokenClassification.from_pretrained("stepanom/XLMRoberta-base-amazon-massive-NER")This model is a fine-tuned version of xlm-roberta-base on the MASSIVE 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 |
|---|---|---|---|---|---|---|---|
| 0.9645 | 1.0 | 720 | 0.4148 | 0.4631 | 0.4177 | 0.4154 | 0.8950 |
| 0.4421 | 2.0 | 1440 | 0.3181 | 0.5808 | 0.6001 | 0.5780 | 0.9154 |
| 0.2514 | 3.0 | 2160 | 0.2907 | 0.6189 | 0.6243 | 0.6123 | 0.9200 |
| 0.2117 | 4.0 | 2880 | 0.2967 | 0.6522 | 0.6351 | 0.6352 | 0.9252 |
| 0.1592 | 5.0 | 3600 | 0.3090 | 0.6288 | 0.6923 | 0.6520 | 0.9233 |
| 0.131 | 6.0 | 4320 | 0.2961 | 0.6619 | 0.6693 | 0.6546 | 0.9282 |
| 0.1054 | 7.0 | 5040 | 0.3147 | 0.6424 | 0.6762 | 0.6498 | 0.9260 |
| 0.0923 | 8.0 | 5760 | 0.3171 | 0.6447 | 0.6945 | 0.6614 | 0.9257 |
| 0.0845 | 9.0 | 6480 | 0.3328 | 0.6434 | 0.6791 | 0.6539 | 0.9256 |
| 0.0691 | 10.0 | 7200 | 0.3314 | 0.6628 | 0.6834 | 0.6635 | 0.9264 |
Base model
FacebookAI/xlm-roberta-base