End of training
Browse files- README.md +56 -0
- config.json +124 -0
- generation_config.json +12 -0
- model.safetensors +3 -0
- runs/Mar30_09-28-06_16e55fd81d21/events.out.tfevents.1711790917.16e55fd81d21.226.0 +3 -0
- runs/Mar30_09-33-09_16e55fd81d21/events.out.tfevents.1711791226.16e55fd81d21.2611.0 +3 -0
- runs/Mar30_09-36-11_16e55fd81d21/events.out.tfevents.1711791402.16e55fd81d21.3727.0 +3 -0
- runs/Mar30_09-52-02_16e55fd81d21/events.out.tfevents.1711792342.16e55fd81d21.5972.0 +3 -0
- runs/Mar30_10-02-43_16e55fd81d21/events.out.tfevents.1711793003.16e55fd81d21.11106.0 +3 -0
- runs/Mar30_10-10-52_16e55fd81d21/events.out.tfevents.1711793478.16e55fd81d21.13446.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: google/pegasus-large
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: Pegasus-samsum-finetuned
|
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 |
+
# Pegasus-samsum-finetuned
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [google/pegasus-large](https://huggingface.co/google/pegasus-large) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- eval_loss: 1.3946
|
18 |
+
- eval_runtime: 23.313
|
19 |
+
- eval_samples_per_second: 21.447
|
20 |
+
- eval_steps_per_second: 21.447
|
21 |
+
- epoch: 0.65
|
22 |
+
- step: 600
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 5e-05
|
42 |
+
- train_batch_size: 1
|
43 |
+
- eval_batch_size: 1
|
44 |
+
- seed: 42
|
45 |
+
- gradient_accumulation_steps: 16
|
46 |
+
- total_train_batch_size: 16
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 1
|
50 |
+
|
51 |
+
### Framework versions
|
52 |
+
|
53 |
+
- Transformers 4.39.2
|
54 |
+
- Pytorch 2.2.1+cu121
|
55 |
+
- Datasets 2.18.0
|
56 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/pegasus-large",
|
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 |
+
"dropout": 0.1,
|
21 |
+
"encoder_attention_heads": 16,
|
22 |
+
"encoder_ffn_dim": 4096,
|
23 |
+
"encoder_layerdrop": 0.0,
|
24 |
+
"encoder_layers": 16,
|
25 |
+
"eos_token_id": 1,
|
26 |
+
"extra_pos_embeddings": 1,
|
27 |
+
"force_bos_token_to_be_generated": false,
|
28 |
+
"forced_eos_token_id": 1,
|
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 |
+
"length_penalty": 0.8,
|
43 |
+
"max_length": 256,
|
44 |
+
"max_position_embeddings": 1024,
|
45 |
+
"model_type": "pegasus",
|
46 |
+
"normalize_before": true,
|
47 |
+
"normalize_embedding": false,
|
48 |
+
"num_beams": 8,
|
49 |
+
"num_hidden_layers": 16,
|
50 |
+
"pad_token_id": 0,
|
51 |
+
"scale_embedding": true,
|
52 |
+
"static_position_embeddings": true,
|
53 |
+
"task_specific_params": {
|
54 |
+
"summarization_aeslc": {
|
55 |
+
"length_penalty": 0.6,
|
56 |
+
"max_length": 32,
|
57 |
+
"max_position_embeddings": 512
|
58 |
+
},
|
59 |
+
"summarization_arxiv": {
|
60 |
+
"length_penalty": 0.8,
|
61 |
+
"max_length": 256,
|
62 |
+
"max_position_embeddings": 1024
|
63 |
+
},
|
64 |
+
"summarization_big_patent": {
|
65 |
+
"length_penalty": 0.7,
|
66 |
+
"max_length": 256,
|
67 |
+
"max_position_embeddings": 1024
|
68 |
+
},
|
69 |
+
"summarization_billsum": {
|
70 |
+
"length_penalty": 0.6,
|
71 |
+
"max_length": 256,
|
72 |
+
"max_position_embeddings": 1024
|
73 |
+
},
|
74 |
+
"summarization_cnn_dailymail": {
|
75 |
+
"length_penalty": 0.8,
|
76 |
+
"max_length": 128,
|
77 |
+
"max_position_embeddings": 1024
|
78 |
+
},
|
79 |
+
"summarization_gigaword": {
|
80 |
+
"length_penalty": 0.6,
|
81 |
+
"max_length": 32,
|
82 |
+
"max_position_embeddings": 128
|
83 |
+
},
|
84 |
+
"summarization_large": {
|
85 |
+
"length_penalty": 0.8,
|
86 |
+
"max_length": 256,
|
87 |
+
"max_position_embeddings": 1024
|
88 |
+
},
|
89 |
+
"summarization_multi_news": {
|
90 |
+
"length_penalty": 0.8,
|
91 |
+
"max_length": 256,
|
92 |
+
"max_position_embeddings": 1024
|
93 |
+
},
|
94 |
+
"summarization_newsroom": {
|
95 |
+
"length_penalty": 0.8,
|
96 |
+
"max_length": 128,
|
97 |
+
"max_position_embeddings": 512
|
98 |
+
},
|
99 |
+
"summarization_pubmed": {
|
100 |
+
"length_penalty": 0.8,
|
101 |
+
"max_length": 256,
|
102 |
+
"max_position_embeddings": 1024
|
103 |
+
},
|
104 |
+
"summarization_reddit_tifu": {
|
105 |
+
"length_penalty": 0.6,
|
106 |
+
"max_length": 128,
|
107 |
+
"max_position_embeddings": 512
|
108 |
+
},
|
109 |
+
"summarization_wikihow": {
|
110 |
+
"length_penalty": 0.6,
|
111 |
+
"max_length": 256,
|
112 |
+
"max_position_embeddings": 512
|
113 |
+
},
|
114 |
+
"summarization_xsum": {
|
115 |
+
"length_penalty": 0.8,
|
116 |
+
"max_length": 64,
|
117 |
+
"max_position_embeddings": 512
|
118 |
+
}
|
119 |
+
},
|
120 |
+
"torch_dtype": "float32",
|
121 |
+
"transformers_version": "4.39.2",
|
122 |
+
"use_cache": true,
|
123 |
+
"vocab_size": 96103
|
124 |
+
}
|
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.8,
|
8 |
+
"max_length": 256,
|
9 |
+
"num_beams": 8,
|
10 |
+
"pad_token_id": 0,
|
11 |
+
"transformers_version": "4.39.2"
|
12 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3320b33cce1682e9216c88281206ab959e60e3da6ebaa294e876e155bae5b39b
|
3 |
+
size 2283652852
|
runs/Mar30_09-28-06_16e55fd81d21/events.out.tfevents.1711790917.16e55fd81d21.226.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2eef95972780f23c7a315b342c61b9a97c9241aba81c3b5f22089033203dd44
|
3 |
+
size 4184
|
runs/Mar30_09-33-09_16e55fd81d21/events.out.tfevents.1711791226.16e55fd81d21.2611.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3b6c3800eb118dfcd3d1dd05cd94ea3bd4ce7fb4b2fbbcbbf3d898b53f920ca
|
3 |
+
size 4184
|
runs/Mar30_09-36-11_16e55fd81d21/events.out.tfevents.1711791402.16e55fd81d21.3727.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d9a0addd26a27fa8338af6a0af1ea5b779bc1c089592fba8b4a0283cc9e498e1
|
3 |
+
size 8929
|
runs/Mar30_09-52-02_16e55fd81d21/events.out.tfevents.1711792342.16e55fd81d21.5972.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8656e7cce650561bc3114cc195bd51c8091073324948c58974c1639179a0cf43
|
3 |
+
size 9135
|
runs/Mar30_10-02-43_16e55fd81d21/events.out.tfevents.1711793003.16e55fd81d21.11106.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1d6acb34d031c5a9918f0130dbc845f412b7ae15242392a5b78b2769f6e4bff
|
3 |
+
size 9135
|
runs/Mar30_10-10-52_16e55fd81d21/events.out.tfevents.1711793478.16e55fd81d21.13446.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1750b9315e963c61b2aada8aec7b17275fbf957dac67b1d2eff96beeaf159c6
|
3 |
+
size 22142
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:002c418215e8f08c0659fadad5a6d901222631b584978a6bc824d1c0cf4bf3b4
|
3 |
+
size 4920
|