Wenboz commited on
Commit
797a0f9
·
verified ·
1 Parent(s): b62ce55

End of training

Browse files
Files changed (4) hide show
  1. README.md +9 -8
  2. all_results.json +13 -0
  3. config.json +29 -0
  4. eval_results.json +16 -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
@@ -17,15 +18,15 @@ should probably proofread and complete it, then remove this comment. -->
17
 
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.5190
21
- - Rewards/chosen: -0.1399
22
- - Rewards/rejected: -0.9459
23
  - Rewards/accuracies: 0.7260
24
- - Rewards/margins: 0.8060
25
- - Logps/rejected: -283.9163
26
- - Logps/chosen: -291.1600
27
- - Logits/rejected: -0.3917
28
- - Logits/chosen: -0.4219
29
 
30
  ## Model description
31
 
 
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
 
18
 
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.5199
22
+ - Rewards/chosen: -0.1477
23
+ - Rewards/rejected: -0.9502
24
  - Rewards/accuracies: 0.7260
25
+ - Rewards/margins: 0.8025
26
+ - Logps/rejected: -283.9596
27
+ - Logps/chosen: -291.2388
28
+ - Logits/rejected: -0.3914
29
+ - Logits/chosen: -0.4217
30
 
31
  ## Model description
32
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 0.9997382884061764,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.543355998318857,
5
  "train_runtime": 19333.2554,
 
1
  {
2
  "epoch": 0.9997382884061764,
3
+ "eval_logits/chosen": -0.42172786593437195,
4
+ "eval_logits/rejected": -0.39140966534614563,
5
+ "eval_logps/chosen": -291.23876953125,
6
+ "eval_logps/rejected": -283.9595947265625,
7
+ "eval_loss": 0.5199193358421326,
8
+ "eval_rewards/accuracies": 0.7260000109672546,
9
+ "eval_rewards/chosen": -0.14773716032505035,
10
+ "eval_rewards/margins": 0.8024731278419495,
11
+ "eval_rewards/rejected": -0.9502103328704834,
12
+ "eval_runtime": 348.2733,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 5.743,
15
+ "eval_steps_per_second": 0.359,
16
  "total_flos": 0.0,
17
  "train_loss": 0.543355998318857,
18
  "train_runtime": 19333.2554,
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,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9997382884061764,
3
+ "eval_logits/chosen": -0.42172786593437195,
4
+ "eval_logits/rejected": -0.39140966534614563,
5
+ "eval_logps/chosen": -291.23876953125,
6
+ "eval_logps/rejected": -283.9595947265625,
7
+ "eval_loss": 0.5199193358421326,
8
+ "eval_rewards/accuracies": 0.7260000109672546,
9
+ "eval_rewards/chosen": -0.14773716032505035,
10
+ "eval_rewards/margins": 0.8024731278419495,
11
+ "eval_rewards/rejected": -0.9502103328704834,
12
+ "eval_runtime": 348.2733,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 5.743,
15
+ "eval_steps_per_second": 0.359
16
+ }