guoqiang-x commited on
Commit
0fedd69
1 Parent(s): eebedcd

End of training

Browse files
README.md CHANGED
@@ -1,8 +1,11 @@
1
  ---
2
  base_model: mistralai/Mistral-7B-v0.1
 
 
3
  library_name: peft
4
  license: apache-2.0
5
  tags:
 
6
  - trl
7
  - dpo
8
  - generated_from_trainer
@@ -16,17 +19,17 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # zephyr-7b-dpo-qlora
18
 
19
- This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
  - Loss: 0.4788
22
  - Rewards/chosen: -2.6215
23
- - Rewards/rejected: -3.9183
24
- - Rewards/accuracies: 0.7475
25
- - Rewards/margins: 1.2968
26
- - Logps/rejected: -636.4029
27
- - Logps/chosen: -526.7561
28
- - Logits/rejected: -1.0296
29
- - Logits/chosen: -1.1658
30
 
31
  ## Model description
32
 
 
1
  ---
2
  base_model: mistralai/Mistral-7B-v0.1
3
+ datasets:
4
+ - HuggingFaceH4/ultrafeedback_binarized
5
  library_name: peft
6
  license: apache-2.0
7
  tags:
8
+ - alignment-handbook
9
  - trl
10
  - dpo
11
  - generated_from_trainer
 
19
 
20
  # zephyr-7b-dpo-qlora
21
 
22
+ This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-qlora](https://huggingface.co/alignment-handbook/zephyr-7b-sft-qlora) on the HuggingFaceH4/ultrafeedback_binarized dataset.
23
  It achieves the following results on the evaluation set:
24
  - Loss: 0.4788
25
  - Rewards/chosen: -2.6215
26
+ - Rewards/rejected: -3.9187
27
+ - Rewards/accuracies: 0.7465
28
+ - Rewards/margins: 1.2972
29
+ - Logps/rejected: -636.4379
30
+ - Logps/chosen: -526.7527
31
+ - Logits/rejected: -1.0290
32
+ - Logits/chosen: -1.1652
33
 
34
  ## Model description
35
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.517807064771465,
5
  "train_runtime": 164396.369,
 
1
  {
2
  "epoch": 1.0,
3
+ "eval_logits/chosen": -1.1651915311813354,
4
+ "eval_logits/rejected": -1.0289729833602905,
5
+ "eval_logps/chosen": -526.7527465820312,
6
+ "eval_logps/rejected": -636.4378662109375,
7
+ "eval_loss": 0.47883233428001404,
8
+ "eval_rewards/accuracies": 0.7465000152587891,
9
+ "eval_rewards/chosen": -2.6215085983276367,
10
+ "eval_rewards/margins": 1.2971659898757935,
11
+ "eval_rewards/rejected": -3.9186742305755615,
12
+ "eval_runtime": 1597.3624,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 1.252,
15
+ "eval_steps_per_second": 0.157,
16
  "total_flos": 0.0,
17
  "train_loss": 0.517807064771465,
18
  "train_runtime": 164396.369,
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mistralai/Mistral-7B-v0.1",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 14336,
14
+ "max_position_embeddings": 32768,
15
+ "model_type": "mistral",
16
+ "num_attention_heads": 32,
17
+ "num_hidden_layers": 32,
18
+ "num_key_value_heads": 8,
19
+ "quantization_config": {
20
+ "_load_in_4bit": true,
21
+ "_load_in_8bit": false,
22
+ "bnb_4bit_compute_dtype": "bfloat16",
23
+ "bnb_4bit_quant_storage": "uint8",
24
+ "bnb_4bit_quant_type": "nf4",
25
+ "bnb_4bit_use_double_quant": false,
26
+ "llm_int8_enable_fp32_cpu_offload": false,
27
+ "llm_int8_has_fp16_weight": false,
28
+ "llm_int8_skip_modules": null,
29
+ "llm_int8_threshold": 6.0,
30
+ "load_in_4bit": true,
31
+ "load_in_8bit": false,
32
+ "quant_method": "bitsandbytes"
33
+ },
34
+ "rms_norm_eps": 1e-05,
35
+ "rope_theta": 10000.0,
36
+ "sliding_window": 4096,
37
+ "tie_word_embeddings": false,
38
+ "torch_dtype": "bfloat16",
39
+ "transformers_version": "4.45.2",
40
+ "use_cache": true,
41
+ "vocab_size": 32000
42
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_logits/chosen": -1.1651915311813354,
4
+ "eval_logits/rejected": -1.0289729833602905,
5
+ "eval_logps/chosen": -526.7527465820312,
6
+ "eval_logps/rejected": -636.4378662109375,
7
+ "eval_loss": 0.47883233428001404,
8
+ "eval_rewards/accuracies": 0.7465000152587891,
9
+ "eval_rewards/chosen": -2.6215085983276367,
10
+ "eval_rewards/margins": 1.2971659898757935,
11
+ "eval_rewards/rejected": -3.9186742305755615,
12
+ "eval_runtime": 1597.3624,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 1.252,
15
+ "eval_steps_per_second": 0.157
16
+ }
runs/Oct21_18-48-09_CZC40873G5/events.out.tfevents.1729699092.CZC40873G5.1073085.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d874bd82f7865d074882620849e1e0e405fbcf92b920f4475879b525df4830b
3
+ size 828