choiruzzia
commited on
Commit
•
e74e74d
1
Parent(s):
a848821
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: best_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 |
+
# best_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: 0.1318
|
25 |
+
- Accuracy: 0.9808
|
26 |
+
- Precision: 0.9811
|
27 |
+
- Recall: 0.9807
|
28 |
+
- F1: 0.9807
|
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.5679 | 1.0 | 601 | 0.1942 | 0.9425 | 0.9449 | 0.9419 | 0.9419 |
|
60 |
+
| 0.2491 | 2.0 | 1202 | 0.1654 | 0.9692 | 0.9691 | 0.9694 | 0.9691 |
|
61 |
+
| 0.1085 | 3.0 | 1803 | 0.1314 | 0.9742 | 0.9743 | 0.9741 | 0.9740 |
|
62 |
+
| 0.074 | 4.0 | 2404 | 0.2535 | 0.9575 | 0.9604 | 0.9568 | 0.9564 |
|
63 |
+
| 0.0255 | 5.0 | 3005 | 0.1318 | 0.9808 | 0.9811 | 0.9807 | 0.9807 |
|
64 |
+
| 0.0164 | 6.0 | 3606 | 0.1795 | 0.9759 | 0.9762 | 0.9756 | 0.9756 |
|
65 |
+
| 0.0 | 7.0 | 4207 | 0.2299 | 0.9725 | 0.9730 | 0.9723 | 0.9721 |
|
66 |
+
| 0.0039 | 8.0 | 4808 | 0.2241 | 0.9717 | 0.9723 | 0.9714 | 0.9713 |
|
67 |
+
| 0.0048 | 9.0 | 5409 | 0.2199 | 0.9717 | 0.9723 | 0.9714 | 0.9713 |
|
68 |
+
| 0.0 | 10.0 | 6010 | 0.2303 | 0.9717 | 0.9723 | 0.9714 | 0.9713 |
|
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:c4a96ad167652e5065140235aae504bcb653499e4c730f35919d92b337bde68b
|
3 |
+
size 498615900
|
runs/Jul17_17-05-11_754e74c8f906/events.out.tfevents.1721235913.754e74c8f906.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74ed5023746bdff3d334291d9cd0a92b12b796cb6005c6a416923c69c352c1a3
|
3 |
+
size 12840
|
runs/Jul17_17-05-11_754e74c8f906/events.out.tfevents.1721238796.754e74c8f906.34.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d6ff64c7925863bad3dd930ab31b508e7dbefe86a3f7f6b33b979473edba6f2
|
3 |
+
size 560
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32ded64f09f3ef6afcc15e0acb654471a03f0c005791605153df5335d8190054
|
3 |
+
size 5176
|