AptaArkana commited on
Commit
1913ad4
1 Parent(s): 7901c64

Model save

Browse files
README.md CHANGED
@@ -1,8 +1,9 @@
1
  ---
2
- license: mit
3
- base_model: hanifnoerr/Fine-tuned-Indonesian-Sentiment-Classifier
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  - precision
@@ -10,7 +11,29 @@ metrics:
10
  - f1
11
  model-index:
12
  - name: sentiment
13
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  ---
15
 
16
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -18,13 +41,13 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  # sentiment
20
 
21
- This model is a fine-tuned version of [hanifnoerr/Fine-tuned-Indonesian-Sentiment-Classifier](https://huggingface.co/hanifnoerr/Fine-tuned-Indonesian-Sentiment-Classifier) on the None dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 0.6815
24
- - Accuracy: 0.7266
25
- - Precision: 0.7267
26
- - Recall: 0.7266
27
- - F1: 0.7267
28
 
29
  ## Model description
30
 
@@ -44,24 +67,33 @@ More information needed
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: 2
 
53
 
54
  ### Training results
55
 
56
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
57
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
58
- | 0.7972 | 1.0 | 1301 | 0.6830 | 0.7120 | 0.7230 | 0.7120 | 0.7073 |
59
- | 0.5085 | 2.0 | 2602 | 0.6815 | 0.7266 | 0.7267 | 0.7266 | 0.7267 |
 
 
 
 
 
 
 
 
60
 
61
 
62
  ### Framework versions
63
 
64
- - Transformers 4.37.2
65
  - Pytorch 2.1.0+cu121
66
  - Datasets 2.17.1
67
  - Tokenizers 0.15.2
 
1
  ---
2
+ base_model: naufalihsan/indonesian-sbert-large
 
3
  tags:
4
  - generated_from_trainer
5
+ datasets:
6
+ - indonlu
7
  metrics:
8
  - accuracy
9
  - precision
 
11
  - f1
12
  model-index:
13
  - name: sentiment
14
+ results:
15
+ - task:
16
+ name: Text Classification
17
+ type: text-classification
18
+ dataset:
19
+ name: indonlu
20
+ type: indonlu
21
+ config: smsa
22
+ split: validation
23
+ args: smsa
24
+ metrics:
25
+ - name: Accuracy
26
+ type: accuracy
27
+ value: 0.95
28
+ - name: Precision
29
+ type: precision
30
+ value: 0.9499758037063356
31
+ - name: Recall
32
+ type: recall
33
+ value: 0.95
34
+ - name: F1
35
+ type: f1
36
+ value: 0.9496487652420723
37
  ---
38
 
39
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
41
 
42
  # sentiment
43
 
44
+ This model is a fine-tuned version of [naufalihsan/indonesian-sbert-large](https://huggingface.co/naufalihsan/indonesian-sbert-large) on the indonlu dataset.
45
  It achieves the following results on the evaluation set:
46
+ - Loss: 0.4450
47
+ - Accuracy: 0.95
48
+ - Precision: 0.9500
49
+ - Recall: 0.95
50
+ - F1: 0.9496
51
 
52
  ## Model description
53
 
 
67
 
68
  The following hyperparameters were used during training:
69
  - learning_rate: 5e-05
70
+ - train_batch_size: 40
71
+ - eval_batch_size: 40
72
  - seed: 42
73
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
74
  - lr_scheduler_type: linear
75
+ - lr_scheduler_warmup_ratio: 0.01
76
+ - num_epochs: 10
77
 
78
  ### Training results
79
 
80
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
81
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
82
+ | No log | 1.0 | 275 | 0.2837 | 0.9405 | 0.9427 | 0.9405 | 0.9396 |
83
+ | 0.0501 | 2.0 | 550 | 0.1966 | 0.9460 | 0.9468 | 0.9460 | 0.9458 |
84
+ | 0.0501 | 3.0 | 825 | 0.2927 | 0.9437 | 0.9435 | 0.9437 | 0.9427 |
85
+ | 0.0369 | 4.0 | 1100 | 0.3666 | 0.9460 | 0.9459 | 0.9460 | 0.9456 |
86
+ | 0.0369 | 5.0 | 1375 | 0.3579 | 0.9468 | 0.9465 | 0.9468 | 0.9465 |
87
+ | 0.0098 | 6.0 | 1650 | 0.4497 | 0.9476 | 0.9479 | 0.9476 | 0.9471 |
88
+ | 0.0098 | 7.0 | 1925 | 0.4308 | 0.95 | 0.9501 | 0.95 | 0.9496 |
89
+ | 0.0012 | 8.0 | 2200 | 0.4402 | 0.95 | 0.9499 | 0.95 | 0.9496 |
90
+ | 0.0012 | 9.0 | 2475 | 0.4429 | 0.95 | 0.9500 | 0.95 | 0.9496 |
91
+ | 0.0007 | 10.0 | 2750 | 0.4450 | 0.95 | 0.9500 | 0.95 | 0.9496 |
92
 
93
 
94
  ### Framework versions
95
 
96
+ - Transformers 4.35.2
97
  - Pytorch 2.1.0+cu121
98
  - Datasets 2.17.1
99
  - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1a625c8dc40ba16e0bc6613727763d16864e6bd5542b80bdd355c5ff49cb89a5
3
  size 2681258616
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dae51af029651b6280b6477ffe59d5aa6309cd3925ace5439e5694d5a953e58
3
  size 2681258616
runs/Feb26_06-49-50_1670e0bb0f9b/events.out.tfevents.1708930191.1670e0bb0f9b.17494.1 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1ed5ed171fa3b33fdd322a7a9e0cb60fa6fc1ea016af5967bd4760cc1f933580
3
- size 9688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f3d5474ccf791cc16c70156dc08a1f039d38de496bc4b94bb3ab129a2e22d6b
3
+ size 10514
runs/Feb26_06-49-50_1670e0bb0f9b/events.out.tfevents.1708931974.1670e0bb0f9b.17494.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ae902a382717e7001d9f666c041ad98eae59961ef63f4b61bb8ba496eb0778d
3
+ size 560