PEFT
Safetensors
qwen2
alignment-handbook
trl
dpo
Generated from Trainer
khongtrunght commited on
Commit
cfca1d8
·
verified ·
1 Parent(s): 844f260

End of training

Browse files
Files changed (4) hide show
  1. README.md +15 -10
  2. all_results.json +13 -0
  3. config.json +28 -0
  4. eval_results.json +16 -0
README.md CHANGED
@@ -1,7 +1,12 @@
1
  ---
2
  base_model: slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.5
 
 
 
 
3
  library_name: peft
4
  tags:
 
5
  - trl
6
  - dpo
7
  - generated_from_trainer
@@ -15,17 +20,17 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # Qwen2-7B-Instruct-SPPO-Function-call-v2.6
17
 
18
- This model is a fine-tuned version of [slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.5](https://huggingface.co/slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.5) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.2999
21
- - Rewards/chosen: 1.6798
22
- - Rewards/rejected: -0.4929
23
- - Rewards/accuracies: 0.8844
24
- - Rewards/margins: 2.1726
25
- - Logps/rejected: -276.8312
26
- - Logps/chosen: -200.8157
27
- - Logits/rejected: -0.6690
28
- - Logits/chosen: -0.6635
29
 
30
  ## Model description
31
 
 
1
  ---
2
  base_model: slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.5
3
+ datasets:
4
+ - slm-research-vn/dpo-format-function-calling-v4
5
+ - slm-research-vn/dpo-format-glaive-code-assistant-v3-with-mistral-large-slm-iter4
6
+ - argilla/dpo-mix-7k
7
  library_name: peft
8
  tags:
9
+ - alignment-handbook
10
  - trl
11
  - dpo
12
  - generated_from_trainer
 
20
 
21
  # Qwen2-7B-Instruct-SPPO-Function-call-v2.6
22
 
23
+ This model is a fine-tuned version of [slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.5](https://huggingface.co/slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.5) on the slm-research-vn/dpo-format-function-calling-v4, the slm-research-vn/dpo-format-glaive-code-assistant-v3-with-mistral-large-slm-iter4 and the argilla/dpo-mix-7k datasets.
24
  It achieves the following results on the evaluation set:
25
+ - Loss: 0.3005
26
+ - Rewards/chosen: 1.6737
27
+ - Rewards/rejected: -0.4932
28
+ - Rewards/accuracies: 0.8699
29
+ - Rewards/margins: 2.1670
30
+ - Logps/rejected: -276.8380
31
+ - Logps/chosen: -200.9362
32
+ - Logits/rejected: -0.6568
33
+ - Logits/chosen: -0.6408
34
 
35
  ## Model description
36
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 0.9995419147961521,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.37405444834616947,
5
  "train_runtime": 8738.9435,
 
1
  {
2
  "epoch": 0.9995419147961521,
3
+ "eval_logits/chosen": -0.6407761573791504,
4
+ "eval_logits/rejected": -0.6567662358283997,
5
+ "eval_logps/chosen": -200.93621826171875,
6
+ "eval_logps/rejected": -276.8379821777344,
7
+ "eval_loss": 0.30047258734703064,
8
+ "eval_rewards/accuracies": 0.8699421882629395,
9
+ "eval_rewards/chosen": 1.6737332344055176,
10
+ "eval_rewards/margins": 2.166951894760132,
11
+ "eval_rewards/rejected": -0.4932188391685486,
12
+ "eval_runtime": 252.7931,
13
+ "eval_samples": 2763,
14
+ "eval_samples_per_second": 10.93,
15
+ "eval_steps_per_second": 1.369,
16
  "total_flos": 0.0,
17
  "train_loss": 0.37405444834616947,
18
  "train_runtime": 8738.9435,
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.5",
3
+ "architectures": [
4
+ "Qwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151645,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 3584,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 18944,
13
+ "max_position_embeddings": 32768,
14
+ "max_window_layers": 28,
15
+ "model_type": "qwen2",
16
+ "num_attention_heads": 28,
17
+ "num_hidden_layers": 28,
18
+ "num_key_value_heads": 4,
19
+ "rms_norm_eps": 1e-06,
20
+ "rope_theta": 1000000.0,
21
+ "sliding_window": null,
22
+ "tie_word_embeddings": false,
23
+ "torch_dtype": "bfloat16",
24
+ "transformers_version": "4.44.0",
25
+ "use_cache": true,
26
+ "use_sliding_window": false,
27
+ "vocab_size": 152064
28
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9995419147961521,
3
+ "eval_logits/chosen": -0.6407761573791504,
4
+ "eval_logits/rejected": -0.6567662358283997,
5
+ "eval_logps/chosen": -200.93621826171875,
6
+ "eval_logps/rejected": -276.8379821777344,
7
+ "eval_loss": 0.30047258734703064,
8
+ "eval_rewards/accuracies": 0.8699421882629395,
9
+ "eval_rewards/chosen": 1.6737332344055176,
10
+ "eval_rewards/margins": 2.166951894760132,
11
+ "eval_rewards/rejected": -0.4932188391685486,
12
+ "eval_runtime": 252.7931,
13
+ "eval_samples": 2763,
14
+ "eval_samples_per_second": 10.93,
15
+ "eval_steps_per_second": 1.369
16
+ }