nthakur commited on
Commit
288c652
·
verified ·
1 Parent(s): 0133982

End of training

Browse files
Files changed (4) hide show
  1. README.md +16 -10
  2. all_results.json +13 -0
  3. config.json +26 -0
  4. eval_results.json +16 -0
README.md CHANGED
@@ -2,10 +2,16 @@
2
  license: apache-2.0
3
  library_name: peft
4
  tags:
 
5
  - trl
6
  - dpo
7
  - generated_from_trainer
8
  base_model: mistralai/Mistral-7B-Instruct-v0.2
 
 
 
 
 
9
  model-index:
10
  - name: Mistral-7B-Instruct-v0.2-multilingual-dpo-v1.0-v2
11
  results: []
@@ -16,17 +22,17 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # Mistral-7B-Instruct-v0.2-multilingual-dpo-v1.0-v2
18
 
19
- This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) on the None dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.1328
22
- - Rewards/chosen: -2.7014
23
- - Rewards/rejected: -12.3976
24
- - Rewards/accuracies: 0.9383
25
- - Rewards/margins: 9.6962
26
- - Logps/rejected: -1531.6849
27
- - Logps/chosen: -609.8344
28
- - Logits/rejected: 0.5002
29
- - Logits/chosen: 0.3026
30
 
31
  ## Model description
32
 
 
2
  license: apache-2.0
3
  library_name: peft
4
  tags:
5
+ - alignment-handbook
6
  - trl
7
  - dpo
8
  - generated_from_trainer
9
  base_model: mistralai/Mistral-7B-Instruct-v0.2
10
+ datasets:
11
+ - nthakur/multilingual-ultrafeedback-binarized-dpo-v0.1
12
+ - nthakur/multilingual-distilabel-intel-orca-dpo-pairs-v0.1
13
+ - nthakur/multilingual-truthy-dpo-pairs-v0.1
14
+ - nthakur/GSM8KInstruct-Parallel-instruct-dpo-v0.1
15
  model-index:
16
  - name: Mistral-7B-Instruct-v0.2-multilingual-dpo-v1.0-v2
17
  results: []
 
22
 
23
  # Mistral-7B-Instruct-v0.2-multilingual-dpo-v1.0-v2
24
 
25
+ This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) on the nthakur/multilingual-ultrafeedback-binarized-dpo-v0.1, the nthakur/multilingual-distilabel-intel-orca-dpo-pairs-v0.1, the nthakur/multilingual-truthy-dpo-pairs-v0.1 and the nthakur/GSM8KInstruct-Parallel-instruct-dpo-v0.1 datasets.
26
  It achieves the following results on the evaluation set:
27
+ - Loss: 0.1324
28
+ - Rewards/chosen: -2.6738
29
+ - Rewards/rejected: -12.2394
30
+ - Rewards/accuracies: 0.9377
31
+ - Rewards/margins: 9.5656
32
+ - Logps/rejected: -1515.8665
33
+ - Logps/chosen: -607.0774
34
+ - Logits/rejected: 0.4952
35
+ - Logits/chosen: 0.3030
36
 
37
  ## Model description
38
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 0.9998638529611981,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.32278433931516665,
5
  "train_runtime": 141933.118,
 
1
  {
2
  "epoch": 0.9998638529611981,
3
+ "eval_logits/chosen": 0.303020715713501,
4
+ "eval_logits/rejected": 0.4951964318752289,
5
+ "eval_logps/chosen": -607.077392578125,
6
+ "eval_logps/rejected": -1515.866455078125,
7
+ "eval_loss": 0.13239584863185883,
8
+ "eval_rewards/accuracies": 0.9376528263092041,
9
+ "eval_rewards/chosen": -2.673825979232788,
10
+ "eval_rewards/margins": 9.565610885620117,
11
+ "eval_rewards/rejected": -12.239436149597168,
12
+ "eval_runtime": 3761.8245,
13
+ "eval_samples": 4903,
14
+ "eval_samples_per_second": 1.303,
15
+ "eval_steps_per_second": 0.109,
16
  "total_flos": 0.0,
17
  "train_loss": 0.32278433931516665,
18
  "train_runtime": 141933.118,
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 14336,
13
+ "max_position_embeddings": 32768,
14
+ "model_type": "mistral",
15
+ "num_attention_heads": 32,
16
+ "num_hidden_layers": 32,
17
+ "num_key_value_heads": 8,
18
+ "rms_norm_eps": 1e-05,
19
+ "rope_theta": 1000000.0,
20
+ "sliding_window": null,
21
+ "tie_word_embeddings": false,
22
+ "torch_dtype": "bfloat16",
23
+ "transformers_version": "4.41.2",
24
+ "use_cache": true,
25
+ "vocab_size": 32000
26
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9998638529611981,
3
+ "eval_logits/chosen": 0.303020715713501,
4
+ "eval_logits/rejected": 0.4951964318752289,
5
+ "eval_logps/chosen": -607.077392578125,
6
+ "eval_logps/rejected": -1515.866455078125,
7
+ "eval_loss": 0.13239584863185883,
8
+ "eval_rewards/accuracies": 0.9376528263092041,
9
+ "eval_rewards/chosen": -2.673825979232788,
10
+ "eval_rewards/margins": 9.565610885620117,
11
+ "eval_rewards/rejected": -12.239436149597168,
12
+ "eval_runtime": 3761.8245,
13
+ "eval_samples": 4903,
14
+ "eval_samples_per_second": 1.303,
15
+ "eval_steps_per_second": 0.109
16
+ }