Wenboz commited on
Commit
a08ed87
1 Parent(s): 49256fd

End of training

Browse files
Files changed (4) hide show
  1. README.md +11 -0
  2. all_results.json +13 -0
  3. config.json +35 -0
  4. eval_results.json +16 -0
README.md CHANGED
@@ -2,6 +2,7 @@
2
  license: mit
3
  library_name: peft
4
  tags:
 
5
  - trl
6
  - dpo
7
  - generated_from_trainer
@@ -18,6 +19,16 @@ should probably proofread and complete it, then remove this comment. -->
18
  # phi_3-offline-dpo-noise-0.0-42
19
 
20
  This model is a fine-tuned version of [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct) on the None dataset.
 
 
 
 
 
 
 
 
 
 
21
 
22
  ## Model description
23
 
 
2
  license: mit
3
  library_name: peft
4
  tags:
5
+ - alignment-handbook
6
  - trl
7
  - dpo
8
  - generated_from_trainer
 
19
  # phi_3-offline-dpo-noise-0.0-42
20
 
21
  This model is a fine-tuned version of [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.6938
24
+ - Rewards/chosen: -0.0001
25
+ - Rewards/rejected: -0.0001
26
+ - Rewards/accuracies: 0.5357
27
+ - Rewards/margins: 0.0000
28
+ - Logps/rejected: -395.4152
29
+ - Logps/chosen: -396.9144
30
+ - Logits/rejected: 12.8496
31
+ - Logits/chosen: 13.9987
32
 
33
  ## Model description
34
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 0.9230769230769231,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.6940749088923136,
5
  "train_runtime": 53.4359,
 
1
  {
2
  "epoch": 0.9230769230769231,
3
+ "eval_logits/chosen": 13.998739242553711,
4
+ "eval_logits/rejected": 12.849632263183594,
5
+ "eval_logps/chosen": -396.9144287109375,
6
+ "eval_logps/rejected": -395.41522216796875,
7
+ "eval_loss": 0.6937551498413086,
8
+ "eval_rewards/accuracies": 0.5357142686843872,
9
+ "eval_rewards/chosen": -0.00012085953494533896,
10
+ "eval_rewards/margins": 9.88479132502107e-06,
11
+ "eval_rewards/rejected": -0.00013074450544081628,
12
+ "eval_runtime": 89.0222,
13
+ "eval_samples": 1000,
14
+ "eval_samples_per_second": 11.233,
15
+ "eval_steps_per_second": 0.708,
16
  "total_flos": 0.0,
17
  "train_loss": 0.6940749088923136,
18
  "train_runtime": 53.4359,
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/Phi-3-mini-4k-instruct",
3
+ "architectures": [
4
+ "Phi3ForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "auto_map": {
9
+ "AutoConfig": "microsoft/Phi-3-mini-4k-instruct--configuration_phi3.Phi3Config",
10
+ "AutoModelForCausalLM": "microsoft/Phi-3-mini-4k-instruct--modeling_phi3.Phi3ForCausalLM"
11
+ },
12
+ "bos_token_id": 1,
13
+ "embd_pdrop": 0.0,
14
+ "eos_token_id": 32000,
15
+ "hidden_act": "silu",
16
+ "hidden_size": 3072,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 8192,
19
+ "max_position_embeddings": 4096,
20
+ "model_type": "phi3",
21
+ "num_attention_heads": 32,
22
+ "num_hidden_layers": 32,
23
+ "num_key_value_heads": 32,
24
+ "original_max_position_embeddings": 4096,
25
+ "pad_token_id": 32000,
26
+ "resid_pdrop": 0.0,
27
+ "rms_norm_eps": 1e-05,
28
+ "rope_scaling": null,
29
+ "rope_theta": 10000.0,
30
+ "sliding_window": 2047,
31
+ "tie_word_embeddings": false,
32
+ "transformers_version": "4.42.3",
33
+ "use_cache": true,
34
+ "vocab_size": 32064
35
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9230769230769231,
3
+ "eval_logits/chosen": 13.998739242553711,
4
+ "eval_logits/rejected": 12.849632263183594,
5
+ "eval_logps/chosen": -396.9144287109375,
6
+ "eval_logps/rejected": -395.41522216796875,
7
+ "eval_loss": 0.6937551498413086,
8
+ "eval_rewards/accuracies": 0.5357142686843872,
9
+ "eval_rewards/chosen": -0.00012085953494533896,
10
+ "eval_rewards/margins": 9.88479132502107e-06,
11
+ "eval_rewards/rejected": -0.00013074450544081628,
12
+ "eval_runtime": 89.0222,
13
+ "eval_samples": 1000,
14
+ "eval_samples_per_second": 11.233,
15
+ "eval_steps_per_second": 0.708
16
+ }