Wenboz commited on
Commit
a675905
1 Parent(s): 71e95f7

End of training

Browse files
Files changed (4) hide show
  1. README.md +10 -9
  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
@@ -19,15 +20,15 @@ should probably proofread and complete it, then remove this comment. -->
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
  It achieves the following results on the evaluation set:
22
- - Loss: 0.6633
23
- - Rewards/chosen: -0.1262
24
- - Rewards/rejected: -0.1959
25
- - Rewards/accuracies: 0.7540
26
- - Rewards/margins: 0.0697
27
- - Logps/rejected: -403.3280
28
- - Logps/chosen: -421.1901
29
- - Logits/rejected: 12.0952
30
- - Logits/chosen: 13.8997
31
 
32
  ## Model description
33
 
 
2
  license: mit
3
  library_name: peft
4
  tags:
5
+ - alignment-handbook
6
  - trl
7
  - dpo
8
  - generated_from_trainer
 
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.6639
24
+ - Rewards/chosen: -0.1248
25
+ - Rewards/rejected: -0.1933
26
+ - Rewards/accuracies: 0.7421
27
+ - Rewards/margins: 0.0685
28
+ - Logps/rejected: -403.0595
29
+ - Logps/chosen: -421.0499
30
+ - Logits/rejected: 12.1072
31
+ - Logits/chosen: 13.9087
32
 
33
  ## Model description
34
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 0.9991111111111111,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.6916975294143703,
5
  "train_runtime": 7520.1237,
 
1
  {
2
  "epoch": 0.9991111111111111,
3
+ "eval_logits/chosen": 13.90869140625,
4
+ "eval_logits/rejected": 12.107211112976074,
5
+ "eval_logps/chosen": -421.04986572265625,
6
+ "eval_logps/rejected": -403.05950927734375,
7
+ "eval_loss": 0.6638615727424622,
8
+ "eval_rewards/accuracies": 0.7420634627342224,
9
+ "eval_rewards/chosen": -0.12479932606220245,
10
+ "eval_rewards/margins": 0.06845071166753769,
11
+ "eval_rewards/rejected": -0.19325004518032074,
12
+ "eval_runtime": 89.6685,
13
+ "eval_samples": 1000,
14
+ "eval_samples_per_second": 11.152,
15
+ "eval_steps_per_second": 0.703,
16
  "total_flos": 0.0,
17
  "train_loss": 0.6916975294143703,
18
  "train_runtime": 7520.1237,
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.9991111111111111,
3
+ "eval_logits/chosen": 13.90869140625,
4
+ "eval_logits/rejected": 12.107211112976074,
5
+ "eval_logps/chosen": -421.04986572265625,
6
+ "eval_logps/rejected": -403.05950927734375,
7
+ "eval_loss": 0.6638615727424622,
8
+ "eval_rewards/accuracies": 0.7420634627342224,
9
+ "eval_rewards/chosen": -0.12479932606220245,
10
+ "eval_rewards/margins": 0.06845071166753769,
11
+ "eval_rewards/rejected": -0.19325004518032074,
12
+ "eval_runtime": 89.6685,
13
+ "eval_samples": 1000,
14
+ "eval_samples_per_second": 11.152,
15
+ "eval_steps_per_second": 0.703
16
+ }