BART-large-MNLI
Collection
Scores from using BART-large-MNLI as the teacher model • 17 items • Updated
How to use emotions-entailment/xlm-roberta-en-raw with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="emotions-entailment/xlm-roberta-en-raw") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("emotions-entailment/xlm-roberta-en-raw")
model = AutoModelForSequenceClassification.from_pretrained("emotions-entailment/xlm-roberta-en-raw")This model is a fine-tuned version of FacebookAI/xlm-roberta-base from English data. It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | F1 Micro | F1 Macro | Precision Micro | Recall Micro |
|---|---|---|---|---|---|---|---|
| 0.4010 | 1.0 | 10479 | 0.4013 | 0.8074 | 0.7520 | 0.8352 | 0.7813 |
| 0.4003 | 2.0 | 20958 | 0.3980 | 0.8276 | 0.7849 | 0.8391 | 0.8164 |
| 0.3958 | 3.0 | 31437 | 0.3970 | 0.8361 | 0.7937 | 0.8545 | 0.8185 |
Base model
FacebookAI/xlm-roberta-base