End of training
Browse files- README.md +92 -0
- config.json +75 -0
- generation_config.json +12 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/Mar11_06-39-36_12bcd0fa3910/events.out.tfevents.1710139221.12bcd0fa3910.34.0 +3 -0
- runs/Mar11_06-39-36_12bcd0fa3910/events.out.tfevents.1710139372.12bcd0fa3910.34.1 +3 -0
- runs/Mar11_06-43-10_12bcd0fa3910/events.out.tfevents.1710139403.12bcd0fa3910.34.2 +3 -0
- runs/Mar11_06-43-10_12bcd0fa3910/events.out.tfevents.1710139540.12bcd0fa3910.34.3 +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: beogradjanka/bart_multitask_finetuned_for_title_and_keyphrase_generation
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- rouge
|
7 |
+
model-index:
|
8 |
+
- name: finetuned_bart_for_titlekeygen_custom
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# finetuned_bart_for_titlekeygen_custom
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [beogradjanka/bart_multitask_finetuned_for_title_and_keyphrase_generation](https://huggingface.co/beogradjanka/bart_multitask_finetuned_for_title_and_keyphrase_generation) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 4.9518
|
20 |
+
- Rouge1: 27.1931
|
21 |
+
- Rouge2: 17.9025
|
22 |
+
- Rougel: 27.0914
|
23 |
+
- Rougelsum: 27.5983
|
24 |
+
- Gen Len: 10.4444
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 2e-05
|
44 |
+
- train_batch_size: 4
|
45 |
+
- eval_batch_size: 4
|
46 |
+
- seed: 42
|
47 |
+
- gradient_accumulation_steps: 2
|
48 |
+
- total_train_batch_size: 8
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 30
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
|
57 |
+
| No log | 0.91 | 5 | 4.4910 | 24.613 | 15.7516 | 23.7302 | 24.6083 | 11.0 |
|
58 |
+
| No log | 2.0 | 11 | 4.5644 | 23.1235 | 14.2857 | 22.4578 | 23.0522 | 9.0 |
|
59 |
+
| No log | 2.91 | 16 | 4.6286 | 24.7078 | 15.2652 | 24.7869 | 25.2108 | 10.0556 |
|
60 |
+
| No log | 4.0 | 22 | 4.6774 | 24.5206 | 17.2336 | 24.3437 | 25.1579 | 10.5 |
|
61 |
+
| No log | 4.91 | 27 | 4.7187 | 26.304 | 18.2158 | 26.3307 | 26.814 | 10.2778 |
|
62 |
+
| No log | 6.0 | 33 | 4.7962 | 26.7873 | 17.4056 | 26.8439 | 27.3369 | 10.1667 |
|
63 |
+
| No log | 6.91 | 38 | 4.8356 | 26.9721 | 17.3677 | 26.9926 | 27.5469 | 10.0556 |
|
64 |
+
| No log | 8.0 | 44 | 4.7903 | 28.0369 | 17.3677 | 28.1825 | 28.5073 | 10.0 |
|
65 |
+
| No log | 8.91 | 49 | 4.7801 | 27.1885 | 17.6215 | 26.6686 | 27.0771 | 10.1111 |
|
66 |
+
| No log | 10.0 | 55 | 4.8049 | 27.1885 | 17.6215 | 26.6686 | 27.0771 | 10.1667 |
|
67 |
+
| No log | 10.91 | 60 | 4.9275 | 26.8226 | 17.9025 | 26.8217 | 27.2015 | 10.0 |
|
68 |
+
| No log | 12.0 | 66 | 4.9744 | 26.8226 | 17.9025 | 26.8217 | 27.2015 | 10.1111 |
|
69 |
+
| No log | 12.91 | 71 | 4.9863 | 26.0231 | 17.9025 | 26.0376 | 26.3104 | 10.0 |
|
70 |
+
| No log | 14.0 | 77 | 4.9497 | 24.9154 | 17.2851 | 25.0693 | 25.3933 | 9.8333 |
|
71 |
+
| No log | 14.91 | 82 | 4.9272 | 24.5615 | 17.037 | 24.4986 | 25.0688 | 10.0556 |
|
72 |
+
| No log | 16.0 | 88 | 4.9417 | 25.307 | 17.037 | 25.3656 | 25.9459 | 10.0 |
|
73 |
+
| No log | 16.91 | 93 | 4.9712 | 26.7457 | 17.9025 | 26.7271 | 27.1185 | 9.9444 |
|
74 |
+
| No log | 18.0 | 99 | 4.9649 | 25.9581 | 17.9025 | 25.9478 | 26.2429 | 10.0556 |
|
75 |
+
| No log | 18.91 | 104 | 4.9305 | 27.0746 | 17.9025 | 26.9536 | 27.4569 | 10.6111 |
|
76 |
+
| No log | 20.0 | 110 | 4.9212 | 27.9706 | 18.5997 | 27.2022 | 27.7873 | 10.8889 |
|
77 |
+
| No log | 20.91 | 115 | 4.9196 | 27.7549 | 18.8225 | 27.5716 | 28.1145 | 10.6667 |
|
78 |
+
| No log | 22.0 | 121 | 4.9316 | 27.1931 | 17.9025 | 27.0914 | 27.5983 | 10.4444 |
|
79 |
+
| No log | 22.91 | 126 | 4.9525 | 27.1931 | 17.9025 | 27.0914 | 27.5983 | 10.2222 |
|
80 |
+
| No log | 24.0 | 132 | 4.9590 | 27.1931 | 17.9025 | 27.0914 | 27.5983 | 10.2222 |
|
81 |
+
| No log | 24.91 | 137 | 4.9545 | 27.1931 | 17.9025 | 27.0914 | 27.5983 | 10.2222 |
|
82 |
+
| No log | 26.0 | 143 | 4.9514 | 27.1931 | 17.9025 | 27.0914 | 27.5983 | 10.4444 |
|
83 |
+
| No log | 26.91 | 148 | 4.9515 | 27.1931 | 17.9025 | 27.0914 | 27.5983 | 10.4444 |
|
84 |
+
| No log | 27.27 | 150 | 4.9518 | 27.1931 | 17.9025 | 27.0914 | 27.5983 | 10.4444 |
|
85 |
+
|
86 |
+
|
87 |
+
### Framework versions
|
88 |
+
|
89 |
+
- Transformers 4.38.2
|
90 |
+
- Pytorch 2.1.2
|
91 |
+
- Datasets 2.1.0
|
92 |
+
- Tokenizers 0.15.1
|
config.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "beogradjanka/bart_multitask_finetuned_for_title_and_keyphrase_generation",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"BartForConditionalGeneration"
|
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_bos_token_id": 0,
|
28 |
+
"forced_eos_token_id": 2,
|
29 |
+
"gradient_checkpointing": false,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1",
|
33 |
+
"2": "LABEL_2"
|
34 |
+
},
|
35 |
+
"init_std": 0.02,
|
36 |
+
"is_encoder_decoder": true,
|
37 |
+
"label2id": {
|
38 |
+
"LABEL_0": 0,
|
39 |
+
"LABEL_1": 1,
|
40 |
+
"LABEL_2": 2
|
41 |
+
},
|
42 |
+
"max_position_embeddings": 1024,
|
43 |
+
"model_type": "bart",
|
44 |
+
"no_repeat_ngram_size": 3,
|
45 |
+
"normalize_before": false,
|
46 |
+
"normalize_embedding": true,
|
47 |
+
"num_beams": 4,
|
48 |
+
"num_hidden_layers": 6,
|
49 |
+
"pad_token_id": 1,
|
50 |
+
"scale_embedding": false,
|
51 |
+
"task_specific_params": {
|
52 |
+
"summarization": {
|
53 |
+
"length_penalty": 1.0,
|
54 |
+
"max_length": 128,
|
55 |
+
"min_length": 12,
|
56 |
+
"num_beams": 4
|
57 |
+
},
|
58 |
+
"summarization_cnn": {
|
59 |
+
"length_penalty": 2.0,
|
60 |
+
"max_length": 142,
|
61 |
+
"min_length": 56,
|
62 |
+
"num_beams": 4
|
63 |
+
},
|
64 |
+
"summarization_xsum": {
|
65 |
+
"length_penalty": 1.0,
|
66 |
+
"max_length": 62,
|
67 |
+
"min_length": 11,
|
68 |
+
"num_beams": 6
|
69 |
+
}
|
70 |
+
},
|
71 |
+
"torch_dtype": "float32",
|
72 |
+
"transformers_version": "4.38.2",
|
73 |
+
"use_cache": true,
|
74 |
+
"vocab_size": 50265
|
75 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"early_stopping": true,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"forced_bos_token_id": 0,
|
7 |
+
"forced_eos_token_id": 2,
|
8 |
+
"no_repeat_ngram_size": 3,
|
9 |
+
"num_beams": 4,
|
10 |
+
"pad_token_id": 1,
|
11 |
+
"transformers_version": "4.38.2"
|
12 |
+
}
|
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:8b62283e497158cc0747cffebcfde2bf0d74e4a67c4e65f67c1c78f0ce3ab6db
|
3 |
+
size 557912620
|
runs/Mar11_06-39-36_12bcd0fa3910/events.out.tfevents.1710139221.12bcd0fa3910.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d0965d337d9e408728d3d365ae71c9c8d0c093913edcc9a2f7c98eb59825ce3
|
3 |
+
size 16084
|
runs/Mar11_06-39-36_12bcd0fa3910/events.out.tfevents.1710139372.12bcd0fa3910.34.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:876a4d10e01bca8f2ab3e7a2fb3688baa51ddb52efd5bd28298c6d28f5cc07ef
|
3 |
+
size 603
|
runs/Mar11_06-43-10_12bcd0fa3910/events.out.tfevents.1710139403.12bcd0fa3910.34.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:254c4041773bb8c157ad1818d94a28449e0130952c23e7c61b79d2c7b94c7c69
|
3 |
+
size 20775
|
runs/Mar11_06-43-10_12bcd0fa3910/events.out.tfevents.1710139540.12bcd0fa3910.34.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:553917d8ff06b516f548b0fadd2809ea7c6731b5a6e918a16992b511118dd372
|
3 |
+
size 613
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
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,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"50264": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": false,
|
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 |
+
"model_max_length": 1024,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"sep_token": "</s>",
|
54 |
+
"tokenizer_class": "BartTokenizer",
|
55 |
+
"trim_offsets": true,
|
56 |
+
"unk_token": "<unk>"
|
57 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e5d37d3e20f5c9cfbef9b7df7486e4577f249b1c6128abf3d0318098d07e24a
|
3 |
+
size 5176
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|