Minbyul commited on
Commit
a8791f1
1 Parent(s): ddc112f

End of training

Browse files
Files changed (4) hide show
  1. README.md +16 -10
  2. all_results.json +13 -0
  3. config.json +1 -1
  4. eval_results.json +16 -0
README.md CHANGED
@@ -1,9 +1,15 @@
1
  ---
2
  base_model: meta-llama/Llama-2-7b-hf
3
  tags:
 
4
  - trl
5
  - dpo
6
  - generated_from_trainer
 
 
 
 
 
7
  model-index:
8
  - name: llama2-7b-dpo-full-wo-medication_qa-ep3
9
  results: []
@@ -14,17 +20,17 @@ should probably proofread and complete it, then remove this comment. -->
14
 
15
  # llama2-7b-dpo-full-wo-medication_qa-ep3
16
 
17
- This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
- - Loss: 0.6540
20
- - Rewards/chosen: 0.0513
21
- - Rewards/rejected: -0.0539
22
- - Rewards/accuracies: 0.7778
23
- - Rewards/margins: 0.1052
24
- - Logps/rejected: -1095.5646
25
- - Logps/chosen: -485.5474
26
- - Logits/rejected: -1.1199
27
- - Logits/chosen: -0.0017
28
 
29
  ## Model description
30
 
 
1
  ---
2
  base_model: meta-llama/Llama-2-7b-hf
3
  tags:
4
+ - alignment-handbook
5
  - trl
6
  - dpo
7
  - generated_from_trainer
8
+ - trl
9
+ - dpo
10
+ - generated_from_trainer
11
+ datasets:
12
+ - HuggingFaceH4/ultrafeedback_binarized
13
  model-index:
14
  - name: llama2-7b-dpo-full-wo-medication_qa-ep3
15
  results: []
 
20
 
21
  # llama2-7b-dpo-full-wo-medication_qa-ep3
22
 
23
+ This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the HuggingFaceH4/ultrafeedback_binarized dataset.
24
  It achieves the following results on the evaluation set:
25
+ - Loss: 0.6486
26
+ - Rewards/chosen: 0.0485
27
+ - Rewards/rejected: -0.0716
28
+ - Rewards/accuracies: 0.7847
29
+ - Rewards/margins: 0.1201
30
+ - Logps/rejected: -1097.3336
31
+ - Logps/chosen: -485.8272
32
+ - Logits/rejected: -1.1127
33
+ - Logits/chosen: -0.0114
34
 
35
  ## Model description
36
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "train_loss": 0.6277184326883772,
4
  "train_runtime": 2301.3874,
5
  "train_samples": 9071,
 
1
  {
2
  "epoch": 1.0,
3
+ "eval_logits/chosen": -0.011370762251317501,
4
+ "eval_logits/rejected": -1.1126513481140137,
5
+ "eval_logps/chosen": -485.8271789550781,
6
+ "eval_logps/rejected": -1097.3336181640625,
7
+ "eval_loss": 0.6485693454742432,
8
+ "eval_rewards/accuracies": 0.7847222089767456,
9
+ "eval_rewards/chosen": 0.04850021377205849,
10
+ "eval_rewards/margins": 0.12006408721208572,
11
+ "eval_rewards/rejected": -0.07156387716531754,
12
+ "eval_runtime": 191.3892,
13
+ "eval_samples": 1728,
14
+ "eval_samples_per_second": 9.029,
15
+ "eval_steps_per_second": 0.282,
16
  "train_loss": 0.6277184326883772,
17
  "train_runtime": 2301.3874,
18
  "train_samples": 9071,
config.json CHANGED
@@ -23,6 +23,6 @@
23
  "tie_word_embeddings": false,
24
  "torch_dtype": "bfloat16",
25
  "transformers_version": "4.39.0.dev0",
26
- "use_cache": false,
27
  "vocab_size": 32000
28
  }
 
23
  "tie_word_embeddings": false,
24
  "torch_dtype": "bfloat16",
25
  "transformers_version": "4.39.0.dev0",
26
+ "use_cache": true,
27
  "vocab_size": 32000
28
  }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_logits/chosen": -0.011370762251317501,
4
+ "eval_logits/rejected": -1.1126513481140137,
5
+ "eval_logps/chosen": -485.8271789550781,
6
+ "eval_logps/rejected": -1097.3336181640625,
7
+ "eval_loss": 0.6485693454742432,
8
+ "eval_rewards/accuracies": 0.7847222089767456,
9
+ "eval_rewards/chosen": 0.04850021377205849,
10
+ "eval_rewards/margins": 0.12006408721208572,
11
+ "eval_rewards/rejected": -0.07156387716531754,
12
+ "eval_runtime": 191.3892,
13
+ "eval_samples": 1728,
14
+ "eval_samples_per_second": 9.029,
15
+ "eval_steps_per_second": 0.282
16
+ }