Wenboz commited on
Commit
30a83c7
1 Parent(s): becb441

End of training

Browse files
Files changed (4) hide show
  1. README.md +9 -8
  2. all_results.json +14 -0
  3. config.json +29 -0
  4. eval_results.json +17 -0
README.md CHANGED
@@ -2,6 +2,7 @@
2
  base_model: princeton-nlp/Llama-3-Base-8B-SFT
3
  library_name: peft
4
  tags:
 
5
  - trl
6
  - dpo
7
  - generated_from_trainer
@@ -18,15 +19,15 @@ should probably proofread and complete it, then remove this comment. -->
18
  This model is a fine-tuned version of [princeton-nlp/Llama-3-Base-8B-SFT](https://huggingface.co/princeton-nlp/Llama-3-Base-8B-SFT) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
  - Loss: 0.5134
21
- - Rewards/chosen: -0.2023
22
- - Rewards/rejected: -1.1119
23
- - Rewards/accuracies: 0.7480
24
- - Rewards/margins: 0.9095
25
- - Logps/rejected: -287.7953
26
- - Logps/chosen: -294.5704
27
  - Logps/ref Response: -0.5364
28
- - Logits/rejected: -0.1602
29
- - Logits/chosen: -0.2100
30
 
31
  ## Model description
32
 
 
2
  base_model: princeton-nlp/Llama-3-Base-8B-SFT
3
  library_name: peft
4
  tags:
5
+ - alignment-handbook
6
  - trl
7
  - dpo
8
  - generated_from_trainer
 
19
  This model is a fine-tuned version of [princeton-nlp/Llama-3-Base-8B-SFT](https://huggingface.co/princeton-nlp/Llama-3-Base-8B-SFT) on the None dataset.
20
  It achieves the following results on the evaluation set:
21
  - Loss: 0.5134
22
+ - Rewards/chosen: -0.2002
23
+ - Rewards/rejected: -1.1148
24
+ - Rewards/accuracies: 0.7440
25
+ - Rewards/margins: 0.9146
26
+ - Logps/rejected: -287.8242
27
+ - Logps/chosen: -294.5491
28
  - Logps/ref Response: -0.5364
29
+ - Logits/rejected: -0.1599
30
+ - Logits/chosen: -0.2095
31
 
32
  ## Model description
33
 
all_results.json CHANGED
@@ -1,5 +1,19 @@
1
  {
2
  "epoch": 0.9997382884061764,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.5342667900454936,
5
  "train_runtime": 19113.1655,
 
1
  {
2
  "epoch": 0.9997382884061764,
3
+ "eval_logits/chosen": -0.2095365673303604,
4
+ "eval_logits/rejected": -0.15986579656600952,
5
+ "eval_logps/chosen": -294.54913330078125,
6
+ "eval_logps/ref_response": -0.5363935232162476,
7
+ "eval_logps/rejected": -287.82421875,
8
+ "eval_loss": 0.5134016275405884,
9
+ "eval_rewards/accuracies": 0.7440000176429749,
10
+ "eval_rewards/chosen": -0.200197234749794,
11
+ "eval_rewards/margins": 0.9145647287368774,
12
+ "eval_rewards/rejected": -1.1147618293762207,
13
+ "eval_runtime": 348.7904,
14
+ "eval_samples": 2000,
15
+ "eval_samples_per_second": 5.734,
16
+ "eval_steps_per_second": 0.358,
17
  "total_flos": 0.0,
18
  "train_loss": 0.5342667900454936,
19
  "train_runtime": 19113.1655,
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "princeton-nlp/Llama-3-Base-8B-SFT",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": 128001,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 14336,
14
+ "max_position_embeddings": 8192,
15
+ "mlp_bias": false,
16
+ "model_type": "llama",
17
+ "num_attention_heads": 32,
18
+ "num_hidden_layers": 32,
19
+ "num_key_value_heads": 8,
20
+ "pretraining_tp": 1,
21
+ "rms_norm_eps": 1e-05,
22
+ "rope_scaling": null,
23
+ "rope_theta": 500000.0,
24
+ "tie_word_embeddings": false,
25
+ "torch_dtype": "bfloat16",
26
+ "transformers_version": "4.44.2",
27
+ "use_cache": true,
28
+ "vocab_size": 128256
29
+ }
eval_results.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9997382884061764,
3
+ "eval_logits/chosen": -0.2095365673303604,
4
+ "eval_logits/rejected": -0.15986579656600952,
5
+ "eval_logps/chosen": -294.54913330078125,
6
+ "eval_logps/ref_response": -0.5363935232162476,
7
+ "eval_logps/rejected": -287.82421875,
8
+ "eval_loss": 0.5134016275405884,
9
+ "eval_rewards/accuracies": 0.7440000176429749,
10
+ "eval_rewards/chosen": -0.200197234749794,
11
+ "eval_rewards/margins": 0.9145647287368774,
12
+ "eval_rewards/rejected": -1.1147618293762207,
13
+ "eval_runtime": 348.7904,
14
+ "eval_samples": 2000,
15
+ "eval_samples_per_second": 5.734,
16
+ "eval_steps_per_second": 0.358
17
+ }