choiruzzia commited on
Commit
75224ea
·
verified ·
1 Parent(s): f63523e

Training fold 3

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_3
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_3
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: 0.6566
24
+ - Accuracy: 0.8566
25
+ - Precision: 0.8385
26
+ - Recall: 0.8215
27
+ - F1: 0.8286
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.6056 | 0.8307 | 0.8493 | 0.7768 | 0.7998 |
59
+ | 0.4224 | 2.0 | 504 | 0.6566 | 0.8566 | 0.8385 | 0.8215 | 0.8286 |
60
+ | 0.4224 | 3.0 | 756 | 0.8546 | 0.8506 | 0.8410 | 0.8094 | 0.8211 |
61
+ | 0.1153 | 4.0 | 1008 | 0.9318 | 0.8446 | 0.8220 | 0.8093 | 0.8146 |
62
+ | 0.1153 | 5.0 | 1260 | 1.0414 | 0.8367 | 0.8297 | 0.7856 | 0.7984 |
63
+ | 0.0403 | 6.0 | 1512 | 1.1900 | 0.8327 | 0.8118 | 0.7848 | 0.7945 |
64
+ | 0.0403 | 7.0 | 1764 | 1.1295 | 0.8406 | 0.8143 | 0.8041 | 0.8086 |
65
+ | 0.0107 | 8.0 | 2016 | 1.2422 | 0.8327 | 0.8164 | 0.7927 | 0.8004 |
66
+ | 0.0107 | 9.0 | 2268 | 1.1965 | 0.8386 | 0.8170 | 0.8013 | 0.8079 |
67
+ | 0.0003 | 10.0 | 2520 | 1.2360 | 0.8426 | 0.8212 | 0.8025 | 0.8103 |
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:56da5cb79803eb20035a9170665f325db7f3cc1a96cad6ddb181b3e44dd1740d
3
+ size 498615900
runs/Jul10_11-15-01_d7e180f22cd6/events.out.tfevents.1720610102.d7e180f22cd6.34.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d9b303e18ea485ed5e4c6db6b7ade9bd0c0d55a1a035c12a09f46dae7d8f903
3
+ size 11316
runs/Jul10_11-15-01_d7e180f22cd6/events.out.tfevents.1720611383.d7e180f22cd6.34.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4709e213a6358b050f5dac50968132399669b001bbde969828240079766de013
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c405803d583645959e04e2a4bef300ebc71e8271c51816cd82adf00369be4f9
3
+ size 5176