Training fold 5
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_5
|
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_5
|
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: 1.0203
|
25 |
+
- Accuracy: 0.8578
|
26 |
+
- Precision: 0.8590
|
27 |
+
- Recall: 0.8528
|
28 |
+
- F1: 0.8538
|
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 | 1.1381 | 0.5403 | 0.7643 | 0.5153 | 0.4656 |
|
60 |
+
| No log | 2.0 | 212 | 1.0541 | 0.7536 | 0.7980 | 0.7549 | 0.7368 |
|
61 |
+
| No log | 3.0 | 318 | 0.8831 | 0.7867 | 0.8067 | 0.7938 | 0.7852 |
|
62 |
+
| No log | 4.0 | 424 | 1.2855 | 0.7630 | 0.8040 | 0.7730 | 0.7635 |
|
63 |
+
| 0.4634 | 5.0 | 530 | 0.9810 | 0.8483 | 0.8576 | 0.8458 | 0.8472 |
|
64 |
+
| 0.4634 | 6.0 | 636 | 1.1545 | 0.8341 | 0.8493 | 0.8254 | 0.8260 |
|
65 |
+
| 0.4634 | 7.0 | 742 | 1.0520 | 0.8483 | 0.8509 | 0.8443 | 0.8451 |
|
66 |
+
| 0.4634 | 8.0 | 848 | 1.0203 | 0.8578 | 0.8590 | 0.8528 | 0.8538 |
|
67 |
+
| 0.4634 | 9.0 | 954 | 1.0454 | 0.8578 | 0.8588 | 0.8530 | 0.8542 |
|
68 |
+
| 0.0229 | 10.0 | 1060 | 1.0505 | 0.8578 | 0.8588 | 0.8530 | 0.8542 |
|
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:04d49c31cde56530b6509e5fae1694f0de77b8f43382a465cf8843138b1c0a84
|
3 |
+
size 498615900
|
runs/Jul17_17-58-16_7e81e34e19a4/events.out.tfevents.1721239098.7e81e34e19a4.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aae0402978315b557edac49dc1e3925ed2d5fa3f974244d7670e2c14018b73a3
|
3 |
+
size 10727
|
runs/Jul17_17-58-16_7e81e34e19a4/events.out.tfevents.1721239631.7e81e34e19a4.34.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75637cc5311900d21663d75d7a7705b387015f0abadc4ccc4a00f495217ec35c
|
3 |
+
size 560
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b60fa2571f8a8e2a283bb56a0a330cc0af1b8ee12ad043bab8c69c37c0581be
|
3 |
+
size 5176
|