tanatapanun
commited on
Commit
•
4a2b133
1
Parent(s):
dcf819c
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/bart-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: fine-tune-bart
|
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 |
+
# fine-tune-bart
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.8951
|
21 |
+
- Rouge1: 0.3436
|
22 |
+
- Rouge2: 0.1406
|
23 |
+
- Rougel: 0.3117
|
24 |
+
- Rougelsum: 0.3108
|
25 |
+
- Gen Len: 15.43
|
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: 4
|
46 |
+
- eval_batch_size: 4
|
47 |
+
- seed: 42
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- num_epochs: 30
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
55 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
56 |
+
| No log | 1.0 | 301 | 0.7910 | 0.2441 | 0.0841 | 0.2149 | 0.2154 | 14.55 |
|
57 |
+
| 1.8181 | 2.0 | 602 | 0.7323 | 0.256 | 0.0926 | 0.2294 | 0.2291 | 13.25 |
|
58 |
+
| 1.8181 | 3.0 | 903 | 0.7217 | 0.2794 | 0.1079 | 0.2491 | 0.2465 | 14.48 |
|
59 |
+
| 0.6902 | 4.0 | 1204 | 0.7233 | 0.3095 | 0.1209 | 0.2782 | 0.277 | 14.38 |
|
60 |
+
| 0.5826 | 5.0 | 1505 | 0.7241 | 0.2985 | 0.1239 | 0.2628 | 0.2633 | 14.68 |
|
61 |
+
| 0.5826 | 6.0 | 1806 | 0.7184 | 0.3312 | 0.1309 | 0.2968 | 0.2978 | 15.53 |
|
62 |
+
| 0.4967 | 7.0 | 2107 | 0.7332 | 0.3127 | 0.1324 | 0.2856 | 0.2857 | 14.86 |
|
63 |
+
| 0.4967 | 8.0 | 2408 | 0.7419 | 0.3379 | 0.1391 | 0.3027 | 0.3035 | 14.7 |
|
64 |
+
| 0.429 | 9.0 | 2709 | 0.7580 | 0.3473 | 0.1417 | 0.318 | 0.3178 | 14.65 |
|
65 |
+
| 0.3799 | 10.0 | 3010 | 0.7505 | 0.338 | 0.1406 | 0.3057 | 0.3033 | 15.18 |
|
66 |
+
| 0.3799 | 11.0 | 3311 | 0.7783 | 0.3444 | 0.1341 | 0.3139 | 0.3126 | 15.12 |
|
67 |
+
| 0.341 | 12.0 | 3612 | 0.7893 | 0.3231 | 0.1294 | 0.2991 | 0.2993 | 14.97 |
|
68 |
+
| 0.341 | 13.0 | 3913 | 0.7957 | 0.347 | 0.1376 | 0.3105 | 0.3101 | 15.3 |
|
69 |
+
| 0.299 | 14.0 | 4214 | 0.8134 | 0.3275 | 0.1367 | 0.3023 | 0.3012 | 14.84 |
|
70 |
+
| 0.263 | 15.0 | 4515 | 0.8191 | 0.3125 | 0.1364 | 0.2873 | 0.2875 | 15.17 |
|
71 |
+
| 0.263 | 16.0 | 4816 | 0.8196 | 0.3276 | 0.1334 | 0.3011 | 0.2996 | 15.32 |
|
72 |
+
| 0.2394 | 17.0 | 5117 | 0.8389 | 0.3168 | 0.1244 | 0.2856 | 0.2881 | 15.07 |
|
73 |
+
| 0.2394 | 18.0 | 5418 | 0.8502 | 0.3398 | 0.1328 | 0.3123 | 0.3112 | 15.06 |
|
74 |
+
| 0.2157 | 19.0 | 5719 | 0.8584 | 0.3257 | 0.1197 | 0.2937 | 0.2936 | 15.36 |
|
75 |
+
| 0.1957 | 20.0 | 6020 | 0.8633 | 0.3325 | 0.1295 | 0.2986 | 0.2994 | 15.4 |
|
76 |
+
| 0.1957 | 21.0 | 6321 | 0.8620 | 0.3254 | 0.1208 | 0.2952 | 0.2949 | 15.28 |
|
77 |
+
| 0.181 | 22.0 | 6622 | 0.8762 | 0.3395 | 0.1306 | 0.3054 | 0.3045 | 15.27 |
|
78 |
+
| 0.181 | 23.0 | 6923 | 0.8775 | 0.3419 | 0.14 | 0.3137 | 0.3126 | 15.24 |
|
79 |
+
| 0.1622 | 24.0 | 7224 | 0.8780 | 0.3397 | 0.1311 | 0.3069 | 0.3063 | 15.15 |
|
80 |
+
| 0.1613 | 25.0 | 7525 | 0.8859 | 0.3231 | 0.1225 | 0.2887 | 0.288 | 15.14 |
|
81 |
+
| 0.1613 | 26.0 | 7826 | 0.8905 | 0.3289 | 0.1284 | 0.2953 | 0.2941 | 15.23 |
|
82 |
+
| 0.1463 | 27.0 | 8127 | 0.8883 | 0.3358 | 0.1303 | 0.3002 | 0.2988 | 15.19 |
|
83 |
+
| 0.1463 | 28.0 | 8428 | 0.8933 | 0.3414 | 0.139 | 0.3113 | 0.3098 | 15.5 |
|
84 |
+
| 0.1444 | 29.0 | 8729 | 0.8949 | 0.3449 | 0.1369 | 0.311 | 0.31 | 15.43 |
|
85 |
+
| 0.135 | 30.0 | 9030 | 0.8951 | 0.3436 | 0.1406 | 0.3117 | 0.3108 | 15.43 |
|
86 |
+
|
87 |
+
|
88 |
+
### Framework versions
|
89 |
+
|
90 |
+
- Transformers 4.35.2
|
91 |
+
- Pytorch 2.1.0+cu118
|
92 |
+
- Datasets 2.15.0
|
93 |
+
- Tokenizers 0.15.0
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"no_repeat_ngram_size": 3,
|
9 |
+
"num_beams": 4,
|
10 |
+
"pad_token_id": 1,
|
11 |
+
"transformers_version": "4.35.2"
|
12 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 557912620
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44e27c47aea1ecddc46bb1ff42710e81bcd68cc36c43ff48f6b9f77f774c21f7
|
3 |
size 557912620
|
runs/Dec09_23-06-35_8cad8f866bb2/events.out.tfevents.1702163195.8cad8f866bb2.2862.2
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:bee31d6ad9283aad185426a2e8a36a2b8633ab57f27961e18a330ac5bf601edb
|
3 |
+
size 24376
|
runs/Dec09_23-06-35_8cad8f866bb2/events.out.tfevents.1702169549.8cad8f866bb2.2862.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f584a2ef629617498e12a97eec9696ebfdb624640fa1ab7624dcc54212182da1
|
3 |
+
size 613
|