choiruzzia commited on
Commit
1fe56e8
·
verified ·
1 Parent(s): bb94f70

Training fold 2

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_berita_roberta_model_fold_2
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
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>]()
20
+ # best_berita_roberta_model_fold_2
21
+
22
+ 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.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.1019
25
+ - Accuracy: 0.9884
26
+ - Precision: 0.9882
27
+ - Recall: 0.9889
28
+ - F1: 0.9884
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 10
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | 0.6027 | 1.0 | 601 | 0.4467 | 0.8943 | 0.9036 | 0.8947 | 0.8951 |
60
+ | 0.2296 | 2.0 | 1202 | 0.3961 | 0.9218 | 0.9282 | 0.9262 | 0.9213 |
61
+ | 0.1253 | 3.0 | 1803 | 0.2066 | 0.9651 | 0.9655 | 0.9670 | 0.9652 |
62
+ | 0.0869 | 4.0 | 2404 | 0.1721 | 0.9684 | 0.9691 | 0.9699 | 0.9688 |
63
+ | 0.0188 | 5.0 | 3005 | 0.1239 | 0.9842 | 0.9840 | 0.9850 | 0.9843 |
64
+ | 0.0049 | 6.0 | 3606 | 0.1186 | 0.9825 | 0.9823 | 0.9835 | 0.9826 |
65
+ | 0.0057 | 7.0 | 4207 | 0.1019 | 0.9884 | 0.9882 | 0.9889 | 0.9884 |
66
+ | 0.0043 | 8.0 | 4808 | 0.3787 | 0.9534 | 0.9549 | 0.9562 | 0.9534 |
67
+ | 0.0047 | 9.0 | 5409 | 0.2094 | 0.9759 | 0.9759 | 0.9772 | 0.9760 |
68
+ | 0.0007 | 10.0 | 6010 | 0.2093 | 0.9759 | 0.9759 | 0.9772 | 0.9760 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.42.3
74
+ - Pytorch 2.1.2
75
+ - Datasets 2.20.0
76
+ - 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.42.3",
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:5b4c5aad270f9a96f93697b42d5ea5bec9258cbf658b852946de0aa3591a0d5e
3
+ size 498615900
runs/Jul17_16-12-46_85e8a75b7649/events.out.tfevents.1721232767.85e8a75b7649.33.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68cbff6d6546deb4b9d9554712ece8201e0843d02ea4bef211d7d3a303cb5e91
3
+ size 12840
runs/Jul17_16-12-46_85e8a75b7649/events.out.tfevents.1721235661.85e8a75b7649.33.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d8ce70ca440313c57256137429abff70a02cf53e7c7e178d92e6e5e43305e9d
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1d5daafcbdf2d95aa68e8e72b78884ab05df8a1b19ff08c4f45724bef237093
3
+ size 5176