End of training
Browse files
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: facebook/bart-large-cnn
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: bart-large-cnn-reddit-summary-v2
|
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-cnn-reddit-summary-v2
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.9771
|
21 |
+
- Rouge1: 0.4603
|
22 |
+
- Rouge2: 0.1837
|
23 |
+
- Rougel: 0.2955
|
24 |
+
- Rougelsum: 0.3192
|
25 |
+
- Gen Len: 95.826
|
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: 3
|
46 |
+
- eval_batch_size: 3
|
47 |
+
- seed: 42
|
48 |
+
- gradient_accumulation_steps: 3
|
49 |
+
- total_train_batch_size: 9
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 5
|
53 |
+
- mixed_precision_training: Native AMP
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
58 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
59 |
+
| 1.904 | 1.0 | 1125 | 1.8620 | 0.4543 | 0.1821 | 0.2935 | 0.3157 | 91.077 |
|
60 |
+
| 1.5708 | 2.0 | 2251 | 1.8475 | 0.4557 | 0.183 | 0.2965 | 0.3187 | 90.2955 |
|
61 |
+
| 1.3314 | 3.0 | 3377 | 1.8665 | 0.4617 | 0.1871 | 0.2988 | 0.3213 | 94.3165 |
|
62 |
+
| 1.1664 | 4.0 | 4502 | 1.9205 | 0.4609 | 0.1849 | 0.2952 | 0.3184 | 98.4065 |
|
63 |
+
| 1.0452 | 5.0 | 5625 | 1.9771 | 0.4603 | 0.1837 | 0.2955 | 0.3192 | 95.826 |
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- Transformers 4.35.2
|
69 |
+
- Pytorch 2.1.0+cu121
|
70 |
+
- Datasets 2.15.0
|
71 |
+
- Tokenizers 0.15.0
|
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.35.2"
|
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:c03f38f0c05bd6afcb16c2cc63a2ec753b07836e81066225544539dc3c8bc381
|
3 |
size 1625422896
|
runs/Dec21_13-49-25_0bc1cd74cc85/events.out.tfevents.1703166566.0bc1cd74cc85.867.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:9442f027a6ef34a9cf195a3fb43583e2fcf30f90f9291ba0013be05004bce029
|
3 |
+
size 10097
|