peterbeamish
commited on
Commit
•
c7896d3
1
Parent(s):
9ff1453
End of training
Browse files- README.md +17 -22
- adapter_config.json +23 -0
- adapter_model.safetensors +3 -0
- runs/Nov04_17-21-53_37a4a00a92ac/events.out.tfevents.1699118528.37a4a00a92ac.2070.7 +3 -0
- tokenizer.json +9 -2
- trainer_state.json +31 -64
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
base_model: google/flan-t5-
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
-
metrics:
|
7 |
-
- rouge
|
8 |
model-index:
|
9 |
- name: trained_model
|
10 |
results: []
|
@@ -15,14 +13,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# trained_model
|
17 |
|
18 |
-
This model is a fine-tuned version of [google/flan-t5-
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss:
|
21 |
-
- Rouge1: 0.3878
|
22 |
-
- Rouge2: 0.2902
|
23 |
-
- Rougel: 0.3871
|
24 |
-
- Rougelsum: 0.3871
|
25 |
-
- Gen Len: 13.16
|
26 |
|
27 |
## Model description
|
28 |
|
@@ -41,26 +34,28 @@ More information needed
|
|
41 |
### Training hyperparameters
|
42 |
|
43 |
The following hyperparameters were used during training:
|
44 |
-
- learning_rate:
|
45 |
-
- train_batch_size:
|
46 |
-
- eval_batch_size:
|
47 |
- seed: 42
|
|
|
|
|
48 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
- lr_scheduler_type: linear
|
50 |
-
- num_epochs:
|
51 |
|
52 |
### Training results
|
53 |
|
54 |
-
| Training Loss | Epoch | Step | Validation Loss |
|
55 |
-
|
56 |
-
|
|
57 |
-
|
|
58 |
-
|
|
59 |
|
60 |
|
61 |
### Framework versions
|
62 |
|
63 |
-
- Transformers 4.
|
64 |
-
- Pytorch 2.0
|
65 |
-
- Datasets 2.14.
|
66 |
- Tokenizers 0.14.1
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: google/flan-t5-large
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
model-index:
|
7 |
- name: trained_model
|
8 |
results: []
|
|
|
13 |
|
14 |
# trained_model
|
15 |
|
16 |
+
This model is a fine-tuned version of [google/flan-t5-large](https://huggingface.co/google/flan-t5-large) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.9780
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
34 |
### Training hyperparameters
|
35 |
|
36 |
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 0.0005811623641719214
|
38 |
+
- train_batch_size: 8
|
39 |
+
- eval_batch_size: 8
|
40 |
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 7
|
42 |
+
- total_train_batch_size: 56
|
43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
- lr_scheduler_type: linear
|
45 |
+
- num_epochs: 2
|
46 |
|
47 |
### Training results
|
48 |
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
51 |
+
| No log | 0.52 | 100 | 1.0140 |
|
52 |
+
| No log | 1.05 | 200 | 0.9792 |
|
53 |
+
| No log | 1.57 | 300 | 0.9780 |
|
54 |
|
55 |
|
56 |
### Framework versions
|
57 |
|
58 |
+
- Transformers 4.35.0
|
59 |
+
- Pytorch 2.1.0+cu118
|
60 |
+
- Datasets 2.14.6
|
61 |
- Tokenizers 0.14.1
|
adapter_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "google/flan-t5-large",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"lora_alpha": 32,
|
12 |
+
"lora_dropout": 0.05,
|
13 |
+
"modules_to_save": null,
|
14 |
+
"peft_type": "LORA",
|
15 |
+
"r": 16,
|
16 |
+
"rank_pattern": {},
|
17 |
+
"revision": null,
|
18 |
+
"target_modules": [
|
19 |
+
"q",
|
20 |
+
"v"
|
21 |
+
],
|
22 |
+
"task_type": "SEQ_2_SEQ_LM"
|
23 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d2554237ab2c5c5fcb57ac013a6288d5504accf79ebc68d638e29ad54e2bad2
|
3 |
+
size 18915328
|
runs/Nov04_17-21-53_37a4a00a92ac/events.out.tfevents.1699118528.37a4a00a92ac.2070.7
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46cc1867f2a1e43d95c5211fab84702d0c358ee2361b08e20c13cec57377dba3
|
3 |
+
size 5917
|
tokenizer.json
CHANGED
@@ -1,8 +1,15 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
|
|
|
|
|
|
|
|
|
|
4 |
"padding": {
|
5 |
-
"strategy":
|
|
|
|
|
6 |
"direction": "Right",
|
7 |
"pad_to_multiple_of": null,
|
8 |
"pad_id": 0,
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": {
|
4 |
+
"direction": "Right",
|
5 |
+
"max_length": 56,
|
6 |
+
"strategy": "LongestFirst",
|
7 |
+
"stride": 0
|
8 |
+
},
|
9 |
"padding": {
|
10 |
+
"strategy": {
|
11 |
+
"Fixed": 56
|
12 |
+
},
|
13 |
"direction": "Right",
|
14 |
"pad_to_multiple_of": null,
|
15 |
"pad_id": 0,
|
trainer_state.json
CHANGED
@@ -1,85 +1,52 @@
|
|
1 |
{
|
2 |
-
"best_metric":
|
3 |
-
"best_model_checkpoint":
|
4 |
-
"epoch":
|
5 |
"eval_steps": 100,
|
6 |
-
"global_step":
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
10 |
"log_history": [
|
11 |
{
|
12 |
-
"epoch":
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
|
17 |
-
{
|
18 |
-
"epoch": 2.0,
|
19 |
-
"eval_gen_len": 12.7,
|
20 |
-
"eval_loss": 1.4032484292984009,
|
21 |
-
"eval_rouge1": 0.3928,
|
22 |
-
"eval_rouge2": 0.2897,
|
23 |
-
"eval_rougeL": 0.3915,
|
24 |
-
"eval_rougeLsum": 0.3911,
|
25 |
-
"eval_runtime": 14.5472,
|
26 |
-
"eval_samples_per_second": 6.874,
|
27 |
-
"eval_steps_per_second": 3.437,
|
28 |
"step": 100
|
29 |
},
|
30 |
{
|
31 |
-
"epoch":
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
|
36 |
-
{
|
37 |
-
"epoch": 4.0,
|
38 |
-
"eval_gen_len": 12.68,
|
39 |
-
"eval_loss": 1.3398905992507935,
|
40 |
-
"eval_rouge1": 0.3826,
|
41 |
-
"eval_rouge2": 0.2908,
|
42 |
-
"eval_rougeL": 0.3808,
|
43 |
-
"eval_rougeLsum": 0.3809,
|
44 |
-
"eval_runtime": 14.6388,
|
45 |
-
"eval_samples_per_second": 6.831,
|
46 |
-
"eval_steps_per_second": 3.416,
|
47 |
"step": 200
|
48 |
},
|
49 |
{
|
50 |
-
"epoch":
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
|
55 |
-
{
|
56 |
-
"epoch": 6.0,
|
57 |
-
"eval_gen_len": 13.16,
|
58 |
-
"eval_loss": 1.3339253664016724,
|
59 |
-
"eval_rouge1": 0.3878,
|
60 |
-
"eval_rouge2": 0.2902,
|
61 |
-
"eval_rougeL": 0.3871,
|
62 |
-
"eval_rougeLsum": 0.3871,
|
63 |
-
"eval_runtime": 15.4855,
|
64 |
-
"eval_samples_per_second": 6.458,
|
65 |
-
"eval_steps_per_second": 3.229,
|
66 |
"step": 300
|
67 |
},
|
68 |
{
|
69 |
-
"epoch":
|
70 |
-
"step":
|
71 |
-
"total_flos":
|
72 |
-
"train_loss":
|
73 |
-
"train_runtime":
|
74 |
-
"train_samples_per_second":
|
75 |
-
"train_steps_per_second":
|
76 |
}
|
77 |
],
|
78 |
-
"logging_steps":
|
79 |
-
"max_steps":
|
80 |
-
"num_train_epochs":
|
81 |
-
"save_steps":
|
82 |
-
"total_flos":
|
83 |
"trial_name": null,
|
84 |
"trial_params": null
|
85 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.9970126960418222,
|
5 |
"eval_steps": 100,
|
6 |
+
"global_step": 382,
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
10 |
"log_history": [
|
11 |
{
|
12 |
+
"epoch": 0.52,
|
13 |
+
"eval_loss": 1.0140411853790283,
|
14 |
+
"eval_runtime": 1465.4694,
|
15 |
+
"eval_samples_per_second": 7.31,
|
16 |
+
"eval_steps_per_second": 0.914,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
"step": 100
|
18 |
},
|
19 |
{
|
20 |
+
"epoch": 1.05,
|
21 |
+
"eval_loss": 0.9791701436042786,
|
22 |
+
"eval_runtime": 1462.2287,
|
23 |
+
"eval_samples_per_second": 7.326,
|
24 |
+
"eval_steps_per_second": 0.916,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
"step": 200
|
26 |
},
|
27 |
{
|
28 |
+
"epoch": 1.57,
|
29 |
+
"eval_loss": 0.9779573678970337,
|
30 |
+
"eval_runtime": 1465.9156,
|
31 |
+
"eval_samples_per_second": 7.308,
|
32 |
+
"eval_steps_per_second": 0.914,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
"step": 300
|
34 |
},
|
35 |
{
|
36 |
+
"epoch": 2.0,
|
37 |
+
"step": 382,
|
38 |
+
"total_flos": 4.961368405337702e+16,
|
39 |
+
"train_loss": 0.8977117887966296,
|
40 |
+
"train_runtime": 14787.7789,
|
41 |
+
"train_samples_per_second": 1.449,
|
42 |
+
"train_steps_per_second": 0.026
|
43 |
}
|
44 |
],
|
45 |
+
"logging_steps": 500,
|
46 |
+
"max_steps": 382,
|
47 |
+
"num_train_epochs": 2,
|
48 |
+
"save_steps": 500,
|
49 |
+
"total_flos": 4.961368405337702e+16,
|
50 |
"trial_name": null,
|
51 |
"trial_params": null
|
52 |
}
|
training_args.bin
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:78c9fe5062705c374b5b532489d2b6c07ba7a6c5eec5526fda5268bc5595c0a7
|
3 |
+
size 4536
|