Flowersea37 commited on
Commit
152a978
1 Parent(s): 50f7194

End of training

Browse files
README.md CHANGED
@@ -1,8 +1,10 @@
1
  ---
2
  base_model: Qwen/Qwen2-1.5B
 
 
3
  library_name: peft
4
- license: apache-2.0
5
  tags:
 
6
  - trl
7
  - dpo
8
  - generated_from_trainer
@@ -16,17 +18,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 [Qwen/Qwen2-1.5B](https://huggingface.co/Qwen/Qwen2-1.5B) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.5488
22
- - Rewards/chosen: -1.1271
23
- - Rewards/rejected: -1.7888
24
  - Rewards/accuracies: 0.7380
25
- - Rewards/margins: 0.6617
26
- - Logps/rejected: -483.5208
27
- - Logps/chosen: -460.1232
28
- - Logits/rejected: -1.4135
29
- - Logits/chosen: -1.4626
30
 
31
  ## Model description
32
 
 
1
  ---
2
  base_model: Qwen/Qwen2-1.5B
3
+ datasets:
4
+ - HuggingFaceH4/ultrafeedback_binarized
5
  library_name: peft
 
6
  tags:
7
+ - alignment-handbook
8
  - trl
9
  - dpo
10
  - generated_from_trainer
 
18
 
19
  # zephyr-7b-dpo-qlora
20
 
21
+ This model is a fine-tuned version of [/opt/data/private/xgq/alignment-handbook/data/Qwen-1.5b-sft-qlora](https://huggingface.co//opt/data/private/xgq/alignment-handbook/data/Qwen-1.5b-sft-qlora) on the HuggingFaceH4/ultrafeedback_binarized dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 0.5487
24
+ - Rewards/chosen: -1.1270
25
+ - Rewards/rejected: -1.7889
26
  - Rewards/accuracies: 0.7380
27
+ - Rewards/margins: 0.6620
28
+ - Logps/rejected: -483.5314
29
+ - Logps/chosen: -460.1111
30
+ - Logits/rejected: -1.4133
31
+ - Logits/chosen: -1.4624
32
 
33
  ## Model description
34
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 0.9999018549416037,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.5787653771390342,
5
  "train_runtime": 28047.1443,
 
1
  {
2
  "epoch": 0.9999018549416037,
3
+ "eval_logits/chosen": -1.4624338150024414,
4
+ "eval_logits/rejected": -1.4133074283599854,
5
+ "eval_logps/chosen": -460.1110534667969,
6
+ "eval_logps/rejected": -483.5314025878906,
7
+ "eval_loss": 0.5487077236175537,
8
+ "eval_rewards/accuracies": 0.7380239367485046,
9
+ "eval_rewards/chosen": -1.126965880393982,
10
+ "eval_rewards/margins": 0.6619576215744019,
11
+ "eval_rewards/rejected": -1.7889233827590942,
12
+ "eval_runtime": 296.9255,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 6.736,
15
+ "eval_steps_per_second": 1.125,
16
  "total_flos": 0.0,
17
  "train_loss": 0.5787653771390342,
18
  "train_runtime": 28047.1443,
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Qwen/Qwen2-1.5B",
3
+ "architectures": [
4
+ "Qwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151643,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 1536,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 8960,
13
+ "max_position_embeddings": 131072,
14
+ "max_window_layers": 28,
15
+ "model_type": "qwen2",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 28,
18
+ "num_key_value_heads": 2,
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-06,
35
+ "rope_theta": 1000000.0,
36
+ "sliding_window": null,
37
+ "tie_word_embeddings": true,
38
+ "torch_dtype": "bfloat16",
39
+ "transformers_version": "4.44.2",
40
+ "use_cache": true,
41
+ "use_sliding_window": false,
42
+ "vocab_size": 151936
43
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9999018549416037,
3
+ "eval_logits/chosen": -1.4624338150024414,
4
+ "eval_logits/rejected": -1.4133074283599854,
5
+ "eval_logps/chosen": -460.1110534667969,
6
+ "eval_logps/rejected": -483.5314025878906,
7
+ "eval_loss": 0.5487077236175537,
8
+ "eval_rewards/accuracies": 0.7380239367485046,
9
+ "eval_rewards/chosen": -1.126965880393982,
10
+ "eval_rewards/margins": 0.6619576215744019,
11
+ "eval_rewards/rejected": -1.7889233827590942,
12
+ "eval_runtime": 296.9255,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 6.736,
15
+ "eval_steps_per_second": 1.125
16
+ }
runs/Sep26_15-25-38_interactive79915/events.out.tfevents.1727364526.interactive79915.142135.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0bd48f7da00e53873826225d79d18630d6b45b45b938d23540e625893f39daf
3
+ size 828