Model save
Browse files- README.md +79 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: xlm-roberta-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
model-index:
|
12 |
+
- name: xlm-roberta-base-twitter-indonesia-sarcastic
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# xlm-roberta-base-twitter-indonesia-sarcastic
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.7134
|
24 |
+
- Accuracy: 0.8843
|
25 |
+
- F1: 0.7634
|
26 |
+
- Precision: 0.7812
|
27 |
+
- Recall: 0.7463
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 1e-05
|
47 |
+
- train_batch_size: 32
|
48 |
+
- eval_batch_size: 64
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: cosine
|
52 |
+
- num_epochs: 100.0
|
53 |
+
- mixed_precision_training: Native AMP
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
58 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
59 |
+
| 0.5641 | 1.0 | 59 | 0.5260 | 0.75 | 0.0 | 0.0 | 0.0 |
|
60 |
+
| 0.5317 | 2.0 | 118 | 0.5030 | 0.75 | 0.0 | 0.0 | 0.0 |
|
61 |
+
| 0.4995 | 3.0 | 177 | 0.4656 | 0.75 | 0.0 | 0.0 | 0.0 |
|
62 |
+
| 0.4599 | 4.0 | 236 | 0.4503 | 0.7687 | 0.6026 | 0.5281 | 0.7015 |
|
63 |
+
| 0.4082 | 5.0 | 295 | 0.3785 | 0.8470 | 0.6435 | 0.7708 | 0.5522 |
|
64 |
+
| 0.3274 | 6.0 | 354 | 0.3605 | 0.8619 | 0.6992 | 0.7679 | 0.6418 |
|
65 |
+
| 0.2621 | 7.0 | 413 | 0.3765 | 0.8619 | 0.6838 | 0.8 | 0.5970 |
|
66 |
+
| 0.2332 | 8.0 | 472 | 0.3408 | 0.8769 | 0.7591 | 0.7429 | 0.7761 |
|
67 |
+
| 0.1579 | 9.0 | 531 | 0.4382 | 0.8731 | 0.7213 | 0.8 | 0.6567 |
|
68 |
+
| 0.1467 | 10.0 | 590 | 0.3855 | 0.8806 | 0.7895 | 0.7059 | 0.8955 |
|
69 |
+
| 0.098 | 11.0 | 649 | 0.4693 | 0.8806 | 0.7500 | 0.7869 | 0.7164 |
|
70 |
+
| 0.0929 | 12.0 | 708 | 0.6206 | 0.8806 | 0.7333 | 0.8302 | 0.6567 |
|
71 |
+
| 0.0555 | 13.0 | 767 | 0.7134 | 0.8843 | 0.7634 | 0.7812 | 0.7463 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.36.2
|
77 |
+
- Pytorch 2.1.1+cu121
|
78 |
+
- Datasets 2.15.0
|
79 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1112205008
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa220cda4f5a6c2f1e51486730ed41123cb41051eb20ab7f98697100e3f33edb
|
3 |
size 1112205008
|