PEFT
Safetensors
qwen2
alignment-handbook
trl
dpo
Generated from Trainer
khongtrunght commited on
Commit
017105e
·
verified ·
1 Parent(s): 6f7a339

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.1
 
 
 
 
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.4
17
 
18
- This model is a fine-tuned version of [slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.1](https://huggingface.co/slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.1) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.4348
21
- - Rewards/chosen: 1.2990
22
- - Rewards/rejected: 0.2819
23
- - Rewards/accuracies: 0.8222
24
- - Rewards/margins: 1.0172
25
- - Logps/rejected: -333.4369
26
- - Logps/chosen: -261.1283
27
- - Logits/rejected: -0.7185
28
- - Logits/chosen: -0.6937
29
 
30
  ## Model description
31
 
 
1
  ---
2
  base_model: slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.1
3
+ datasets:
4
+ - slm-research-vn/dpo-format-function-calling-v2
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.4
22
 
23
+ This model is a fine-tuned version of [slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.1](https://huggingface.co/slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.1) on the slm-research-vn/dpo-format-function-calling-v2, 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.4345
26
+ - Rewards/chosen: 1.3033
27
+ - Rewards/rejected: 0.2776
28
+ - Rewards/accuracies: 0.8185
29
+ - Rewards/margins: 1.0258
30
+ - Logps/rejected: -333.5228
31
+ - Logps/chosen: -261.0424
32
+ - Logits/rejected: -0.7224
33
+ - Logits/chosen: -0.7089
34
 
35
  ## Model description
36
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 0.9996824388694824,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.5202696668753327,
5
  "train_runtime": 5902.1361,
 
1
  {
2
  "epoch": 0.9996824388694824,
3
+ "eval_logits/chosen": -0.7089246511459351,
4
+ "eval_logits/rejected": -0.7224333882331848,
5
+ "eval_logps/chosen": -261.0423889160156,
6
+ "eval_logps/rejected": -333.52276611328125,
7
+ "eval_loss": 0.4344652593135834,
8
+ "eval_rewards/accuracies": 0.8185185194015503,
9
+ "eval_rewards/chosen": 1.3033398389816284,
10
+ "eval_rewards/margins": 1.0257779359817505,
11
+ "eval_rewards/rejected": 0.27756187319755554,
12
+ "eval_runtime": 185.0205,
13
+ "eval_samples": 2155,
14
+ "eval_samples_per_second": 11.647,
15
+ "eval_steps_per_second": 1.459,
16
  "total_flos": 0.0,
17
  "train_loss": 0.5202696668753327,
18
  "train_runtime": 5902.1361,
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.1",
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.9996824388694824,
3
+ "eval_logits/chosen": -0.7089246511459351,
4
+ "eval_logits/rejected": -0.7224333882331848,
5
+ "eval_logps/chosen": -261.0423889160156,
6
+ "eval_logps/rejected": -333.52276611328125,
7
+ "eval_loss": 0.4344652593135834,
8
+ "eval_rewards/accuracies": 0.8185185194015503,
9
+ "eval_rewards/chosen": 1.3033398389816284,
10
+ "eval_rewards/margins": 1.0257779359817505,
11
+ "eval_rewards/rejected": 0.27756187319755554,
12
+ "eval_runtime": 185.0205,
13
+ "eval_samples": 2155,
14
+ "eval_samples_per_second": 11.647,
15
+ "eval_steps_per_second": 1.459
16
+ }