peterbeamish commited on
Commit
c7896d3
1 Parent(s): 9ff1453

End of training

Browse files
README.md CHANGED
@@ -1,10 +1,8 @@
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: 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-small](https://huggingface.co/google/flan-t5-small) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 1.3339
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: 4e-05
45
- - train_batch_size: 2
46
- - eval_batch_size: 2
47
  - seed: 42
 
 
48
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
  - lr_scheduler_type: linear
50
- - num_epochs: 6
51
 
52
  ### Training results
53
 
54
- | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
55
- |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
56
- | 1.9101 | 2.0 | 100 | 1.4032 | 0.3928 | 0.2897 | 0.3915 | 0.3911 | 12.7 |
57
- | 1.4264 | 4.0 | 200 | 1.3399 | 0.3826 | 0.2908 | 0.3808 | 0.3809 | 12.68 |
58
- | 1.3121 | 6.0 | 300 | 1.3339 | 0.3878 | 0.2902 | 0.3871 | 0.3871 | 13.16 |
59
 
60
 
61
  ### Framework versions
62
 
63
- - Transformers 4.34.0
64
- - Pytorch 2.0.1+cu118
65
- - Datasets 2.14.5
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": null,
 
 
 
 
 
4
  "padding": {
5
- "strategy": "BatchLongest",
 
 
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": 1.3398905992507935,
3
- "best_model_checkpoint": "./trained_model/checkpoint-200",
4
- "epoch": 6.0,
5
  "eval_steps": 100,
6
- "global_step": 300,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
- "epoch": 2.0,
13
- "learning_rate": 2.6666666666666667e-05,
14
- "loss": 1.9101,
15
- "step": 100
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": 4.0,
32
- "learning_rate": 1.3333333333333333e-05,
33
- "loss": 1.4264,
34
- "step": 200
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": 6.0,
51
- "learning_rate": 0.0,
52
- "loss": 1.3121,
53
- "step": 300
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": 6.0,
70
- "step": 300,
71
- "total_flos": 111534302822400.0,
72
- "train_loss": 1.5495406595865886,
73
- "train_runtime": 75.3909,
74
- "train_samples_per_second": 7.959,
75
- "train_steps_per_second": 3.979
76
  }
77
  ],
78
- "logging_steps": 100,
79
- "max_steps": 300,
80
- "num_train_epochs": 6,
81
- "save_steps": 200,
82
- "total_flos": 111534302822400.0,
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:47e37319b6c5f5fc1cf34c2c247f61d37f8f85bb95fcd70040aa535f8b9d85e4
3
- size 4219
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78c9fe5062705c374b5b532489d2b6c07ba7a6c5eec5526fda5268bc5595c0a7
3
+ size 4536