ravinderbrai
commited on
Commit
·
3131d4e
1
Parent(s):
f2b1983
Training complete
Browse files- README.md +16 -6
- config.json +2 -2
- generation_config.json +1 -1
- pytorch_model.bin +1 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
base_model: google/pegasus-
|
3 |
tags:
|
4 |
- summarization
|
5 |
- generated_from_trainer
|
@@ -13,7 +13,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
13 |
|
14 |
# pegasus-reviews
|
15 |
|
16 |
-
This model is a fine-tuned version of [google/pegasus-
|
|
|
|
|
17 |
|
18 |
## Model description
|
19 |
|
@@ -33,18 +35,26 @@ More information needed
|
|
33 |
|
34 |
The following hyperparameters were used during training:
|
35 |
- learning_rate: 5e-05
|
36 |
-
- train_batch_size:
|
37 |
-
- eval_batch_size:
|
38 |
- seed: 42
|
39 |
- gradient_accumulation_steps: 16
|
40 |
-
- total_train_batch_size:
|
41 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
- lr_scheduler_type: linear
|
43 |
- lr_scheduler_warmup_steps: 500
|
44 |
-
- num_epochs:
|
45 |
|
46 |
### Training results
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
|
50 |
### Framework versions
|
|
|
1 |
---
|
2 |
+
base_model: google/pegasus-cnn_dailymail
|
3 |
tags:
|
4 |
- summarization
|
5 |
- generated_from_trainer
|
|
|
13 |
|
14 |
# pegasus-reviews
|
15 |
|
16 |
+
This model is a fine-tuned version of [google/pegasus-cnn_dailymail](https://huggingface.co/google/pegasus-cnn_dailymail) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 4.3085
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
35 |
|
36 |
The following hyperparameters were used during training:
|
37 |
- learning_rate: 5e-05
|
38 |
+
- train_batch_size: 2
|
39 |
+
- eval_batch_size: 2
|
40 |
- seed: 42
|
41 |
- gradient_accumulation_steps: 16
|
42 |
+
- total_train_batch_size: 32
|
43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
- lr_scheduler_type: linear
|
45 |
- lr_scheduler_warmup_steps: 500
|
46 |
+
- num_epochs: 6
|
47 |
|
48 |
### Training results
|
49 |
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
52 |
+
| 0.8541 | 1.0 | 1 | 4.3114 |
|
53 |
+
| 0.8178 | 2.0 | 2 | 4.3112 |
|
54 |
+
| 0.9366 | 3.0 | 3 | 4.3108 |
|
55 |
+
| 0.831 | 4.0 | 4 | 4.3102 |
|
56 |
+
| 0.8294 | 5.0 | 5 | 4.3094 |
|
57 |
+
| 0.2781 | 5.33 | 6 | 4.3085 |
|
58 |
|
59 |
|
60 |
### Framework versions
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "google/pegasus-
|
3 |
"activation_dropout": 0.1,
|
4 |
"activation_function": "relu",
|
5 |
"add_bias_logits": false,
|
@@ -37,7 +37,7 @@
|
|
37 |
"LABEL_2": 2
|
38 |
},
|
39 |
"length_penalty": 0.8,
|
40 |
-
"max_length":
|
41 |
"max_position_embeddings": 1024,
|
42 |
"min_length": 32,
|
43 |
"model_type": "pegasus",
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "google/pegasus-cnn_dailymail",
|
3 |
"activation_dropout": 0.1,
|
4 |
"activation_function": "relu",
|
5 |
"add_bias_logits": false,
|
|
|
37 |
"LABEL_2": 2
|
38 |
},
|
39 |
"length_penalty": 0.8,
|
40 |
+
"max_length": 128,
|
41 |
"max_position_embeddings": 1024,
|
42 |
"min_length": 32,
|
43 |
"model_type": "pegasus",
|
generation_config.json
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
"eos_token_id": 1,
|
6 |
"forced_eos_token_id": 1,
|
7 |
"length_penalty": 0.8,
|
8 |
-
"max_length":
|
9 |
"min_length": 32,
|
10 |
"num_beams": 8,
|
11 |
"pad_token_id": 0,
|
|
|
5 |
"eos_token_id": 1,
|
6 |
"forced_eos_token_id": 1,
|
7 |
"length_penalty": 0.8,
|
8 |
+
"max_length": 128,
|
9 |
"min_length": 32,
|
10 |
"num_beams": 8,
|
11 |
"pad_token_id": 0,
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2283795562
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:893850642676d5856416dc92a31e8a49a9aaadc0192973e80e125400140ec5ac
|
3 |
size 2283795562
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4472
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee685293c42685d6db0780991a03017d68f1795874ce7bed93b559d13a49b3eb
|
3 |
size 4472
|