Minbyul commited on
Commit
dc05513
1 Parent(s): 544fffb

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
@@ -2,9 +2,15 @@
2
  license: llama2
3
  base_model: epfl-llm/meditron-7b
4
  tags:
 
5
  - trl
6
  - dpo
7
  - generated_from_trainer
 
 
 
 
 
8
  model-index:
9
  - name: meditron-7b-dpo-full-wo-kqa_silver_wogold-ep3
10
  results: []
@@ -15,17 +21,17 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # meditron-7b-dpo-full-wo-kqa_silver_wogold-ep3
17
 
18
- This model is a fine-tuned version of [epfl-llm/meditron-7b](https://huggingface.co/epfl-llm/meditron-7b) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Logits/chosen: -0.6676
21
- - Logits/rejected: -0.8939
22
- - Logps/chosen: -826.0934
23
- - Logps/rejected: -1433.1564
24
- - Loss: 0.6219
25
- - Rewards/accuracies: 0.7459
26
- - Rewards/chosen: -0.0445
27
- - Rewards/margins: 0.1998
28
- - Rewards/rejected: -0.2443
29
 
30
  ## Model description
31
 
 
2
  license: llama2
3
  base_model: epfl-llm/meditron-7b
4
  tags:
5
+ - alignment-handbook
6
  - trl
7
  - dpo
8
  - generated_from_trainer
9
+ - trl
10
+ - dpo
11
+ - generated_from_trainer
12
+ datasets:
13
+ - HuggingFaceH4/ultrafeedback_binarized
14
  model-index:
15
  - name: meditron-7b-dpo-full-wo-kqa_silver_wogold-ep3
16
  results: []
 
21
 
22
  # meditron-7b-dpo-full-wo-kqa_silver_wogold-ep3
23
 
24
+ This model is a fine-tuned version of [epfl-llm/meditron-7b](https://huggingface.co/epfl-llm/meditron-7b) on the HuggingFaceH4/ultrafeedback_binarized dataset.
25
  It achieves the following results on the evaluation set:
26
+ - Loss: 0.5793
27
+ - Rewards/chosen: -0.1323
28
+ - Rewards/rejected: -0.4764
29
+ - Rewards/accuracies: 0.7717
30
+ - Rewards/margins: 0.3440
31
+ - Logps/rejected: -1456.3621
32
+ - Logps/chosen: -834.8738
33
+ - Logits/rejected: -0.9041
34
+ - Logits/chosen: -0.7062
35
 
36
  ## Model description
37
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "train_loss": 0.20238888480446554,
4
  "train_runtime": 919.6394,
5
  "train_samples": 10540,
 
1
  {
2
  "epoch": 1.0,
3
+ "eval_logits/chosen": -0.7062377333641052,
4
+ "eval_logits/rejected": -0.9040690064430237,
5
+ "eval_logps/chosen": -834.8738403320312,
6
+ "eval_logps/rejected": -1456.362060546875,
7
+ "eval_loss": 0.5792528390884399,
8
+ "eval_rewards/accuracies": 0.77173912525177,
9
+ "eval_rewards/chosen": -0.1323184221982956,
10
+ "eval_rewards/margins": 0.34403395652770996,
11
+ "eval_rewards/rejected": -0.47635239362716675,
12
+ "eval_runtime": 330.6189,
13
+ "eval_samples": 2927,
14
+ "eval_samples_per_second": 8.853,
15
+ "eval_steps_per_second": 0.278,
16
  "train_loss": 0.20238888480446554,
17
  "train_runtime": 919.6394,
18
  "train_samples": 10540,
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": 32017
28
  }
 
23
  "tie_word_embeddings": false,
24
  "torch_dtype": "bfloat16",
25
  "transformers_version": "4.39.0.dev0",
26
+ "use_cache": true,
27
  "vocab_size": 32017
28
  }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_logits/chosen": -0.7062377333641052,
4
+ "eval_logits/rejected": -0.9040690064430237,
5
+ "eval_logps/chosen": -834.8738403320312,
6
+ "eval_logps/rejected": -1456.362060546875,
7
+ "eval_loss": 0.5792528390884399,
8
+ "eval_rewards/accuracies": 0.77173912525177,
9
+ "eval_rewards/chosen": -0.1323184221982956,
10
+ "eval_rewards/margins": 0.34403395652770996,
11
+ "eval_rewards/rejected": -0.47635239362716675,
12
+ "eval_runtime": 330.6189,
13
+ "eval_samples": 2927,
14
+ "eval_samples_per_second": 8.853,
15
+ "eval_steps_per_second": 0.278
16
+ }