ShenaoZ commited on
Commit
1c18841
1 Parent(s): fea1bce

Model save

Browse files
README.md CHANGED
@@ -2,15 +2,9 @@
2
  license: mit
3
  base_model: HuggingFaceH4/mistral-7b-sft-beta
4
  tags:
5
- - alignment-handbook
6
  - trl
7
  - dpo
8
  - generated_from_trainer
9
- - trl
10
- - dpo
11
- - generated_from_trainer
12
- datasets:
13
- - HuggingFaceH4/ultrafeedback_binarized
14
  model-index:
15
  - name: 0.001_ablation_4iters_bs256_only2third_iter_1
16
  results: []
@@ -21,7 +15,7 @@ should probably proofread and complete it, then remove this comment. -->
21
 
22
  # 0.001_ablation_4iters_bs256_only2third_iter_1
23
 
24
- This model is a fine-tuned version of [HuggingFaceH4/mistral-7b-sft-beta](https://huggingface.co/HuggingFaceH4/mistral-7b-sft-beta) on the HuggingFaceH4/ultrafeedback_binarized dataset.
25
 
26
  ## Model description
27
 
 
2
  license: mit
3
  base_model: HuggingFaceH4/mistral-7b-sft-beta
4
  tags:
 
5
  - trl
6
  - dpo
7
  - generated_from_trainer
 
 
 
 
 
8
  model-index:
9
  - name: 0.001_ablation_4iters_bs256_only2third_iter_1
10
  results: []
 
15
 
16
  # 0.001_ablation_4iters_bs256_only2third_iter_1
17
 
18
+ This model is a fine-tuned version of [HuggingFaceH4/mistral-7b-sft-beta](https://huggingface.co/HuggingFaceH4/mistral-7b-sft-beta) on the None dataset.
19
 
20
  ## Model description
21
 
all_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "epoch": 1.0,
3
  "total_flos": 0.0,
4
- "train_loss": 0.6658724308013916,
5
- "train_runtime": 1113.1816,
6
  "train_samples": 10189,
7
- "train_samples_per_second": 9.153,
8
  "train_steps_per_second": 0.036
9
  }
 
1
  {
2
  "epoch": 1.0,
3
  "total_flos": 0.0,
4
+ "train_loss": 0.6658878326416016,
5
+ "train_runtime": 1111.8376,
6
  "train_samples": 10189,
7
+ "train_samples_per_second": 9.164,
8
  "train_steps_per_second": 0.036
9
  }
config.json CHANGED
@@ -21,6 +21,6 @@
21
  "tie_word_embeddings": false,
22
  "torch_dtype": "bfloat16",
23
  "transformers_version": "4.40.0",
24
- "use_cache": true,
25
  "vocab_size": 32000
26
  }
 
21
  "tie_word_embeddings": false,
22
  "torch_dtype": "bfloat16",
23
  "transformers_version": "4.40.0",
24
+ "use_cache": false,
25
  "vocab_size": 32000
26
  }
model-00001-of-00003.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9b9201be95a2305af8ac9a9549e00720ea3404303f1266cee03e54504afab8d1
3
  size 4943162336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:543cb65482446b412380174e3df863ed809d37793d88df5a4b5af5bbfe145a9a
3
  size 4943162336
model-00002-of-00003.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6395558745a715df764ba37724bab66d642482bd185639b51b1ac50816180119
3
  size 4999819336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10b980f1f59abc40d6a8197aa3886ffda6f1deb5e82d653b4bbd586b87a9ccac
3
  size 4999819336
model-00003-of-00003.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:64a584896eca7ba3f7f8d3f3dd78e9ae54b9229ca896101f03712dfc147ced98
3
  size 4540516344
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aaf11da0c53a34ae6f42dbb52abc3c3aa5ae1fb9acc5f3f9e2776121dbd9089a
3
  size 4540516344
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "epoch": 1.0,
3
  "total_flos": 0.0,
4
- "train_loss": 0.6658724308013916,
5
- "train_runtime": 1113.1816,
6
  "train_samples": 10189,
7
- "train_samples_per_second": 9.153,
8
  "train_steps_per_second": 0.036
9
  }
 
1
  {
2
  "epoch": 1.0,
3
  "total_flos": 0.0,
4
+ "train_loss": 0.6658878326416016,
5
+ "train_runtime": 1111.8376,
6
  "train_samples": 10189,
7
+ "train_samples_per_second": 9.164,
8
  "train_steps_per_second": 0.036
9
  }
