Training complete
Browse files
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: facebook/bart-large-cnn
|
5 |
+
tags:
|
6 |
+
- summarization
|
7 |
+
- generated_from_trainer
|
8 |
+
metrics:
|
9 |
+
- rouge
|
10 |
+
model-index:
|
11 |
+
- name: pegasus_xsum_samsum_model_10epoch
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# pegasus_xsum_samsum_model_10epoch
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 2.5260
|
23 |
+
- Model Preparation Time: 0.0066
|
24 |
+
- Rouge1: 0.4165
|
25 |
+
- Rouge2: 0.1911
|
26 |
+
- Rougel: 0.3142
|
27 |
+
- Rougelsum: 0.3143
|
28 |
+
- Gen Len: 60.615
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 2e-05
|
48 |
+
- train_batch_size: 8
|
49 |
+
- eval_batch_size: 8
|
50 |
+
- seed: 42
|
51 |
+
- gradient_accumulation_steps: 2
|
52 |
+
- total_train_batch_size: 16
|
53 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
54 |
+
- lr_scheduler_type: linear
|
55 |
+
- num_epochs: 10
|
56 |
+
- mixed_precision_training: Native AMP
|
57 |
+
|
58 |
+
### Training results
|
59 |
+
|
60 |
+
| Training Loss | Epoch | Step | Validation Loss | Model Preparation Time | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
61 |
+
|:-------------:|:-----:|:----:|:---------------:|:----------------------:|:------:|:------:|:------:|:---------:|:-------:|
|
62 |
+
| No log | 1.0 | 200 | 1.4282 | 0.0066 | 0.4109 | 0.2008 | 0.3084 | 0.3085 | 59.755 |
|
63 |
+
| No log | 2.0 | 400 | 1.5080 | 0.0066 | 0.4214 | 0.2027 | 0.3175 | 0.3175 | 59.3862 |
|
64 |
+
| 1.2171 | 3.0 | 600 | 1.5348 | 0.0066 | 0.4093 | 0.1949 | 0.3071 | 0.307 | 60.2062 |
|
65 |
+
| 1.2171 | 4.0 | 800 | 1.7114 | 0.0066 | 0.4092 | 0.1928 | 0.3067 | 0.3066 | 60.38 |
|
66 |
+
| 0.6518 | 5.0 | 1000 | 1.8757 | 0.0066 | 0.4149 | 0.1935 | 0.3118 | 0.3117 | 59.5 |
|
67 |
+
| 0.6518 | 6.0 | 1200 | 2.0521 | 0.0066 | 0.4126 | 0.1902 | 0.3107 | 0.3108 | 60.335 |
|
68 |
+
| 0.6518 | 7.0 | 1400 | 2.1551 | 0.0066 | 0.4138 | 0.1917 | 0.3117 | 0.3115 | 60.1888 |
|
69 |
+
| 0.3371 | 8.0 | 1600 | 2.4051 | 0.0066 | 0.4132 | 0.1913 | 0.3116 | 0.3116 | 60.28 |
|
70 |
+
| 0.3371 | 9.0 | 1800 | 2.4850 | 0.0066 | 0.4146 | 0.1897 | 0.3129 | 0.3131 | 60.7375 |
|
71 |
+
| 0.2072 | 10.0 | 2000 | 2.5260 | 0.0066 | 0.4165 | 0.1911 | 0.3142 | 0.3143 | 60.615 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.46.3
|
77 |
+
- Pytorch 2.5.1+cu121
|
78 |
+
- Datasets 3.1.0
|
79 |
+
- Tokenizers 0.20.3
|
generation_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"length_penalty": 2.0,
|
9 |
+
"max_length": 142,
|
10 |
+
"min_length": 56,
|
11 |
+
"no_repeat_ngram_size": 3,
|
12 |
+
"num_beams": 4,
|
13 |
+
"pad_token_id": 1,
|
14 |
+
"transformers_version": "4.46.3"
|
15 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1625422896
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c7795b007008d9d30c8d66e77bc73239a41f79dbaf8dbb51d654d5fc1a544696
|
3 |
size 1625422896
|
runs/Dec06_05-17-44_a0be5a43542f/events.out.tfevents.1733462373.a0be5a43542f.13014.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00cb6fc5f78096d31b214f1ed92b1debf0f379844d787c2a4d93016bbe38e59e
|
3 |
+
size 13864
|