choiruzzia
commited on
Commit
•
38e8bc4
1
Parent(s):
f0932c8
Training fold 1
Browse files- README.md +77 -0
- config.json +39 -0
- model.safetensors +3 -0
- runs/Jul17_17-32-54_747e6ca23fcb/events.out.tfevents.1721237575.747e6ca23fcb.34.0 +3 -0
- runs/Jul17_17-39-02_747e6ca23fcb/events.out.tfevents.1721237943.747e6ca23fcb.34.1 +3 -0
- runs/Jul17_17-39-02_747e6ca23fcb/events.out.tfevents.1721238480.747e6ca23fcb.34.2 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_1
|
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 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>]()
|
21 |
+
# 22best_berita_roberta_model_fold_1
|
22 |
+
|
23 |
+
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.
|
24 |
+
It achieves the following results on the evaluation set:
|
25 |
+
- Loss: 0.8575
|
26 |
+
- Accuracy: 0.8868
|
27 |
+
- Precision: 0.8904
|
28 |
+
- Recall: 0.8843
|
29 |
+
- F1: 0.8870
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 5e-05
|
49 |
+
- train_batch_size: 8
|
50 |
+
- eval_batch_size: 8
|
51 |
+
- seed: 42
|
52 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
53 |
+
- lr_scheduler_type: linear
|
54 |
+
- num_epochs: 10
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
60 |
+
| No log | 1.0 | 106 | 0.9177 | 0.5472 | 0.7029 | 0.6055 | 0.5274 |
|
61 |
+
| No log | 2.0 | 212 | 0.8990 | 0.7264 | 0.7612 | 0.7252 | 0.7101 |
|
62 |
+
| No log | 3.0 | 318 | 0.7968 | 0.8491 | 0.8478 | 0.8622 | 0.8496 |
|
63 |
+
| No log | 4.0 | 424 | 0.8026 | 0.8396 | 0.8400 | 0.8413 | 0.8353 |
|
64 |
+
| 0.5042 | 5.0 | 530 | 1.0039 | 0.8443 | 0.8579 | 0.8603 | 0.8488 |
|
65 |
+
| 0.5042 | 6.0 | 636 | 0.8274 | 0.8774 | 0.8743 | 0.8850 | 0.8780 |
|
66 |
+
| 0.5042 | 7.0 | 742 | 0.8575 | 0.8868 | 0.8904 | 0.8843 | 0.8870 |
|
67 |
+
| 0.5042 | 8.0 | 848 | 0.9014 | 0.8821 | 0.8806 | 0.8906 | 0.8830 |
|
68 |
+
| 0.5042 | 9.0 | 954 | 0.9622 | 0.8726 | 0.8723 | 0.8859 | 0.8741 |
|
69 |
+
| 0.0373 | 10.0 | 1060 | 0.9673 | 0.8726 | 0.8723 | 0.8859 | 0.8741 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.42.3
|
75 |
+
- Pytorch 2.1.2
|
76 |
+
- Datasets 2.20.0
|
77 |
+
- 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:d4ba855048e9103016cf4ae6e4cc687d0b0b21d67a114fe1f60dee9a12cb0d7b
|
3 |
+
size 498615900
|
runs/Jul17_17-32-54_747e6ca23fcb/events.out.tfevents.1721237575.747e6ca23fcb.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2867e161f822cfa0b67f96fb22b862033d3c906781a351770f821479bed8575
|
3 |
+
size 8274
|
runs/Jul17_17-39-02_747e6ca23fcb/events.out.tfevents.1721237943.747e6ca23fcb.34.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cf98236f64a50bd4133b5b4231db040ae52830b9b5ec9a25f27e0508c5651c34
|
3 |
+
size 10727
|
runs/Jul17_17-39-02_747e6ca23fcb/events.out.tfevents.1721238480.747e6ca23fcb.34.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e83ea314b847fca455ec599634288af9e86879dc0468a634ae5380b0a94547c
|
3 |
+
size 560
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d44170aa29850d4e726e3c81adbc986bde964029412c0623ab93b5cf8f76ebf8
|
3 |
+
size 5176
|