stevenjunliu commited on
Commit
676370a
·
verified ·
1 Parent(s): 08c0146

Model save

Browse files
README.md CHANGED
@@ -2,16 +2,12 @@
2
  license: mit
3
  base_model: gpt2
4
  tags:
5
- - alignment-handbook
6
- - trl
7
- - sft
8
- - generated_from_trainer
9
  - trl
10
  - sft
11
  - alignment-handbook
12
  - generated_from_trainer
13
  datasets:
14
- - shahadalkhalifa/Crypto_Whitepaper_Labeled
15
  model-index:
16
  - name: gpt2-cpt-white
17
  results: []
@@ -22,7 +18,7 @@ should probably proofread and complete it, then remove this comment. -->
22
 
23
  # gpt2-cpt-white
24
 
25
- This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the shahadalkhalifa/Crypto_Whitepaper_Labeled dataset.
26
 
27
  ## Model description
28
 
@@ -52,7 +48,7 @@ The following hyperparameters were used during training:
52
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
  - lr_scheduler_type: cosine
54
  - lr_scheduler_warmup_ratio: 0.1
55
- - num_epochs: 3.0
56
 
57
  ### Training results
58
 
 
2
  license: mit
3
  base_model: gpt2
4
  tags:
 
 
 
 
5
  - trl
6
  - sft
7
  - alignment-handbook
8
  - generated_from_trainer
9
  datasets:
10
+ - generator
11
  model-index:
12
  - name: gpt2-cpt-white
13
  results: []
 
18
 
19
  # gpt2-cpt-white
20
 
21
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the generator dataset.
22
 
23
  ## Model description
24
 
 
48
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
  - lr_scheduler_type: cosine
50
  - lr_scheduler_warmup_ratio: 0.1
51
+ - num_epochs: 4.0
52
 
53
  ### Training results
54
 
all_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 3.0,
3
- "train_loss": 6.028296748797099,
4
- "train_runtime": 40.098,
5
  "train_samples": 91,
6
- "train_samples_per_second": 18.779,
7
- "train_steps_per_second": 0.599
8
  }
 
1
  {
2
+ "epoch": 4.0,
3
+ "train_loss": 5.970038026571274,
4
+ "train_runtime": 52.1743,
5
  "train_samples": 91,
6
+ "train_samples_per_second": 19.243,
7
+ "train_steps_per_second": 0.613
8
  }
config.json CHANGED
@@ -34,6 +34,6 @@
34
  },
35
  "torch_dtype": "bfloat16",
36
  "transformers_version": "4.39.0.dev0",
37
- "use_cache": true,
38
  "vocab_size": 50257
39
  }
 
34
  },
35
  "torch_dtype": "bfloat16",
36
  "transformers_version": "4.39.0.dev0",
37
+ "use_cache": false,
38
  "vocab_size": 50257
39
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:50fab2e3ac84c5849e05637af1ba07db099619c06e9f634c104e534fd87e44c8
3
  size 248894656
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:730443de84302ebc475f18fd8d665c46b3a6b824b37d233143186fc579c891b7
3
  size 248894656
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 3.0,
3
- "train_loss": 6.028296748797099,
4
- "train_runtime": 40.098,
5
  "train_samples": 91,
6
- "train_samples_per_second": 18.779,
7
- "train_steps_per_second": 0.599
8
  }
 
1
  {
2
+ "epoch": 4.0,
3
+ "train_loss": 5.970038026571274,
4
+ "train_runtime": 52.1743,
5
  "train_samples": 91,
6
+ "train_samples_per_second": 19.243,
7
+ "train_steps_per_second": 0.613
8
  }
trainer_state.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
- "epoch": 3.0,
5
  "eval_steps": 500,
6
- "global_step": 24,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
@@ -11,54 +11,68 @@
11
  {
12
  "epoch": 0.12,
13
  "grad_norm": 6.875,
14
- "learning_rate": 6.666666666666667e-05,
15
  "loss": 6.4878,
16
  "step": 1
17
  },
