Training in progress epoch 0
Browse files- README.md +52 -0
- config.json +57 -0
- generation_config.json +12 -0
- logs/train/events.out.tfevents.1676631434.98bba11d9901.451.0.v2 +3 -0
- logs/validation/events.out.tfevents.1676631553.98bba11d9901.451.1.v2 +3 -0
- special_tokens_map.json +110 -0
- tf_model.h5 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +117 -0
README.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_keras_callback
|
4 |
+
model-index:
|
5 |
+
- name: alexrink/pegasus-xsum-finetuned-xsum
|
6 |
+
results: []
|
7 |
+
---
|
8 |
+
|
9 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
10 |
+
probably proofread and complete it, then remove this comment. -->
|
11 |
+
|
12 |
+
# alexrink/pegasus-xsum-finetuned-xsum
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [google/pegasus-xsum](https://huggingface.co/google/pegasus-xsum) on an unknown dataset.
|
15 |
+
It achieves the following results on the evaluation set:
|
16 |
+
- Train Loss: 4.6217
|
17 |
+
- Validation Loss: 3.8943
|
18 |
+
- Epoch: 0
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 2e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
|
38 |
+
- training_precision: float32
|
39 |
+
|
40 |
+
### Training results
|
41 |
+
|
42 |
+
| Train Loss | Validation Loss | Epoch |
|
43 |
+
|:----------:|:---------------:|:-----:|
|
44 |
+
| 4.6217 | 3.8943 | 0 |
|
45 |
+
|
46 |
+
|
47 |
+
### Framework versions
|
48 |
+
|
49 |
+
- Transformers 4.26.1
|
50 |
+
- TensorFlow 2.11.0
|
51 |
+
- Datasets 2.9.0
|
52 |
+
- Tokenizers 0.13.2
|
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/pegasus-xsum",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": true,
|
7 |
+
"architectures": [
|
8 |
+
"PegasusForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.1,
|
11 |
+
"bos_token_id": 0,
|
12 |
+
"classif_dropout": 0.0,
|
13 |
+
"classifier_dropout": 0.0,
|
14 |
+
"d_model": 1024,
|
15 |
+
"decoder_attention_heads": 16,
|
16 |
+
"decoder_ffn_dim": 4096,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 16,
|
19 |
+
"decoder_start_token_id": 0,
|
20 |
+
"do_blenderbot_90_layernorm": false,
|
21 |
+
"dropout": 0.1,
|
22 |
+
"encoder_attention_heads": 16,
|
23 |
+
"encoder_ffn_dim": 4096,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 16,
|
26 |
+
"eos_token_id": 1,
|
27 |
+
"extra_pos_embeddings": 0,
|
28 |
+
"force_bos_token_to_be_generated": false,
|
29 |
+
"forced_eos_token_id": 1,
|
30 |
+
"gradient_checkpointing": false,
|
31 |
+
"id2label": {
|
32 |
+
"0": "LABEL_0",
|
33 |
+
"1": "LABEL_1",
|
34 |
+
"2": "LABEL_2"
|
35 |
+
},
|
36 |
+
"init_std": 0.02,
|
37 |
+
"is_encoder_decoder": true,
|
38 |
+
"label2id": {
|
39 |
+
"LABEL_0": 0,
|
40 |
+
"LABEL_1": 1,
|
41 |
+
"LABEL_2": 2
|
42 |
+
},
|
43 |
+
"length_penalty": 0.6,
|
44 |
+
"max_length": 64,
|
45 |
+
"max_position_embeddings": 512,
|
46 |
+
"model_type": "pegasus",
|
47 |
+
"normalize_before": true,
|
48 |
+
"normalize_embedding": false,
|
49 |
+
"num_beams": 8,
|
50 |
+
"num_hidden_layers": 16,
|
51 |
+
"pad_token_id": 0,
|
52 |
+
"scale_embedding": true,
|
53 |
+
"static_position_embeddings": true,
|
54 |
+
"transformers_version": "4.26.1",
|
55 |
+
"use_cache": true,
|
56 |
+
"vocab_size": 96103
|
57 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 0,
|
5 |
+
"eos_token_id": 1,
|
6 |
+
"forced_eos_token_id": 1,
|
7 |
+
"length_penalty": 0.6,
|
8 |
+
"max_length": 64,
|
9 |
+
"num_beams": 8,
|
10 |
+
"pad_token_id": 0,
|
11 |
+
"transformers_version": "4.26.1"
|
12 |
+
}
|
logs/train/events.out.tfevents.1676631434.98bba11d9901.451.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa200c5fcffea179ca6986a44016ff6f42c6bf89b423bc431a31195af1ae34e5
|
3 |
+
size 12537939
|
logs/validation/events.out.tfevents.1676631553.98bba11d9901.451.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81c2841857b5c5109246b891f384387a290454597c74604284a6c9f445ff4d0c
|
3 |
+
size 193
|
special_tokens_map.json
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<mask_1>",
|
4 |
+
"<unk_2>",
|
5 |
+
"<unk_3>",
|
6 |
+
"<unk_4>",
|
7 |
+
"<unk_5>",
|
8 |
+
"<unk_6>",
|
9 |
+
"<unk_7>",
|
10 |
+
"<unk_8>",
|
11 |
+
"<unk_9>",
|
12 |
+
"<unk_10>",
|
13 |
+
"<unk_11>",
|
14 |
+
"<unk_12>",
|
15 |
+
"<unk_13>",
|
16 |
+
"<unk_14>",
|
17 |
+
"<unk_15>",
|
18 |
+
"<unk_16>",
|
19 |
+
"<unk_17>",
|
20 |
+
"<unk_18>",
|
21 |
+
"<unk_19>",
|
22 |
+
"<unk_20>",
|
23 |
+
"<unk_21>",
|
24 |
+
"<unk_22>",
|
25 |
+
"<unk_23>",
|
26 |
+
"<unk_24>",
|
27 |
+
"<unk_25>",
|
28 |
+
"<unk_26>",
|
29 |
+
"<unk_27>",
|
30 |
+
"<unk_28>",
|
31 |
+
"<unk_29>",
|
32 |
+
"<unk_30>",
|
33 |
+
"<unk_31>",
|
34 |
+
"<unk_32>",
|
35 |
+
"<unk_33>",
|
36 |
+
"<unk_34>",
|
37 |
+
"<unk_35>",
|
38 |
+
"<unk_36>",
|
39 |
+
"<unk_37>",
|
40 |
+
"<unk_38>",
|
41 |
+
"<unk_39>",
|
42 |
+
"<unk_40>",
|
43 |
+
"<unk_41>",
|
44 |
+
"<unk_42>",
|
45 |
+
"<unk_43>",
|
46 |
+
"<unk_44>",
|
47 |
+
"<unk_45>",
|
48 |
+
"<unk_46>",
|
49 |
+
"<unk_47>",
|
50 |
+
"<unk_48>",
|
51 |
+
"<unk_49>",
|
52 |
+
"<unk_50>",
|
53 |
+
"<unk_51>",
|
54 |
+
"<unk_52>",
|
55 |
+
"<unk_53>",
|
56 |
+
"<unk_54>",
|
57 |
+
"<unk_55>",
|
58 |
+
"<unk_56>",
|
59 |
+
"<unk_57>",
|
60 |
+
"<unk_58>",
|
61 |
+
"<unk_59>",
|
62 |
+
"<unk_60>",
|
63 |
+
"<unk_61>",
|
64 |
+
"<unk_62>",
|
65 |
+
"<unk_63>",
|
66 |
+
"<unk_64>",
|
67 |
+
"<unk_65>",
|
68 |
+
"<unk_66>",
|
69 |
+
"<unk_67>",
|
70 |
+
"<unk_68>",
|
71 |
+
"<unk_69>",
|
72 |
+
"<unk_70>",
|
73 |
+
"<unk_71>",
|
74 |
+
"<unk_72>",
|
75 |
+
"<unk_73>",
|
76 |
+
"<unk_74>",
|
77 |
+
"<unk_75>",
|
78 |
+
"<unk_76>",
|
79 |
+
"<unk_77>",
|
80 |
+
"<unk_78>",
|
81 |
+
"<unk_79>",
|
82 |
+
"<unk_80>",
|
83 |
+
"<unk_81>",
|
84 |
+
"<unk_82>",
|
85 |
+
"<unk_83>",
|
86 |
+
"<unk_84>",
|
87 |
+
"<unk_85>",
|
88 |
+
"<unk_86>",
|
89 |
+
"<unk_87>",
|
90 |
+
"<unk_88>",
|
91 |
+
"<unk_89>",
|
92 |
+
"<unk_90>",
|
93 |
+
"<unk_91>",
|
94 |
+
"<unk_92>",
|
95 |
+
"<unk_93>",
|
96 |
+
"<unk_94>",
|
97 |
+
"<unk_95>",
|
98 |
+
"<unk_96>",
|
99 |
+
"<unk_97>",
|
100 |
+
"<unk_98>",
|
101 |
+
"<unk_99>",
|
102 |
+
"<unk_100>",
|
103 |
+
"<unk_101>",
|
104 |
+
"<unk_102>"
|
105 |
+
],
|
106 |
+
"eos_token": "</s>",
|
107 |
+
"mask_token": "<mask_2>",
|
108 |
+
"pad_token": "<pad>",
|
109 |
+
"unk_token": "<unk>"
|
110 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:837ca357e4ddff234126159b7133883f6d453d9eb900f919119874becc7b65fe
|
3 |
+
size 2280098700
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<mask_1>",
|
4 |
+
"<unk_2>",
|
5 |
+
"<unk_3>",
|
6 |
+
"<unk_4>",
|
7 |
+
"<unk_5>",
|
8 |
+
"<unk_6>",
|
9 |
+
"<unk_7>",
|
10 |
+
"<unk_8>",
|
11 |
+
"<unk_9>",
|
12 |
+
"<unk_10>",
|
13 |
+
"<unk_11>",
|
14 |
+
"<unk_12>",
|
15 |
+
"<unk_13>",
|
16 |
+
"<unk_14>",
|
17 |
+
"<unk_15>",
|
18 |
+
"<unk_16>",
|
19 |
+
"<unk_17>",
|
20 |
+
"<unk_18>",
|
21 |
+
"<unk_19>",
|
22 |
+
"<unk_20>",
|
23 |
+
"<unk_21>",
|
24 |
+
"<unk_22>",
|
25 |
+
"<unk_23>",
|
26 |
+
"<unk_24>",
|
27 |
+
"<unk_25>",
|
28 |
+
"<unk_26>",
|
29 |
+
"<unk_27>",
|
30 |
+
"<unk_28>",
|
31 |
+
"<unk_29>",
|
32 |
+
"<unk_30>",
|
33 |
+
"<unk_31>",
|
34 |
+
"<unk_32>",
|
35 |
+
"<unk_33>",
|
36 |
+
"<unk_34>",
|
37 |
+
"<unk_35>",
|
38 |
+
"<unk_36>",
|
39 |
+
"<unk_37>",
|
40 |
+
"<unk_38>",
|
41 |
+
"<unk_39>",
|
42 |
+
"<unk_40>",
|
43 |
+
"<unk_41>",
|
44 |
+
"<unk_42>",
|
45 |
+
"<unk_43>",
|
46 |
+
"<unk_44>",
|
47 |
+
"<unk_45>",
|
48 |
+
"<unk_46>",
|
49 |
+
"<unk_47>",
|
50 |
+
"<unk_48>",
|
51 |
+
"<unk_49>",
|
52 |
+
"<unk_50>",
|
53 |
+
"<unk_51>",
|
54 |
+
"<unk_52>",
|
55 |
+
"<unk_53>",
|
56 |
+
"<unk_54>",
|
57 |
+
"<unk_55>",
|
58 |
+
"<unk_56>",
|
59 |
+
"<unk_57>",
|
60 |
+
"<unk_58>",
|
61 |
+
"<unk_59>",
|
62 |
+
"<unk_60>",
|
63 |
+
"<unk_61>",
|
64 |
+
"<unk_62>",
|
65 |
+
"<unk_63>",
|
66 |
+
"<unk_64>",
|
67 |
+
"<unk_65>",
|
68 |
+
"<unk_66>",
|
69 |
+
"<unk_67>",
|
70 |
+
"<unk_68>",
|
71 |
+
"<unk_69>",
|
72 |
+
"<unk_70>",
|
73 |
+
"<unk_71>",
|
74 |
+
"<unk_72>",
|
75 |
+
"<unk_73>",
|
76 |
+
"<unk_74>",
|
77 |
+
"<unk_75>",
|
78 |
+
"<unk_76>",
|
79 |
+
"<unk_77>",
|
80 |
+
"<unk_78>",
|
81 |
+
"<unk_79>",
|
82 |
+
"<unk_80>",
|
83 |
+
"<unk_81>",
|
84 |
+
"<unk_82>",
|
85 |
+
"<unk_83>",
|
86 |
+
"<unk_84>",
|
87 |
+
"<unk_85>",
|
88 |
+
"<unk_86>",
|
89 |
+
"<unk_87>",
|
90 |
+
"<unk_88>",
|
91 |
+
"<unk_89>",
|
92 |
+
"<unk_90>",
|
93 |
+
"<unk_91>",
|
94 |
+
"<unk_92>",
|
95 |
+
"<unk_93>",
|
96 |
+
"<unk_94>",
|
97 |
+
"<unk_95>",
|
98 |
+
"<unk_96>",
|
99 |
+
"<unk_97>",
|
100 |
+
"<unk_98>",
|
101 |
+
"<unk_99>",
|
102 |
+
"<unk_100>",
|
103 |
+
"<unk_101>",
|
104 |
+
"<unk_102>"
|
105 |
+
],
|
106 |
+
"eos_token": "</s>",
|
107 |
+
"full_tokenizer_file": null,
|
108 |
+
"mask_token": "<mask_2>",
|
109 |
+
"mask_token_sent": "<mask_1>",
|
110 |
+
"model_max_length": 512,
|
111 |
+
"name_or_path": "google/pegasus-xsum",
|
112 |
+
"offset": 103,
|
113 |
+
"pad_token": "<pad>",
|
114 |
+
"special_tokens_map_file": null,
|
115 |
+
"tokenizer_class": "PegasusTokenizer",
|
116 |
+
"unk_token": "<unk>"
|
117 |
+
}
|