Training complete
Browse files- README.md +78 -0
- config.json +59 -0
- generation_config.json +14 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/Jul05_00-23-28_40eb1f705b7a/events.out.tfevents.1720139078.40eb1f705b7a.34047.0 +3 -0
- runs/Jul05_00-23-28_40eb1f705b7a/events.out.tfevents.1720139197.40eb1f705b7a.34047.1 +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +64 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- summarization
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
model-index:
|
| 6 |
+
- name: led-risalah_data_v2
|
| 7 |
+
results: []
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 11 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 12 |
+
|
| 13 |
+
# led-risalah_data_v2
|
| 14 |
+
|
| 15 |
+
This model was trained from scratch on an unknown dataset.
|
| 16 |
+
It achieves the following results on the evaluation set:
|
| 17 |
+
- Loss: 0.7850
|
| 18 |
+
- Rouge1 Precision: 0.816
|
| 19 |
+
- Rouge1 Recall: 0.2149
|
| 20 |
+
- Rouge1 Fmeasure: 0.3393
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 5e-05
|
| 40 |
+
- train_batch_size: 1
|
| 41 |
+
- eval_batch_size: 1
|
| 42 |
+
- seed: 42
|
| 43 |
+
- gradient_accumulation_steps: 8
|
| 44 |
+
- total_train_batch_size: 8
|
| 45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 46 |
+
- lr_scheduler_type: linear
|
| 47 |
+
- num_epochs: 20
|
| 48 |
+
- mixed_precision_training: Native AMP
|
| 49 |
+
|
| 50 |
+
### Training results
|
| 51 |
+
|
| 52 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 Fmeasure | Rouge1 Precision | Rouge1 Recall |
|
| 53 |
+
|:-------------:|:-------:|:----:|:---------------:|:---------------:|:----------------:|:-------------:|
|
| 54 |
+
| 2.4163 | 0.9143 | 8 | 1.9482 | 0.2001 | 0.4982 | 0.1254 |
|
| 55 |
+
| 1.6578 | 1.9429 | 17 | 1.8076 | 0.2489 | 0.6295 | 0.1554 |
|
| 56 |
+
| 1.656 | 2.9143 | 24 | 1.4664 | 0.2459 | 0.6118 | 0.154 |
|
| 57 |
+
| 1.5142 | 3.9429 | 33 | 1.4191 | 0.2546 | 0.646 | 0.159 |
|
| 58 |
+
| 1.4169 | 4.9714 | 42 | 1.4162 | 0.27 | 0.6675 | 0.1698 |
|
| 59 |
+
| 1.4123 | 6.9143 | 56 | 1.3197 | 0.2807 | 0.7054 | 0.1755 |
|
| 60 |
+
| 1.3398 | 7.9429 | 65 | 1.3156 | 0.2797 | 0.6912 | 0.1759 |
|
| 61 |
+
| 1.146 | 8.9714 | 74 | 1.3247 | 0.2925 | 0.728 | 0.1834 |
|
| 62 |
+
| 1.1481 | 10.0 | 83 | 1.3366 | 0.2739 | 0.6799 | 0.1718 |
|
| 63 |
+
| 1.2033 | 10.9143 | 91 | 1.3387 | 0.2789 | 0.69 | 0.1752 |
|
| 64 |
+
| 1.0855 | 11.9429 | 100 | 1.3375 | 0.2888 | 0.7146 | 0.1814 |
|
| 65 |
+
| 0.999 | 12.9714 | 109 | 1.3589 | 0.2922 | 0.7265 | 0.1831 |
|
| 66 |
+
| 1.0034 | 14.0 | 118 | 1.3601 | 0.2872 | 0.7157 | 0.1801 |
|
| 67 |
+
| 0.9831 | 14.9143 | 126 | 1.3762 | 0.2851 | 0.7024 | 0.1792 |
|
| 68 |
+
| 0.9347 | 15.9429 | 135 | 1.3743 | 0.2769 | 0.6841 | 0.174 |
|
| 69 |
+
| 0.9018 | 16.9714 | 144 | 1.3820 | 0.2862 | 0.7139 | 0.1797 |
|
| 70 |
+
| 0.8939 | 18.0 | 153 | 1.3841 | 0.2879 | 0.7134 | 0.1806 |
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
### Framework versions
|
| 74 |
+
|
| 75 |
+
- Transformers 4.42.3
|
| 76 |
+
- Pytorch 2.3.0+cu121
|
| 77 |
+
- Datasets 2.20.0
|
| 78 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/content/gdrive/My Drive/SKRIPSI/finetune/checkpoint/led/checkpoint-160",
|
| 3 |
+
"activation_dropout": 0.0,
|
| 4 |
+
"activation_function": "gelu",
|
| 5 |
+
"architectures": [
|
| 6 |
+
"LEDForConditionalGeneration"
|
| 7 |
+
],
|
| 8 |
+
"attention_dropout": 0.0,
|
| 9 |
+
"attention_window": [
|
| 10 |
+
1024,
|
| 11 |
+
1024,
|
| 12 |
+
1024,
|
| 13 |
+
1024,
|
| 14 |
+
1024,
|
| 15 |
+
1024
|
| 16 |
+
],
|
| 17 |
+
"bos_token_id": 0,
|
| 18 |
+
"classif_dropout": 0.0,
|
| 19 |
+
"classifier_dropout": 0.0,
|
| 20 |
+
"d_model": 768,
|
| 21 |
+
"decoder_attention_heads": 12,
|
| 22 |
+
"decoder_ffn_dim": 3072,
|
| 23 |
+
"decoder_layerdrop": 0.0,
|
| 24 |
+
"decoder_layers": 6,
|
| 25 |
+
"decoder_start_token_id": 2,
|
| 26 |
+
"dropout": 0.1,
|
| 27 |
+
"early_stopping": true,
|
| 28 |
+
"encoder_attention_heads": 12,
|
| 29 |
+
"encoder_ffn_dim": 3072,
|
| 30 |
+
"encoder_layerdrop": 0.0,
|
| 31 |
+
"encoder_layers": 6,
|
| 32 |
+
"eos_token_id": 2,
|
| 33 |
+
"id2label": {
|
| 34 |
+
"0": "LABEL_0",
|
| 35 |
+
"1": "LABEL_1",
|
| 36 |
+
"2": "LABEL_2"
|
| 37 |
+
},
|
| 38 |
+
"init_std": 0.02,
|
| 39 |
+
"is_encoder_decoder": true,
|
| 40 |
+
"label2id": {
|
| 41 |
+
"LABEL_0": 0,
|
| 42 |
+
"LABEL_1": 1,
|
| 43 |
+
"LABEL_2": 2
|
| 44 |
+
},
|
| 45 |
+
"length_penalty": 2.0,
|
| 46 |
+
"max_decoder_position_embeddings": 1024,
|
| 47 |
+
"max_encoder_position_embeddings": 16384,
|
| 48 |
+
"max_length": 1024,
|
| 49 |
+
"min_length": 124,
|
| 50 |
+
"model_type": "led",
|
| 51 |
+
"no_repeat_ngram_size": 3,
|
| 52 |
+
"num_beams": 2,
|
| 53 |
+
"num_hidden_layers": 6,
|
| 54 |
+
"pad_token_id": 1,
|
| 55 |
+
"torch_dtype": "float32",
|
| 56 |
+
"transformers_version": "4.42.3",
|
| 57 |
+
"use_cache": false,
|
| 58 |
+
"vocab_size": 50265
|
| 59 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 0,
|
| 3 |
+
"decoder_start_token_id": 2,
|
| 4 |
+
"early_stopping": true,
|
| 5 |
+
"eos_token_id": 2,
|
| 6 |
+
"length_penalty": 2.0,
|
| 7 |
+
"max_length": 128,
|
| 8 |
+
"min_length": 40,
|
| 9 |
+
"no_repeat_ngram_size": 3,
|
| 10 |
+
"num_beams": 2,
|
| 11 |
+
"pad_token_id": 1,
|
| 12 |
+
"transformers_version": "4.42.3",
|
| 13 |
+
"use_cache": false
|
| 14 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c8574722055b3e7d86ca3aac6504872a4d22a9f59e71da012ff1679da327e8d
|
| 3 |
+
size 647614116
|
runs/Jul05_00-23-28_40eb1f705b7a/events.out.tfevents.1720139078.40eb1f705b7a.34047.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6326fa2b3afbc5272b132eedb5f5c02041770c382fe59c1329b16bdf445aa7bd
|
| 3 |
+
size 6030
|
runs/Jul05_00-23-28_40eb1f705b7a/events.out.tfevents.1720139197.40eb1f705b7a.34047.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bead1435fa84c174362aa5718506022f9f6f41e8c6088776d43b1dde75c1cc21
|
| 3 |
+
size 535
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": true,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"cls_token": {
|
| 10 |
+
"content": "<s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"eos_token": {
|
| 17 |
+
"content": "</s>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": true,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"mask_token": {
|
| 24 |
+
"content": "<mask>",
|
| 25 |
+
"lstrip": true,
|
| 26 |
+
"normalized": true,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
},
|
| 30 |
+
"pad_token": {
|
| 31 |
+
"content": "<pad>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": true,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
},
|
| 37 |
+
"sep_token": {
|
| 38 |
+
"content": "</s>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": true,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false
|
| 43 |
+
},
|
| 44 |
+
"unk_token": {
|
| 45 |
+
"content": "<unk>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": true,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false
|
| 50 |
+
}
|
| 51 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<s>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<pad>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": true,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "</s>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": true,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<unk>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": true,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"50264": {
|
| 37 |
+
"content": "<mask>",
|
| 38 |
+
"lstrip": true,
|
| 39 |
+
"normalized": true,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"bos_token": "<s>",
|
| 46 |
+
"clean_up_tokenization_spaces": true,
|
| 47 |
+
"cls_token": "<s>",
|
| 48 |
+
"eos_token": "</s>",
|
| 49 |
+
"errors": "replace",
|
| 50 |
+
"mask_token": "<mask>",
|
| 51 |
+
"max_length": 128,
|
| 52 |
+
"model_max_length": 16384,
|
| 53 |
+
"pad_to_multiple_of": null,
|
| 54 |
+
"pad_token": "<pad>",
|
| 55 |
+
"pad_token_type_id": 0,
|
| 56 |
+
"padding_side": "right",
|
| 57 |
+
"sep_token": "</s>",
|
| 58 |
+
"stride": 0,
|
| 59 |
+
"tokenizer_class": "LEDTokenizer",
|
| 60 |
+
"trim_offsets": true,
|
| 61 |
+
"truncation_side": "right",
|
| 62 |
+
"truncation_strategy": "longest_first",
|
| 63 |
+
"unk_token": "<unk>"
|
| 64 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:557020ae8ca68806a6a67105fb65284c09bcb03f330ff16d8bcd6f48c296c936
|
| 3 |
+
size 5304
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|