ShenaoZ commited on
Commit
e611208
1 Parent(s): 5678e20

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.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
  }
 
1
  {
2
  "epoch": 1.0,
3
  "total_flos": 0.0,
4
+ "train_loss": 0.6658271312713623,
5
+ "train_runtime": 1112.3976,
6
  "train_samples": 10189,
7
+ "train_samples_per_second": 9.159,
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:543cb65482446b412380174e3df863ed809d37793d88df5a4b5af5bbfe145a9a
3
  size 4943162336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2906f2d96897abb9b67aabc3b231f5470f8729387395809eaf9d6e155fe326b
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:10b980f1f59abc40d6a8197aa3886ffda6f1deb5e82d653b4bbd586b87a9ccac
3
  size 4999819336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:033cebedf8a62438cc7bb74bd8aa9a99baf6142272c75a62a4526f44cea01853
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:aaf11da0c53a34ae6f42dbb52abc3c3aa5ae1fb9acc5f3f9e2776121dbd9089a
3
  size 4540516344
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:476f924bf33d8384b00da00a4a6df8bde197fd07bcdad8cdc9ae01248dcb8c2d
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.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
  }
 
1
  {
2
  "epoch": 1.0,
3
  "total_flos": 0.0,
4
+ "train_loss": 0.6658271312713623,
5
+ "train_runtime": 1112.3976,
6
  "train_samples": 10189,
7
+ "train_samples_per_second": 9.159,
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.698416653714476,
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.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
  ],
 
10
  "log_history": [
11
  {
12
  "epoch": 0.025,
13
+ "grad_norm": 6.6984829306295985,
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.880940565037714,
29
  "learning_rate": 4.6650635094610966e-07,
30
+ "logits/chosen": -2.781381130218506,
31
+ "logits/rejected": -2.7730088233947754,
32
+ "logps/chosen": -254.4922637939453,
33
+ "logps/rejected": -251.15196228027344,
34
  "loss": 0.6908,
35
+ "rewards/accuracies": 0.5277777910232544,
36
+ "rewards/chosen": 0.005487086251378059,
37
+ "rewards/margins": 0.0038041824009269476,
38
+ "rewards/rejected": 0.0016829040832817554,
39
  "step": 10
40
  },
41
  {
42
  "epoch": 0.5,
43
+ "grad_norm": 6.415866483339294,
44
  "learning_rate": 2.934120444167326e-07,
45
+ "logits/chosen": -2.771768569946289,
46
+ "logits/rejected": -2.744568347930908,
47
+ "logps/chosen": -265.42926025390625,
48
+ "logps/rejected": -252.08932495117188,
49
+ "loss": 0.6741,
50
+ "rewards/accuracies": 0.671875,
51
+ "rewards/chosen": 0.03352969139814377,
52
+ "rewards/margins": 0.04392678663134575,
53
+ "rewards/rejected": -0.010397094301879406,
54
  "step": 20
55
  },
56
  {
57
  "epoch": 0.75,
58
+ "grad_norm": 7.499103181183479,
59
  "learning_rate": 8.930309757836516e-08,
60
+ "logits/chosen": -2.7617874145507812,
61
+ "logits/rejected": -2.7403435707092285,
62
+ "logps/chosen": -258.38079833984375,
63
+ "logps/rejected": -249.26309204101562,
64
+ "loss": 0.6514,
65
+ "rewards/accuracies": 0.671875,
66
+ "rewards/chosen": -0.02342965081334114,
67
+ "rewards/margins": 0.07397619634866714,
68
+ "rewards/rejected": -0.09740584343671799,
69
  "step": 30
70
  },
71
  {
72
  "epoch": 1.0,
73
+ "grad_norm": 7.140558621795842,
74
  "learning_rate": 0.0,
75
+ "logits/chosen": -2.7583961486816406,
76
+ "logits/rejected": -2.7331676483154297,
77
+ "logps/chosen": -266.16204833984375,
78
+ "logps/rejected": -273.2425537109375,
79
+ "loss": 0.6467,
80
+ "rewards/accuracies": 0.59375,
81
+ "rewards/chosen": -0.05741094797849655,
82
+ "rewards/margins": 0.062062572687864304,
83
+ "rewards/rejected": -0.11947351694107056,
84
  "step": 40
85
  },
86
  {
87
  "epoch": 1.0,
88
  "step": 40,
89
  "total_flos": 0.0,
90
+ "train_loss": 0.6658271312713623,
91
+ "train_runtime": 1112.3976,
92
+ "train_samples_per_second": 9.159,
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:d4d40b454190180c3f41b32904e3920440257a19d99dd810e99901ef41b7949b
3
  size 6328
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25d0c445bcb8c314207cfd174ae581a7de9a0c99eaa33cc1c0abb147597b80a9
3
  size 6328