tmnam20/VieGLUE
Updated • 30 • 1
How to use tmnam20/xlm-roberta-base-sst2-10 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="tmnam20/xlm-roberta-base-sst2-10") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("tmnam20/xlm-roberta-base-sst2-10")
model = AutoModelForSequenceClassification.from_pretrained("tmnam20/xlm-roberta-base-sst2-10", 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.3971 | 0.24 | 500 | 0.3420 | 0.8544 |
| 0.3266 | 0.48 | 1000 | 0.3271 | 0.8555 |
| 0.2831 | 0.71 | 1500 | 0.3069 | 0.8761 |
| 0.2752 | 0.95 | 2000 | 0.3220 | 0.8807 |
| 0.2286 | 1.19 | 2500 | 0.3367 | 0.8911 |
| 0.2294 | 1.43 | 3000 | 0.3194 | 0.8761 |
| 0.2055 | 1.66 | 3500 | 0.3312 | 0.8853 |
| 0.1902 | 1.9 | 4000 | 0.3307 | 0.8842 |
| 0.1645 | 2.14 | 4500 | 0.3608 | 0.8956 |
| 0.153 | 2.38 | 5000 | 0.3796 | 0.8888 |
| 0.1868 | 2.61 | 5500 | 0.3763 | 0.8842 |
| 0.1477 | 2.85 | 6000 | 0.3959 | 0.8830 |
Base model
FacebookAI/xlm-roberta-base