End of training
Browse files
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: alexdg19/bert_large_xsum_samsum2
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- cnn_dailymail
|
8 |
+
metrics:
|
9 |
+
- rouge
|
10 |
+
model-index:
|
11 |
+
- name: bert_large_cnn_daily
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Sequence-to-sequence Language Modeling
|
15 |
+
type: text2text-generation
|
16 |
+
dataset:
|
17 |
+
name: cnn_dailymail
|
18 |
+
type: cnn_dailymail
|
19 |
+
config: 3.0.0
|
20 |
+
split: test
|
21 |
+
args: 3.0.0
|
22 |
+
metrics:
|
23 |
+
- name: Rouge1
|
24 |
+
type: rouge
|
25 |
+
value: 0.4251
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# bert_large_cnn_daily
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [alexdg19/bert_large_xsum_samsum2](https://huggingface.co/alexdg19/bert_large_xsum_samsum2) on the cnn_dailymail dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 1.7065
|
36 |
+
- Rouge1: 0.4251
|
37 |
+
- Rouge2: 0.2024
|
38 |
+
- Rougel: 0.2992
|
39 |
+
- Rougelsum: 0.3961
|
40 |
+
- Gen Len: 60.6232
|
41 |
+
|
42 |
+
## Model description
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Intended uses & limitations
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training and evaluation data
|
51 |
+
|
52 |
+
More information needed
|
53 |
+
|
54 |
+
## Training procedure
|
55 |
+
|
56 |
+
### Training hyperparameters
|
57 |
+
|
58 |
+
The following hyperparameters were used during training:
|
59 |
+
- learning_rate: 2e-05
|
60 |
+
- train_batch_size: 3
|
61 |
+
- eval_batch_size: 3
|
62 |
+
- seed: 42
|
63 |
+
- gradient_accumulation_steps: 3
|
64 |
+
- total_train_batch_size: 9
|
65 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
66 |
+
- lr_scheduler_type: linear
|
67 |
+
- num_epochs: 4
|
68 |
+
- mixed_precision_training: Native AMP
|
69 |
+
|
70 |
+
### Training results
|
71 |
+
|
72 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
73 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
74 |
+
| 1.6632 | 1.0 | 1021 | 1.6262 | 0.4191 | 0.1992 | 0.2957 | 0.39 | 60.6205 |
|
75 |
+
| 1.3734 | 2.0 | 2042 | 1.6078 | 0.4253 | 0.2046 | 0.3009 | 0.397 | 61.0692 |
|
76 |
+
| 1.1497 | 3.0 | 3064 | 1.6759 | 0.4254 | 0.2033 | 0.2998 | 0.3967 | 60.8555 |
|
77 |
+
| 1.0123 | 4.0 | 4084 | 1.7065 | 0.4251 | 0.2024 | 0.2992 | 0.3961 | 60.6232 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.35.0
|
83 |
+
- Pytorch 2.1.0+cu118
|
84 |
+
- Datasets 2.14.6
|
85 |
+
- 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.0"
|
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:eb38e53770a79dc7bf0f6e7b427c5c86534990fac1c0be6ae523aa638be282fb
|
3 |
size 1625422896
|
runs/Nov13_14-37-03_75bc1f6d1a37/events.out.tfevents.1699886229.75bc1f6d1a37.302.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:9b0f202178a547be9efb4232fbee632044ab54ffc048ecda86ce7a15899c065f
|
3 |
+
size 9032
|