18
  {
19
  "epoch": 0.62,
20
- "grad_norm": 4.15625,
21
- "learning_rate": 0.0001955572805786141,
22
- "loss": 6.2679,
23
  "step": 5
24
  },
25
  {
26
  "epoch": 1.25,
27
- "grad_norm": 3.0,
28
- "learning_rate": 0.00015000000000000001,
29
- "loss": 6.0743,
30
  "step": 10
31
  },
32
  {
33
  "epoch": 1.88,
34
- "grad_norm": 2.75,
35
- "learning_rate": 7.774790660436858e-05,
36
- "loss": 5.924,
37
  "step": 15
38
  },
39
  {
40
  "epoch": 2.5,
41
- "grad_norm": 2.734375,
42
- "learning_rate": 1.7376122568400532e-05,
43
- "loss": 5.9329,
44
  "step": 20
45
  },
46
  {
47
- "epoch": 3.0,
48
- "step": 24,
49
- "total_flos": 401344561152000.0,
50
- "train_loss": 6.028296748797099,
51
- "train_runtime": 40.098,
52
- "train_samples_per_second": 18.779,
53
- "train_steps_per_second": 0.599
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  }
55
  ],
56
  "logging_steps": 5,
57
- "max_steps": 24,
58
  "num_input_tokens_seen": 0,
59
- "num_train_epochs": 3,
60
  "save_steps": 100,
61
- "total_flos": 401344561152000.0,
62
  "train_batch_size": 16,
63
  "trial_name": null,
64
  "trial_params": null
 
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
+ "epoch": 4.0,
5
  "eval_steps": 500,
6
+ "global_step": 32,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
 
11
  {
12
  "epoch": 0.12,
13
  "grad_norm": 6.875,
14
+ "learning_rate": 5e-05,
15
  "loss": 6.4878,
16
  "step": 1
17
  },
18
  {
19
  "epoch": 0.62,
20
+ "grad_norm": 5.0,
21
+ "learning_rate": 0.00019937122098932428,
22
+ "loss": 6.2983,
23
  "step": 5
24
  },
25
  {
26
  "epoch": 1.25,
27
+ "grad_norm": 3.078125,
28
+ "learning_rate": 0.000178183148246803,
29
+ "loss": 6.1058,
30
  "step": 10
31
  },
32
  {
33
  "epoch": 1.88,
34
+ "grad_norm": 2.71875,
35
+ "learning_rate": 0.00013302790619551674,
36
+ "loss": 5.931,
37
  "step": 15
38
  },
39
  {
40
  "epoch": 2.5,
41
+ "grad_norm": 2.609375,
42
+ "learning_rate": 7.774790660436858e-05,
43
+ "loss": 5.9051,
44
  "step": 20
45
  },
46
  {
47
+ "epoch": 3.12,
48
+ "grad_norm": 2.4375,
49
+ "learning_rate": 2.9289321881345254e-05,
50
+ "loss": 5.806,
51
+ "step": 25
52
+ },
53
+ {
54
+ "epoch": 3.75,
55
+ "grad_norm": 2.390625,
56
+ "learning_rate": 2.5072087818176382e-06,
57
+ "loss": 5.859,
58
+ "step": 30
59
+ },
60
+ {
61
+ "epoch": 4.0,
62
+ "step": 32,
63
+ "total_flos": 535126081536000.0,
64
+ "train_loss": 5.970038026571274,
65
+ "train_runtime": 52.1743,
66
+ "train_samples_per_second": 19.243,
67
+ "train_steps_per_second": 0.613
68
  }
69
  ],
70
  "logging_steps": 5,
71
+ "max_steps": 32,
72
  "num_input_tokens_seen": 0,
73
+ "num_train_epochs": 4,
74
  "save_steps": 100,
75
+ "total_flos": 535126081536000.0,
76
  "train_batch_size": 16,
77
  "trial_name": null,
78
  "trial_params": null
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1b5d24a506bf06211115f2794625e7452cf246540d312ae8034060bb4acbca34
3
  size 4984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2c056c4dade92b5591829dd2761c358067337b09032e8b0ed3a5de0753a37aa
3
  size 4984