andrianangg
commited on
Commit
•
7fa5162
1
Parent(s):
dbb213d
End of training
Browse files- README.md +72 -0
- config.json +86 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: indobenchmark/indobart
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: bdc2024-indobart-gpt-aug
|
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 |
+
# bdc2024-indobart-gpt-aug
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [indobenchmark/indobart](https://huggingface.co/indobenchmark/indobart) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.4480
|
24 |
+
- Accuracy: 0.9273
|
25 |
+
- Balanced Accuracy: 0.8560
|
26 |
+
- Precision: 0.9296
|
27 |
+
- Recall: 0.9273
|
28 |
+
- F1: 0.9205
|
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: 2e-05
|
48 |
+
- train_batch_size: 16
|
49 |
+
- eval_batch_size: 16
|
50 |
+
- seed: 42
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- num_epochs: 6
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Balanced Accuracy | Precision | Recall | F1 |
|
58 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-----------------:|:---------:|:------:|:------:|
|
59 |
+
| No log | 1.0 | 483 | 0.7053 | 0.7820 | 0.5122 | 0.7407 | 0.7820 | 0.7499 |
|
60 |
+
| 0.8051 | 2.0 | 966 | 0.5075 | 0.8757 | 0.6954 | 0.8779 | 0.8757 | 0.8622 |
|
61 |
+
| 0.4597 | 3.0 | 1449 | 0.4041 | 0.9197 | 0.8361 | 0.9198 | 0.9197 | 0.9122 |
|
62 |
+
| 0.2475 | 4.0 | 1932 | 0.4224 | 0.9254 | 0.8626 | 0.9255 | 0.9254 | 0.9202 |
|
63 |
+
| 0.1303 | 5.0 | 2415 | 0.4438 | 0.9273 | 0.8559 | 0.9295 | 0.9273 | 0.9214 |
|
64 |
+
| 0.0771 | 6.0 | 2898 | 0.4480 | 0.9273 | 0.8560 | 0.9296 | 0.9273 | 0.9205 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.33.1
|
70 |
+
- Pytorch 2.3.0+cu121
|
71 |
+
- Datasets 2.19.2
|
72 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "indobenchmark/indobart",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"MBartForSequenceClassification"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.1,
|
11 |
+
"bos_token_id": 0,
|
12 |
+
"classif_dropout": 0.1,
|
13 |
+
"classifier_dropout": 0.0,
|
14 |
+
"d_model": 768,
|
15 |
+
"decoder_attention_heads": 12,
|
16 |
+
"decoder_ffn_dim": 3072,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 6,
|
19 |
+
"decoder_start_token_id": 2,
|
20 |
+
"dropout": 0.1,
|
21 |
+
"early_stopping": true,
|
22 |
+
"encoder_attention_heads": 12,
|
23 |
+
"encoder_ffn_dim": 3072,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 6,
|
26 |
+
"eos_token_id": 2,
|
27 |
+
"forced_eos_token_id": 2,
|
28 |
+
"gradient_checkpointing": false,
|
29 |
+
"id2label": {
|
30 |
+
"0": "LABEL_0",
|
31 |
+
"1": "LABEL_1",
|
32 |
+
"2": "LABEL_2",
|
33 |
+
"3": "LABEL_3",
|
34 |
+
"4": "LABEL_4",
|
35 |
+
"5": "LABEL_5",
|
36 |
+
"6": "LABEL_6",
|
37 |
+
"7": "LABEL_7"
|
38 |
+
},
|
39 |
+
"init_std": 0.02,
|
40 |
+
"is_encoder_decoder": true,
|
41 |
+
"label2id": {
|
42 |
+
"LABEL_0": 0,
|
43 |
+
"LABEL_1": 1,
|
44 |
+
"LABEL_2": 2,
|
45 |
+
"LABEL_3": 3,
|
46 |
+
"LABEL_4": 4,
|
47 |
+
"LABEL_5": 5,
|
48 |
+
"LABEL_6": 6,
|
49 |
+
"LABEL_7": 7
|
50 |
+
},
|
51 |
+
"max_position_embeddings": 1024,
|
52 |
+
"model_type": "mbart",
|
53 |
+
"no_repeat_ngram_size": 3,
|
54 |
+
"normalize_before": false,
|
55 |
+
"normalize_embedding": true,
|
56 |
+
"num_beams": 4,
|
57 |
+
"num_hidden_layers": 6,
|
58 |
+
"pad_token_id": 1,
|
59 |
+
"problem_type": "single_label_classification",
|
60 |
+
"scale_embedding": false,
|
61 |
+
"task_specific_params": {
|
62 |
+
"summarization": {
|
63 |
+
"length_penalty": 1.0,
|
64 |
+
"max_length": 128,
|
65 |
+
"min_length": 12,
|
66 |
+
"num_beams": 4
|
67 |
+
},
|
68 |
+
"summarization_cnn": {
|
69 |
+
"length_penalty": 2.0,
|
70 |
+
"max_length": 142,
|
71 |
+
"min_length": 56,
|
72 |
+
"num_beams": 4
|
73 |
+
},
|
74 |
+
"summarization_xsum": {
|
75 |
+
"length_penalty": 1.0,
|
76 |
+
"max_length": 62,
|
77 |
+
"min_length": 11,
|
78 |
+
"num_beams": 6
|
79 |
+
}
|
80 |
+
},
|
81 |
+
"tokenizer_class": "IndoNLGTokenizer",
|
82 |
+
"torch_dtype": "float32",
|
83 |
+
"transformers_version": "4.33.1",
|
84 |
+
"use_cache": true,
|
85 |
+
"vocab_size": 40004
|
86 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6459d9c3b4357cc034efe272695b138cd9692ad70d3c47860df8693a057cd2e
|
3 |
+
size 528650230
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:569ec9f567c4b9e86990a253b8a55397b10e008156d05adee9acac1fedf82be4
|
3 |
+
size 4536
|