End of training
Browse files- README.md +69 -0
- generation_config.json +13 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: facebook/bart-large-xsum
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: bart-large-xsum_readme_summarization
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# bart-large-xsum_readme_summarization
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [facebook/bart-large-xsum](https://huggingface.co/facebook/bart-large-xsum) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 2.1218
|
21 |
+
- Rouge1: 0.5637
|
22 |
+
- Rouge2: 0.4319
|
23 |
+
- Rougel: 0.5369
|
24 |
+
- Rougelsum: 0.5371
|
25 |
+
- Gen Len: 21.5048
|
26 |
+
|
27 |
+
## Model description
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Intended uses & limitations
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training and evaluation data
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training procedure
|
40 |
+
|
41 |
+
### Training hyperparameters
|
42 |
+
|
43 |
+
The following hyperparameters were used during training:
|
44 |
+
- learning_rate: 2e-05
|
45 |
+
- train_batch_size: 4
|
46 |
+
- eval_batch_size: 4
|
47 |
+
- seed: 42
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- num_epochs: 5
|
51 |
+
- mixed_precision_training: Native AMP
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
57 |
+
| 2.1078 | 1.0 | 1458 | 1.9876 | 0.4994 | 0.3426 | 0.4684 | 0.4682 | 20.1103 |
|
58 |
+
| 1.3919 | 2.0 | 2916 | 1.8539 | 0.5137 | 0.3697 | 0.4841 | 0.4839 | 21.8345 |
|
59 |
+
| 0.9878 | 3.0 | 4374 | 1.9027 | 0.5441 | 0.401 | 0.5174 | 0.5171 | 20.1487 |
|
60 |
+
| 0.6594 | 4.0 | 5832 | 2.0362 | 0.5628 | 0.4272 | 0.5385 | 0.538 | 21.3417 |
|
61 |
+
| 0.4691 | 5.0 | 7290 | 2.1218 | 0.5637 | 0.4319 | 0.5369 | 0.5371 | 21.5048 |
|
62 |
+
|
63 |
+
|
64 |
+
### Framework versions
|
65 |
+
|
66 |
+
- Transformers 4.35.1
|
67 |
+
- Pytorch 2.1.0+cu121
|
68 |
+
- Datasets 2.14.6
|
69 |
+
- Tokenizers 0.14.1
|
generation_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"early_stopping": true,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"forced_eos_token_id": 2,
|
7 |
+
"max_length": 62,
|
8 |
+
"min_length": 11,
|
9 |
+
"no_repeat_ngram_size": 3,
|
10 |
+
"num_beams": 6,
|
11 |
+
"pad_token_id": 1,
|
12 |
+
"transformers_version": "4.35.1"
|
13 |
+
}
|
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:68fbbf3037409008ececbce482d88ec28a6b8ac94e73d693c4524c41cfa96dd7
|
3 |
size 1625422896
|