Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: mit
|
5 |
+
base_model: xlm-roberta-base
|
6 |
+
tags:
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- tmnam20/VieGLUE
|
10 |
+
metrics:
|
11 |
+
- accuracy
|
12 |
+
model-index:
|
13 |
+
- name: xlm-roberta-base-sst2-1
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Text Classification
|
17 |
+
type: text-classification
|
18 |
+
dataset:
|
19 |
+
name: tmnam20/VieGLUE/SST2
|
20 |
+
type: tmnam20/VieGLUE
|
21 |
+
config: sst2
|
22 |
+
split: validation
|
23 |
+
args: sst2
|
24 |
+
metrics:
|
25 |
+
- name: Accuracy
|
26 |
+
type: accuracy
|
27 |
+
value: 0.8818807339449541
|
28 |
+
---
|
29 |
+
|
30 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
31 |
+
should probably proofread and complete it, then remove this comment. -->
|
32 |
+
|
33 |
+
# xlm-roberta-base-sst2-1
|
34 |
+
|
35 |
+
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the tmnam20/VieGLUE/SST2 dataset.
|
36 |
+
It achieves the following results on the evaluation set:
|
37 |
+
- Loss: 0.3886
|
38 |
+
- Accuracy: 0.8819
|
39 |
+
|
40 |
+
## Model description
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Intended uses & limitations
|
45 |
+
|
46 |
+
More information needed
|
47 |
+
|
48 |
+
## Training and evaluation data
|
49 |
+
|
50 |
+
More information needed
|
51 |
+
|
52 |
+
## Training procedure
|
53 |
+
|
54 |
+
### Training hyperparameters
|
55 |
+
|
56 |
+
The following hyperparameters were used during training:
|
57 |
+
- learning_rate: 2e-05
|
58 |
+
- train_batch_size: 32
|
59 |
+
- eval_batch_size: 16
|
60 |
+
- seed: 1
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- num_epochs: 3.0
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
+
| 0.3646 | 0.24 | 500 | 0.3292 | 0.8555 |
|
70 |
+
| 0.3026 | 0.48 | 1000 | 0.4031 | 0.8658 |
|
71 |
+
| 0.2802 | 0.71 | 1500 | 0.3818 | 0.8716 |
|
72 |
+
| 0.2681 | 0.95 | 2000 | 0.3480 | 0.8693 |
|
73 |
+
| 0.2012 | 1.19 | 2500 | 0.3381 | 0.8819 |
|
74 |
+
| 0.2212 | 1.43 | 3000 | 0.3682 | 0.8784 |
|
75 |
+
| 0.2003 | 1.66 | 3500 | 0.3312 | 0.8899 |
|
76 |
+
| 0.2157 | 1.9 | 4000 | 0.3195 | 0.8899 |
|
77 |
+
| 0.1504 | 2.14 | 4500 | 0.3788 | 0.8933 |
|
78 |
+
| 0.1408 | 2.38 | 5000 | 0.4484 | 0.8819 |
|
79 |
+
| 0.1508 | 2.61 | 5500 | 0.4194 | 0.875 |
|
80 |
+
| 0.1604 | 2.85 | 6000 | 0.3730 | 0.8842 |
|
81 |
+
|
82 |
+
|
83 |
+
### Framework versions
|
84 |
+
|
85 |
+
- Transformers 4.35.2
|
86 |
+
- Pytorch 2.2.0.dev20231203+cu121
|
87 |
+
- Datasets 2.15.0
|
88 |
+
- Tokenizers 0.15.0
|