End of training
Browse files
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: mit
|
| 4 |
+
base_model: facebook/bart-large-cnn
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- rouge
|
| 9 |
+
model-index:
|
| 10 |
+
- name: bart-summarizer
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# bart-summarizer
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) on the None dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 2.7172
|
| 22 |
+
- Rouge1: 0.3278
|
| 23 |
+
- Rouge2: 0.0669
|
| 24 |
+
- Rougel: 0.2041
|
| 25 |
+
- Rougelsum: 0.284
|
| 26 |
+
- Gen Len: 133.6799
|
| 27 |
+
|
| 28 |
+
## Model description
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Intended uses & limitations
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training and evaluation data
|
| 37 |
+
|
| 38 |
+
More information needed
|
| 39 |
+
|
| 40 |
+
## Training procedure
|
| 41 |
+
|
| 42 |
+
### Training hyperparameters
|
| 43 |
+
|
| 44 |
+
The following hyperparameters were used during training:
|
| 45 |
+
- learning_rate: 2e-05
|
| 46 |
+
- train_batch_size: 4
|
| 47 |
+
- eval_batch_size: 4
|
| 48 |
+
- seed: 42
|
| 49 |
+
- gradient_accumulation_steps: 2
|
| 50 |
+
- total_train_batch_size: 8
|
| 51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 52 |
+
- lr_scheduler_type: linear
|
| 53 |
+
- num_epochs: 4
|
| 54 |
+
- mixed_precision_training: Native AMP
|
| 55 |
+
|
| 56 |
+
### Training results
|
| 57 |
+
|
| 58 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
| 59 |
+
|:-------------:|:------:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:--------:|
|
| 60 |
+
| 3.1498 | 0.9992 | 622 | 2.8687 | 0.3187 | 0.0635 | 0.1948 | 0.2765 | 141.2658 |
|
| 61 |
+
| 2.7712 | 2.0 | 1245 | 2.7667 | 0.3195 | 0.0659 | 0.2006 | 0.2792 | 135.1609 |
|
| 62 |
+
| 2.589 | 2.9992 | 1867 | 2.7298 | 0.3219 | 0.063 | 0.1962 | 0.2777 | 135.9729 |
|
| 63 |
+
| 2.4744 | 3.9968 | 2488 | 2.7172 | 0.3278 | 0.0669 | 0.2041 | 0.284 | 133.6799 |
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
### Framework versions
|
| 67 |
+
|
| 68 |
+
- Transformers 4.44.2
|
| 69 |
+
- Pytorch 2.4.1+cu121
|
| 70 |
+
- Datasets 3.0.1
|
| 71 |
+
- Tokenizers 0.19.1
|
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.44.2"
|
| 15 |
+
}
|
runs/Oct10_14-16-16_2420e89f667c/events.out.tfevents.1728569777.2420e89f667c.1314.3
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:175e24b5072372b992b4f0dd411cb7ce709042a786cdabfce7f70b9a5ed37843
|
| 3 |
+
size 9329
|