PEFT
Safetensors
qwen2
alignment-handbook
trl
dpo
Generated from Trainer
khongtrunght commited on
Commit
b9dabf6
1 Parent(s): e965a13

End of training

Browse files
Files changed (4) hide show
  1. README.md +15 -10
  2. all_results.json +13 -0
  3. config.json +27 -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.8
 
 
 
 
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.12
17
 
18
- This model is a fine-tuned version of [slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.8](https://huggingface.co/slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.8) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.3328
21
- - Rewards/chosen: 0.5530
22
- - Rewards/rejected: -0.6974
23
- - Rewards/accuracies: 0.9075
24
- - Rewards/margins: 1.2504
25
- - Logps/rejected: -278.6715
26
- - Logps/chosen: -129.0585
27
- - Logits/rejected: -0.5998
28
- - Logits/chosen: -0.7754
29
 
30
  ## Model description
31
 
 
1
  ---
2
  base_model: slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.8
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.12
22
 
23
+ This model is a fine-tuned version of [slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.8](https://huggingface.co/slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.8) 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.3322
26
+ - Rewards/chosen: 0.5523
27
+ - Rewards/rejected: -0.7005
28
+ - Rewards/accuracies: 0.9017
29
+ - Rewards/margins: 1.2528
30
+ - Logps/rejected: -278.7327
31
+ - Logps/chosen: -129.0717
32
+ - Logits/rejected: -0.5984
33
+ - Logits/chosen: -0.7738
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.4306906612229719,
5
  "train_runtime": 8689.0202,
 
1
  {
2
  "epoch": 0.9995419147961521,
3
+ "eval_logits/chosen": -0.7738187313079834,
4
+ "eval_logits/rejected": -0.5984290242195129,
5
+ "eval_logps/chosen": -129.0717315673828,
6
+ "eval_logps/rejected": -278.73272705078125,
7
+ "eval_loss": 0.33219456672668457,
8
+ "eval_rewards/accuracies": 0.9017341136932373,
9
+ "eval_rewards/chosen": 0.552308976650238,
10
+ "eval_rewards/margins": 1.252788782119751,
11
+ "eval_rewards/rejected": -0.7004798650741577,
12
+ "eval_runtime": 251.2644,
13
+ "eval_samples": 2763,
14
+ "eval_samples_per_second": 10.996,
15
+ "eval_steps_per_second": 1.377,
16
  "total_flos": 0.0,
17
  "train_loss": 0.4306906612229719,
18
  "train_runtime": 8689.0202,
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.8",
3
+ "architectures": [
4
+ "Qwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "eos_token_id": 151645,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 3584,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 18944,
12
+ "max_position_embeddings": 32768,
13
+ "max_window_layers": 28,
14
+ "model_type": "qwen2",
15
+ "num_attention_heads": 28,
16
+ "num_hidden_layers": 28,
17
+ "num_key_value_heads": 4,
18
+ "rms_norm_eps": 1e-06,
19
+ "rope_theta": 1000000.0,
20
+ "sliding_window": null,
21
+ "tie_word_embeddings": false,
22
+ "torch_dtype": "bfloat16",
23
+ "transformers_version": "4.44.0",
24
+ "use_cache": true,
25
+ "use_sliding_window": false,
26
+ "vocab_size": 152064
27
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9995419147961521,
3
+ "eval_logits/chosen": -0.7738187313079834,
4
+ "eval_logits/rejected": -0.5984290242195129,
5
+ "eval_logps/chosen": -129.0717315673828,
6
+ "eval_logps/rejected": -278.73272705078125,
7
+ "eval_loss": 0.33219456672668457,
8
+ "eval_rewards/accuracies": 0.9017341136932373,
9
+ "eval_rewards/chosen": 0.552308976650238,
10
+ "eval_rewards/margins": 1.252788782119751,
11
+ "eval_rewards/rejected": -0.7004798650741577,
12
+ "eval_runtime": 251.2644,
13
+ "eval_samples": 2763,
14
+ "eval_samples_per_second": 10.996,
15
+ "eval_steps_per_second": 1.377
16
+ }