tmnam20/VieGLUE
Updated • 30 • 1
How to use tmnam20/xlm-roberta-base-sst2-1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="tmnam20/xlm-roberta-base-sst2-1") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("tmnam20/xlm-roberta-base-sst2-1")
model = AutoModelForSequenceClassification.from_pretrained("tmnam20/xlm-roberta-base-sst2-1", device_map="auto")This model is a fine-tuned version of xlm-roberta-base on the tmnam20/VieGLUE/SST2 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 | Accuracy |
|---|---|---|---|---|
| 0.3646 | 0.24 | 500 | 0.3292 | 0.8555 |
| 0.3026 | 0.48 | 1000 | 0.4031 | 0.8658 |
| 0.2802 | 0.71 | 1500 | 0.3818 | 0.8716 |
| 0.2681 | 0.95 | 2000 | 0.3480 | 0.8693 |
| 0.2012 | 1.19 | 2500 | 0.3381 | 0.8819 |
| 0.2212 | 1.43 | 3000 | 0.3682 | 0.8784 |
| 0.2003 | 1.66 | 3500 | 0.3312 | 0.8899 |
| 0.2157 | 1.9 | 4000 | 0.3195 | 0.8899 |
| 0.1504 | 2.14 | 4500 | 0.3788 | 0.8933 |
| 0.1408 | 2.38 | 5000 | 0.4484 | 0.8819 |
| 0.1508 | 2.61 | 5500 | 0.4194 | 0.875 |
| 0.1604 | 2.85 | 6000 | 0.3730 | 0.8842 |
Base model
FacebookAI/xlm-roberta-base