tanatapanun
commited on
Commit
•
9402ebb
1
Parent(s):
967c8c7
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-tuned-bart-20-epochs-wang-lab
|
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-tuned-bart-20-epochs-wang-lab
|
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: 1.1462
|
21 |
+
- Rouge1: 0.2876
|
22 |
+
- Rouge2: 0.1104
|
23 |
+
- Rougel: 0.2587
|
24 |
+
- Rougelsum: 0.2583
|
25 |
+
- Gen Len: 15.32
|
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: 0.0001
|
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 |
+
- lr_scheduler_warmup_ratio: 0.1
|
51 |
+
- num_epochs: 20
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
57 |
+
| No log | 1.0 | 301 | 0.8236 | 0.2393 | 0.0872 | 0.2103 | 0.2098 | 15.1 |
|
58 |
+
| 2.6644 | 2.0 | 602 | 0.7800 | 0.2486 | 0.0882 | 0.219 | 0.2187 | 14.24 |
|
59 |
+
| 2.6644 | 3.0 | 903 | 0.7623 | 0.3152 | 0.131 | 0.2914 | 0.2901 | 15.83 |
|
60 |
+
| 0.6713 | 4.0 | 1204 | 0.7802 | 0.2909 | 0.104 | 0.2577 | 0.2577 | 14.4 |
|
61 |
+
| 0.4641 | 5.0 | 1505 | 0.8159 | 0.2986 | 0.1058 | 0.2629 | 0.2606 | 14.71 |
|
62 |
+
| 0.4641 | 6.0 | 1806 | 0.8451 | 0.3212 | 0.1374 | 0.2892 | 0.2892 | 15.3 |
|
63 |
+
| 0.2986 | 7.0 | 2107 | 0.8913 | 0.2965 | 0.115 | 0.2724 | 0.2728 | 15.25 |
|
64 |
+
| 0.2986 | 8.0 | 2408 | 0.9194 | 0.2686 | 0.1036 | 0.2395 | 0.2389 | 15.07 |
|
65 |
+
| 0.2025 | 9.0 | 2709 | 0.9674 | 0.283 | 0.1077 | 0.2549 | 0.2535 | 15.38 |
|
66 |
+
| 0.1397 | 10.0 | 3010 | 0.9848 | 0.2805 | 0.1127 | 0.2484 | 0.2475 | 15.99 |
|
67 |
+
| 0.1397 | 11.0 | 3311 | 1.0356 | 0.2943 | 0.1158 | 0.2568 | 0.2586 | 15.32 |
|
68 |
+
| 0.0922 | 12.0 | 3612 | 1.0481 | 0.3291 | 0.1211 | 0.297 | 0.2999 | 15.39 |
|
69 |
+
| 0.0922 | 13.0 | 3913 | 1.0846 | 0.2861 | 0.1074 | 0.2473 | 0.2482 | 15.04 |
|
70 |
+
| 0.0618 | 14.0 | 4214 | 1.0941 | 0.2929 | 0.103 | 0.2511 | 0.2505 | 15.34 |
|
71 |
+
| 0.042 | 15.0 | 4515 | 1.1076 | 0.2639 | 0.1111 | 0.2349 | 0.2328 | 15.11 |
|
72 |
+
| 0.042 | 16.0 | 4816 | 1.1180 | 0.2825 | 0.1125 | 0.2465 | 0.2452 | 15.08 |
|
73 |
+
| 0.03 | 17.0 | 5117 | 1.1310 | 0.2924 | 0.1073 | 0.2527 | 0.2528 | 15.47 |
|
74 |
+
| 0.03 | 18.0 | 5418 | 1.1407 | 0.2823 | 0.1017 | 0.2491 | 0.2471 | 15.1 |
|
75 |
+
| 0.0204 | 19.0 | 5719 | 1.1445 | 0.2952 | 0.1142 | 0.2635 | 0.264 | 15.13 |
|
76 |
+
| 0.0153 | 20.0 | 6020 | 1.1462 | 0.2876 | 0.1104 | 0.2587 | 0.2583 | 15.32 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.36.2
|
82 |
+
- Pytorch 1.12.1+cu113
|
83 |
+
- Datasets 2.15.0
|
84 |
+
- 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.36.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:7c61edb0bdaf8b4561e1301f0e665fccd6bcfacebbd474960ba455696b2371ec
|
3 |
size 557912620
|
runs/Dec31_21-58-58_william-gpu-3090-10-rxldr/events.out.tfevents.1704059943.william-gpu-3090-10-rxldr.94781.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:4e47f37613bcc71ed3d51ac088f08ce79ae833ce7581b4feeb369a60cfcc1337
|
3 |
+
size 18398
|