harish3742
commited on
harish3742/bert-base-cnn-ft-1
Browse files- README.md +65 -0
- generation_config.json +12 -0
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
metrics:
|
5 |
+
- rouge
|
6 |
+
model-index:
|
7 |
+
- name: bert-base-cnn-ft
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# bert-base-cnn-ft
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.0012
|
19 |
+
- Rouge1: 0.0328
|
20 |
+
- Rouge2: 0.0
|
21 |
+
- Rougel: 0.0303
|
22 |
+
- Rougelsum: 0.0303
|
23 |
+
- Gen Len: 60.0
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 1e-05
|
43 |
+
- train_batch_size: 12
|
44 |
+
- eval_batch_size: 12
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- lr_scheduler_warmup_steps: 1
|
49 |
+
- training_steps: 200
|
50 |
+
- mixed_precision_training: Native AMP
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
55 |
+
|:-------------:|:------:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
56 |
+
| 0.0383 | 0.0167 | 100 | 0.0019 | 0.0331 | 0.0 | 0.0306 | 0.0306 | 60.0 |
|
57 |
+
| 0.0177 | 0.0334 | 200 | 0.0012 | 0.0328 | 0.0 | 0.0303 | 0.0303 | 60.0 |
|
58 |
+
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- Transformers 4.40.1
|
63 |
+
- Pytorch 2.2.1+cu121
|
64 |
+
- Datasets 2.19.0
|
65 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 101,
|
3 |
+
"early_stopping": true,
|
4 |
+
"eos_token_id": 102,
|
5 |
+
"length_penalty": 2.0,
|
6 |
+
"max_length": 60,
|
7 |
+
"min_length": 10,
|
8 |
+
"no_repeat_ngram_size": 3,
|
9 |
+
"num_beams": 4,
|
10 |
+
"pad_token_id": 0,
|
11 |
+
"transformers_version": "4.40.1"
|
12 |
+
}
|