tanliboy commited on
Commit
1136f5a
1 Parent(s): 6693dd8

End of training

Browse files
Files changed (4) hide show
  1. README.md +15 -9
  2. all_results.json +13 -0
  3. config.json +1 -1
  4. eval_results.json +16 -0
README.md CHANGED
@@ -2,9 +2,15 @@
2
  license: gemma
3
  base_model: tanliboy/zephyr-7b-gemma-sft
4
  tags:
 
5
  - trl
6
  - dpo
7
  - generated_from_trainer
 
 
 
 
 
8
  model-index:
9
  - name: zephyr-7b-gemma-dpo
10
  results: []
@@ -15,17 +21,17 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # zephyr-7b-gemma-dpo
17
 
18
- This model is a fine-tuned version of [tanliboy/zephyr-7b-gemma-sft](https://huggingface.co/tanliboy/zephyr-7b-gemma-sft) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.4722
21
- - Rewards/chosen: -0.0658
22
- - Rewards/rejected: -1.2673
23
  - Rewards/accuracies: 0.7396
24
- - Rewards/margins: 1.2015
25
- - Logps/rejected: -720.2745
26
- - Logps/chosen: -697.6023
27
- - Logits/rejected: 152.9660
28
- - Logits/chosen: 153.1356
29
 
30
  ## Model description
31
 
 
2
  license: gemma
3
  base_model: tanliboy/zephyr-7b-gemma-sft
4
  tags:
5
+ - alignment-handbook
6
  - trl
7
  - dpo
8
  - generated_from_trainer
9
+ - trl
10
+ - dpo
11
+ - generated_from_trainer
12
+ datasets:
13
+ - argilla/dpo-mix-7k
14
  model-index:
15
  - name: zephyr-7b-gemma-dpo
16
  results: []
 
21
 
22
  # zephyr-7b-gemma-dpo
23
 
24
+ This model is a fine-tuned version of [tanliboy/zephyr-7b-gemma-sft](https://huggingface.co/tanliboy/zephyr-7b-gemma-sft) on the argilla/dpo-mix-7k dataset.
25
  It achieves the following results on the evaluation set:
26
+ - Loss: 0.4833
27
+ - Rewards/chosen: -0.1121
28
+ - Rewards/rejected: -1.2301
29
  - Rewards/accuracies: 0.7396
30
+ - Rewards/margins: 1.1180
31
+ - Logps/rejected: -719.5310
32
+ - Logps/chosen: -698.5295
33
+ - Logits/rejected: 153.0066
34
+ - Logits/chosen: 153.1078
35
 
36
  ## Model description
37
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 1.971563981042654,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.3875045489806395,
5
  "train_runtime": 2331.3598,
 
1
  {
2
  "epoch": 1.971563981042654,
3
+ "eval_logits/chosen": 153.10781860351562,
4
+ "eval_logits/rejected": 153.006591796875,
5
+ "eval_logps/chosen": -698.5294799804688,
6
+ "eval_logps/rejected": -719.531005859375,
7
+ "eval_loss": 0.4833243787288666,
8
+ "eval_rewards/accuracies": 0.7395833134651184,
9
+ "eval_rewards/chosen": -0.11214617639780045,
10
+ "eval_rewards/margins": 1.1179896593093872,
11
+ "eval_rewards/rejected": -1.2301357984542847,
12
+ "eval_runtime": 116.3725,
13
+ "eval_samples": 750,
14
+ "eval_samples_per_second": 6.445,
15
+ "eval_steps_per_second": 0.206,
16
  "total_flos": 0.0,
17
  "train_loss": 0.3875045489806395,
18
  "train_runtime": 2331.3598,
config.json CHANGED
@@ -24,6 +24,6 @@
24
  "rope_theta": 10000.0,
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.40.2",
27
- "use_cache": false,
28
  "vocab_size": 256000
29
  }
 
24
  "rope_theta": 10000.0,
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.40.2",
27
+ "use_cache": true,
28
  "vocab_size": 256000
29
  }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.971563981042654,
3
+ "eval_logits/chosen": 153.10781860351562,
4
+ "eval_logits/rejected": 153.006591796875,
5
+ "eval_logps/chosen": -698.5294799804688,
6
+ "eval_logps/rejected": -719.531005859375,
7
+ "eval_loss": 0.4833243787288666,
8
+ "eval_rewards/accuracies": 0.7395833134651184,
9
+ "eval_rewards/chosen": -0.11214617639780045,
10
+ "eval_rewards/margins": 1.1179896593093872,
11
+ "eval_rewards/rejected": -1.2301357984542847,
12
+ "eval_runtime": 116.3725,
13
+ "eval_samples": 750,
14
+ "eval_samples_per_second": 6.445,
15
+ "eval_steps_per_second": 0.206
16
+ }