trainer_state.json CHANGED
@@ -10,7 +10,7 @@
10
  "log_history": [
11
  {
12
  "epoch": 0.025,
13
- "grad_norm": 6.698945088060824,
14
  "learning_rate": 1.25e-07,
15
  "logits/chosen": -2.8582587242126465,
16
  "logits/rejected": -2.842068910598755,
@@ -25,71 +25,71 @@
25
  },
26
  {
27
  "epoch": 0.25,
28
- "grad_norm": 6.888664410561039,
29
  "learning_rate": 4.6650635094610966e-07,
30
- "logits/chosen": -2.781330108642578,
31
- "logits/rejected": -2.7729134559631348,
32
- "logps/chosen": -254.4892578125,
33
- "logps/rejected": -251.1736602783203,
34
  "loss": 0.6908,
35
- "rewards/accuracies": 0.5208333134651184,
36
- "rewards/chosen": 0.005517133977264166,
37
- "rewards/margins": 0.004050815477967262,
38
- "rewards/rejected": 0.0014663181500509381,
39
  "step": 10
40
  },
41
  {
42
  "epoch": 0.5,
43
- "grad_norm": 6.422517638432347,
44
  "learning_rate": 2.934120444167326e-07,
45
- "logits/chosen": -2.7719380855560303,
46
- "logits/rejected": -2.7447848320007324,
47
- "logps/chosen": -265.4648132324219,
48
- "logps/rejected": -252.11721801757812,
49
  "loss": 0.6742,
50
- "rewards/accuracies": 0.6781250238418579,
51
- "rewards/chosen": 0.03317389637231827,
52
- "rewards/margins": 0.04384994134306908,
53
- "rewards/rejected": -0.010676050558686256,
54
  "step": 20
55
  },
56
  {
57
  "epoch": 0.75,
58
- "grad_norm": 7.490219062263049,
59
  "learning_rate": 8.930309757836516e-08,
60
- "logits/chosen": -2.7620229721069336,
61
- "logits/rejected": -2.740633487701416,
62
- "logps/chosen": -258.3665466308594,
63
- "logps/rejected": -249.21975708007812,
64
- "loss": 0.6514,
65
- "rewards/accuracies": 0.671875,
66
- "rewards/chosen": -0.02328680083155632,
67
- "rewards/margins": 0.07368560880422592,
68
- "rewards/rejected": -0.09697240591049194,
69
  "step": 30
70
  },
71
  {
72
  "epoch": 1.0,
73
- "grad_norm": 7.121984785862904,
74
  "learning_rate": 0.0,
75
- "logits/chosen": -2.758615016937256,
76
- "logits/rejected": -2.7334706783294678,
77
- "logps/chosen": -266.12847900390625,
78
- "logps/rejected": -273.2154541015625,
79
  "loss": 0.6468,
80
- "rewards/accuracies": 0.590624988079071,
81
- "rewards/chosen": -0.05707535147666931,
82
- "rewards/margins": 0.062127478420734406,
83
- "rewards/rejected": -0.11920282989740372,
84
  "step": 40
85
  },
86
  {
87
  "epoch": 1.0,
88
  "step": 40,
89
  "total_flos": 0.0,
90
- "train_loss": 0.6658724308013916,
91
- "train_runtime": 1113.1816,
92
- "train_samples_per_second": 9.153,
93
  "train_steps_per_second": 0.036
94
  }
95
  ],
 
10
  "log_history": [
11
  {
12
  "epoch": 0.025,
13
+ "grad_norm": 6.698416653714476,
14
  "learning_rate": 1.25e-07,
15
  "logits/chosen": -2.8582587242126465,
16
  "logits/rejected": -2.842068910598755,
 
25
  },
26
  {
27
  "epoch": 0.25,
28
+ "grad_norm": 6.883361102730669,
29
  "learning_rate": 4.6650635094610966e-07,
30
+ "logits/chosen": -2.7813661098480225,
31
+ "logits/rejected": -2.772981643676758,
32
+ "logps/chosen": -254.5003204345703,
33
+ "logps/rejected": -251.1380157470703,
34
  "loss": 0.6908,
35
+ "rewards/accuracies": 0.5381944179534912,
36
+ "rewards/chosen": 0.005406244192272425,
37
+ "rewards/margins": 0.0035838009789586067,
38
+ "rewards/rejected": 0.001822443911805749,
39
  "step": 10
40
  },
41
  {
42
  "epoch": 0.5,
43
+ "grad_norm": 6.43798743744834,
44
  "learning_rate": 2.934120444167326e-07,
45
+ "logits/chosen": -2.7719171047210693,
46
+ "logits/rejected": -2.7447400093078613,
47
+ "logps/chosen": -265.3804931640625,
48
+ "logps/rejected": -252.05618286132812,
49
  "loss": 0.6742,
50
+ "rewards/accuracies": 0.6812499761581421,
51
+ "rewards/chosen": 0.03401705250144005,
52
+ "rewards/margins": 0.04408254474401474,
53
+ "rewards/rejected": -0.01006548572331667,
54
  "step": 20
55
  },
56
  {
57
  "epoch": 0.75,
58
+ "grad_norm": 7.502439531203193,
59
  "learning_rate": 8.930309757836516e-08,
60
+ "logits/chosen": -2.761791467666626,
61
+ "logits/rejected": -2.740384578704834,
62
+ "logps/chosen": -258.3692626953125,
63
+ "logps/rejected": -249.21566772460938,
64
+ "loss": 0.6515,
65
+ "rewards/accuracies": 0.6781250238418579,
66
+ "rewards/chosen": -0.02331426367163658,
67
+ "rewards/margins": 0.07361713796854019,
68
+ "rewards/rejected": -0.09693139791488647,
69
  "step": 30
70
  },
71
  {
72
  "epoch": 1.0,
73
+ "grad_norm": 7.122574066847829,
74
  "learning_rate": 0.0,
75
+ "logits/chosen": -2.7583651542663574,
76
+ "logits/rejected": -2.733116626739502,
77
+ "logps/chosen": -266.1463317871094,
78
+ "logps/rejected": -273.2423095703125,
79
  "loss": 0.6468,
80
+ "rewards/accuracies": 0.6000000238418579,
81
+ "rewards/chosen": -0.05725393444299698,
82
+ "rewards/margins": 0.06221733242273331,
83
+ "rewards/rejected": -0.11947127431631088,
84
  "step": 40
85
  },
86
  {
87
  "epoch": 1.0,
88
  "step": 40,
89
  "total_flos": 0.0,
90
+ "train_loss": 0.6658878326416016,
91
+ "train_runtime": 1111.8376,
92
+ "train_samples_per_second": 9.164,
93
  "train_steps_per_second": 0.036
94
  }
95
  ],
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fa84316d3d3c5012ddc31a9fbc319ffde3eb823e9cd944ce6be549d29f9e757f
3
  size 6328
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4d40b454190180c3f41b32904e3920440257a19d99dd810e99901ef41b7949b
3
  size 6328