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
|
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
|
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.8583
|
21 |
+
- Rouge1: 0.4709
|
22 |
+
- Rouge2: 0.1924
|
23 |
+
- Rougel: 0.3079
|
24 |
+
- Rougelsum: 0.3439
|
25 |
+
- Gen Len: 97.7071
|
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.82 | 1.0 | 1126 | 1.7804 | 0.4605 | 0.1876 | 0.3019 | 0.3362 | 93.7606 |
|
60 |
+
| 1.5081 | 2.0 | 2252 | 1.7577 | 0.4656 | 0.1908 | 0.304 | 0.3408 | 97.3503 |
|
61 |
+
| 1.2919 | 3.0 | 3378 | 1.7755 | 0.4709 | 0.1945 | 0.3096 | 0.3447 | 96.6052 |
|
62 |
+
| 1.1352 | 4.0 | 4504 | 1.8307 | 0.4708 | 0.1945 | 0.3088 | 0.345 | 97.0 |
|
63 |
+
| 1.0327 | 5.0 | 5630 | 1.8583 | 0.4709 | 0.1924 | 0.3079 | 0.3439 | 97.7071 |
|
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:67d50a0ec0628c8a3e5a3fbd3e2012a914b6403e8ac4bd42e8b410b7e11a26e8
|
3 |
size 1625422896
|
runs/Dec20_17-21-55_fa13b9385491/events.out.tfevents.1703092916.fa13b9385491.1251.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:c19d39a9eb3f9370c533fc788c8070e808c6626b087972271a9c566742ed8fa8
|
3 |
+
size 10088
|