tanatapanun
commited on
Commit
·
ded0f6a
1
Parent(s):
935fd65
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/flan-t5-small
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: fine-tune-llama2
|
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-llama2
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [google/flan-t5-small](https://huggingface.co/google/flan-t5-small) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.7668
|
21 |
+
- Rouge1: 0.267
|
22 |
+
- Rouge2: 0.1008
|
23 |
+
- Rougel: 0.2321
|
24 |
+
- Rougelsum: 0.2335
|
25 |
+
- Gen Len: 19.36
|
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.8071 | 0.2304 | 0.0799 | 0.1958 | 0.1966 | 19.42 |
|
57 |
+
| 0.8375 | 2.0 | 602 | 0.8009 | 0.2368 | 0.0763 | 0.1966 | 0.1978 | 19.41 |
|
58 |
+
| 0.8375 | 3.0 | 903 | 0.7935 | 0.2496 | 0.08 | 0.2114 | 0.2119 | 19.57 |
|
59 |
+
| 0.8146 | 4.0 | 1204 | 0.7900 | 0.2556 | 0.0874 | 0.217 | 0.2178 | 19.55 |
|
60 |
+
| 0.7923 | 5.0 | 1505 | 0.7893 | 0.2565 | 0.089 | 0.2145 | 0.2157 | 19.46 |
|
61 |
+
| 0.7923 | 6.0 | 1806 | 0.7846 | 0.2512 | 0.087 | 0.2134 | 0.2139 | 19.35 |
|
62 |
+
| 0.7801 | 7.0 | 2107 | 0.7845 | 0.2499 | 0.082 | 0.2082 | 0.209 | 19.34 |
|
63 |
+
| 0.7801 | 8.0 | 2408 | 0.7792 | 0.2464 | 0.0822 | 0.2102 | 0.2105 | 19.52 |
|
64 |
+
| 0.7589 | 9.0 | 2709 | 0.7769 | 0.2433 | 0.0774 | 0.2049 | 0.206 | 19.32 |
|
65 |
+
| 0.7457 | 10.0 | 3010 | 0.7746 | 0.2459 | 0.0767 | 0.2073 | 0.2082 | 19.32 |
|
66 |
+
| 0.7457 | 11.0 | 3311 | 0.7740 | 0.245 | 0.0817 | 0.2086 | 0.2087 | 19.32 |
|
67 |
+
| 0.7495 | 12.0 | 3612 | 0.7736 | 0.2491 | 0.0824 | 0.2138 | 0.2144 | 19.31 |
|
68 |
+
| 0.7495 | 13.0 | 3913 | 0.7716 | 0.2541 | 0.0876 | 0.2172 | 0.2182 | 19.29 |
|
69 |
+
| 0.7341 | 14.0 | 4214 | 0.7694 | 0.2654 | 0.096 | 0.2274 | 0.2289 | 19.34 |
|
70 |
+
| 0.711 | 15.0 | 4515 | 0.7677 | 0.2672 | 0.1054 | 0.23 | 0.2312 | 19.35 |
|
71 |
+
| 0.711 | 16.0 | 4816 | 0.7698 | 0.2774 | 0.106 | 0.2395 | 0.2412 | 19.34 |
|
72 |
+
| 0.7158 | 17.0 | 5117 | 0.7693 | 0.269 | 0.0973 | 0.2301 | 0.2317 | 19.5 |
|
73 |
+
| 0.7158 | 18.0 | 5418 | 0.7683 | 0.2696 | 0.1062 | 0.233 | 0.2342 | 19.3 |
|
74 |
+
| 0.7016 | 19.0 | 5719 | 0.7694 | 0.2601 | 0.0971 | 0.2258 | 0.2271 | 19.29 |
|
75 |
+
| 0.6977 | 20.0 | 6020 | 0.7687 | 0.269 | 0.0999 | 0.2328 | 0.2341 | 19.33 |
|
76 |
+
| 0.6977 | 21.0 | 6321 | 0.7676 | 0.2658 | 0.099 | 0.2297 | 0.2304 | 19.32 |
|
77 |
+
| 0.7028 | 22.0 | 6622 | 0.7674 | 0.2654 | 0.0986 | 0.2299 | 0.2308 | 19.29 |
|
78 |
+
| 0.7028 | 23.0 | 6923 | 0.7676 | 0.2666 | 0.0993 | 0.231 | 0.2328 | 19.34 |
|
79 |
+
| 0.6698 | 24.0 | 7224 | 0.7667 | 0.2658 | 0.0989 | 0.2296 | 0.2314 | 19.35 |
|
80 |
+
| 0.6956 | 25.0 | 7525 | 0.7670 | 0.2669 | 0.0992 | 0.2295 | 0.2308 | 19.35 |
|
81 |
+
| 0.6956 | 26.0 | 7826 | 0.7669 | 0.2618 | 0.0966 | 0.2259 | 0.2269 | 19.31 |
|
82 |
+
| 0.6776 | 27.0 | 8127 | 0.7671 | 0.2658 | 0.0983 | 0.2296 | 0.2319 | 19.35 |
|
83 |
+
| 0.6776 | 28.0 | 8428 | 0.7672 | 0.2661 | 0.0998 | 0.2311 | 0.2328 | 19.35 |
|
84 |
+
| 0.6891 | 29.0 | 8729 | 0.7668 | 0.267 | 0.1008 | 0.2321 | 0.2335 | 19.35 |
|
85 |
+
| 0.6772 | 30.0 | 9030 | 0.7668 | 0.267 | 0.1008 | 0.2321 | 0.2335 | 19.36 |
|
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,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"transformers_version": "4.35.2"
|
6 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 307867048
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbfcdc50f50719f586e0ada8c87af67aee42e5b53594ff02e9e1b42997afb1f2
|
3 |
size 307867048
|
runs/Dec10_19-26-22_dfced86b775f/events.out.tfevents.1702236393.dfced86b775f.2269.1
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:de71422e7593e1df029a506fa718c057a5916036e3bc245d9cf6dac3665c3d0c
|
3 |
+
size 24203
|
runs/Dec10_19-26-22_dfced86b775f/events.out.tfevents.1702240595.dfced86b775f.2269.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9701423b89432545a0206f065cd7b5bdcb220a9cea047a606d76f01d38be67b4
|
3 |
+
size 613
|