Training fold 4
Browse files
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: ayameRushia/roberta-base-indonesian-sentiment-analysis-smsa
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: best_roberta_model_fold_4
|
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 |
+
# best_roberta_model_fold_4
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [ayameRushia/roberta-base-indonesian-sentiment-analysis-smsa](https://huggingface.co/ayameRushia/roberta-base-indonesian-sentiment-analysis-smsa) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 1.2676
|
24 |
+
- Accuracy: 0.8546
|
25 |
+
- Precision: 0.8334
|
26 |
+
- Recall: 0.8336
|
27 |
+
- F1: 0.8334
|
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: 5e-05
|
47 |
+
- train_batch_size: 8
|
48 |
+
- eval_batch_size: 8
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 10
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
58 |
+
| No log | 1.0 | 252 | 0.4839 | 0.8446 | 0.8238 | 0.8057 | 0.8132 |
|
59 |
+
| 0.4291 | 2.0 | 504 | 0.8905 | 0.8287 | 0.8060 | 0.8194 | 0.8089 |
|
60 |
+
| 0.4291 | 3.0 | 756 | 0.9640 | 0.8426 | 0.8142 | 0.8170 | 0.8156 |
|
61 |
+
| 0.1372 | 4.0 | 1008 | 1.0182 | 0.8406 | 0.8198 | 0.8103 | 0.8139 |
|
62 |
+
| 0.1372 | 5.0 | 1260 | 1.1472 | 0.8386 | 0.8238 | 0.8051 | 0.8134 |
|
63 |
+
| 0.0264 | 6.0 | 1512 | 1.2455 | 0.8367 | 0.8145 | 0.8022 | 0.8078 |
|
64 |
+
| 0.0264 | 7.0 | 1764 | 1.3009 | 0.8406 | 0.8221 | 0.8074 | 0.8139 |
|
65 |
+
| 0.0072 | 8.0 | 2016 | 1.3084 | 0.8486 | 0.8314 | 0.8187 | 0.8238 |
|
66 |
+
| 0.0072 | 9.0 | 2268 | 1.2815 | 0.8486 | 0.8272 | 0.8258 | 0.8265 |
|
67 |
+
| 0.0063 | 10.0 | 2520 | 1.2676 | 0.8546 | 0.8334 | 0.8336 | 0.8334 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.41.2
|
73 |
+
- Pytorch 2.1.2
|
74 |
+
- Datasets 2.19.2
|
75 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ayameRushia/roberta-base-indonesian-sentiment-analysis-smsa",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "POSITIVE",
|
16 |
+
"1": "NEUTRAL",
|
17 |
+
"2": "NEGATIVE"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"NEGATIVE": 2,
|
23 |
+
"NEUTRAL": 1,
|
24 |
+
"POSITIVE": 0
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-05,
|
27 |
+
"max_position_embeddings": 514,
|
28 |
+
"model_type": "roberta",
|
29 |
+
"num_attention_heads": 12,
|
30 |
+
"num_hidden_layers": 12,
|
31 |
+
"pad_token_id": 1,
|
32 |
+
"position_embedding_type": "absolute",
|
33 |
+
"problem_type": "single_label_classification",
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.41.2",
|
36 |
+
"type_vocab_size": 1,
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 50265
|
39 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e6236d222a9a06763227a98c5c01351a06a7ac90fea0b81f97065a458795fad
|
3 |
+
size 498615900
|
runs/Jul10_12-52-09_138830ed5d6a/events.out.tfevents.1720615929.138830ed5d6a.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5e10ad39659b4e5011df5c236a29e79d44169ff2101e56c9ea975a80278c931
|
3 |
+
size 11316
|
runs/Jul10_12-52-09_138830ed5d6a/events.out.tfevents.1720617179.138830ed5d6a.34.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa06199970a5690898054b270095a30b35afea7dc327dd213c3f768598c16f37
|
3 |
+
size 560
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2a88ca9121f39955af8d881eede3b16402d6ad0a79d5e5a17335fc4ac10d4bf
|
3 |
+
size 5176
|