Training fold 3
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: 22best_berita_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 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>]()
|
20 |
+
# 22best_berita_roberta_model_fold_3
|
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.9238
|
25 |
+
- Accuracy: 0.8815
|
26 |
+
- Precision: 0.8816
|
27 |
+
- Recall: 0.8882
|
28 |
+
- F1: 0.8802
|
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 |
+
| No log | 1.0 | 106 | 0.4861 | 0.8009 | 0.8185 | 0.7929 | 0.7946 |
|
60 |
+
| No log | 2.0 | 212 | 0.6104 | 0.7820 | 0.8077 | 0.7810 | 0.7751 |
|
61 |
+
| No log | 3.0 | 318 | 0.6139 | 0.8246 | 0.8276 | 0.8147 | 0.8144 |
|
62 |
+
| No log | 4.0 | 424 | 1.1299 | 0.8294 | 0.8478 | 0.8432 | 0.8281 |
|
63 |
+
| 0.4919 | 5.0 | 530 | 0.9623 | 0.8531 | 0.8547 | 0.8608 | 0.8511 |
|
64 |
+
| 0.4919 | 6.0 | 636 | 0.8674 | 0.8768 | 0.8771 | 0.8825 | 0.8750 |
|
65 |
+
| 0.4919 | 7.0 | 742 | 0.9238 | 0.8815 | 0.8816 | 0.8882 | 0.8802 |
|
66 |
+
| 0.4919 | 8.0 | 848 | 0.9191 | 0.8673 | 0.8658 | 0.8712 | 0.8649 |
|
67 |
+
| 0.4919 | 9.0 | 954 | 1.0218 | 0.8673 | 0.8681 | 0.8712 | 0.8647 |
|
68 |
+
| 0.0165 | 10.0 | 1060 | 1.0294 | 0.8720 | 0.8725 | 0.8769 | 0.8699 |
|
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:a07708352ca857829c604f6ec20176ff771902d1a778bc467948d9d0ab4f39ee
|
3 |
+
size 498615900
|
runs/Jul17_17-51-26_f44a82bb8540/events.out.tfevents.1721238687.f44a82bb8540.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:92479867c2b081d5edf1a68ee6c34c92cefb67855eeda7d9548f59105d792b3a
|
3 |
+
size 10727
|
runs/Jul17_17-51-26_f44a82bb8540/events.out.tfevents.1721239219.f44a82bb8540.34.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:854630a5b30d61ded4093210e32c5ece842ec173e7ef21ae6dd60d8ba63b170a
|
3 |
+
size 560
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1aeda56ce66711e357f899810d6d238662e77722287af41e8b3762067e74c5b
|
3 |
+
size 5176
|