End of training
Browse files- README.md +70 -0
- generation_config.json +11 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: google/pegasus-xsum
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- rouge
|
7 |
+
model-index:
|
8 |
+
- name: sumarize_model_pegasus_v1
|
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 |
+
# sumarize_model_pegasus_v1
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [google/pegasus-xsum](https://huggingface.co/google/pegasus-xsum) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 1.3379
|
20 |
+
- Rouge1: 0.6034
|
21 |
+
- Rouge2: 0.4459
|
22 |
+
- Rougel: 0.5685
|
23 |
+
- Rougelsum: 0.5681
|
24 |
+
- Gen Len: 32.8647
|
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: 3.419313942464226e-05
|
44 |
+
- train_batch_size: 16
|
45 |
+
- eval_batch_size: 16
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 20
|
50 |
+
- mixed_precision_training: Native AMP
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
55 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
56 |
+
| No log | 1.0 | 239 | 1.4418 | 0.6747 | 0.5033 | 0.6338 | 0.6335 | 43.9549 |
|
57 |
+
| No log | 2.0 | 478 | 1.3434 | 0.6869 | 0.5148 | 0.646 | 0.6459 | 44.938 |
|
58 |
+
| 1.8531 | 3.0 | 717 | 1.2791 | 0.6843 | 0.5141 | 0.6451 | 0.645 | 44.7556 |
|
59 |
+
| 1.8531 | 4.0 | 956 | 1.2358 | 0.6868 | 0.5168 | 0.6473 | 0.647 | 44.4305 |
|
60 |
+
| 1.4419 | 5.0 | 1195 | 1.2654 | 0.6858 | 0.5172 | 0.6467 | 0.6464 | 43.7857 |
|
61 |
+
| 1.4419 | 6.0 | 1434 | 1.2838 | 0.6686 | 0.4999 | 0.6291 | 0.6288 | 39.9549 |
|
62 |
+
| 1.4368 | 7.0 | 1673 | 1.3379 | 0.6034 | 0.4459 | 0.5685 | 0.5681 | 32.8647 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.38.2
|
68 |
+
- Pytorch 2.2.1+cu121
|
69 |
+
- Datasets 2.18.0
|
70 |
+
- Tokenizers 0.15.2
|
generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"forced_eos_token_id": 1,
|
6 |
+
"length_penalty": 0.6,
|
7 |
+
"max_length": 64,
|
8 |
+
"num_beams": 8,
|
9 |
+
"pad_token_id": 0,
|
10 |
+
"transformers_version": "4.38.2"
|
11 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2279458540
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cac41068538473cb317558853a671ad8175e0b2632ba7a8d1d4669185842a542
|
3 |
size 2279458540
|