viktor-shevchuk
commited on
Commit
•
64ab341
1
Parent(s):
130d5de
End of training
Browse files- README.md +71 -0
- generation_config.json +15 -0
- model.safetensors +1 -1
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-finetuned-laws_articles
|
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-finetuned-laws_articles
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 2.1271
|
21 |
+
- Rouge1: 36.7269
|
22 |
+
- Rouge2: 16.9683
|
23 |
+
- Rougel: 27.0421
|
24 |
+
- Rougelsum: 28.4193
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 2e-05
|
44 |
+
- train_batch_size: 2
|
45 |
+
- eval_batch_size: 2
|
46 |
+
- seed: 42
|
47 |
+
- gradient_accumulation_steps: 8
|
48 |
+
- total_train_batch_size: 16
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 100
|
52 |
+
- mixed_precision_training: Native AMP
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|
|
58 |
+
| No log | 1.0 | 86 | 2.0321 | 36.6897 | 16.3485 | 27.3189 | 27.9101 |
|
59 |
+
| No log | 1.99 | 172 | 1.9454 | 38.9231 | 18.8033 | 29.5893 | 30.6478 |
|
60 |
+
| No log | 3.0 | 259 | 1.9194 | 39.8043 | 19.5213 | 29.9679 | 31.526 |
|
61 |
+
| No log | 3.99 | 345 | 1.9581 | 38.7543 | 18.0651 | 28.0544 | 29.5525 |
|
62 |
+
| No log | 4.99 | 431 | 2.0134 | 36.5099 | 17.177 | 27.2934 | 28.4522 |
|
63 |
+
| 1.5279 | 6.0 | 518 | 2.1271 | 36.7269 | 16.9683 | 27.0421 | 28.4193 |
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- Transformers 4.35.0
|
69 |
+
- Pytorch 2.1.0+cu121
|
70 |
+
- Datasets 2.14.7
|
71 |
+
- Tokenizers 0.14.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.35.0"
|
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:6fe58bd3d29035c85dc26f86a025d430ea492c7d6a4aa0e44dcb9a11030e861b
|
3 |
size 1625422896
|