End of training
Browse files- README.md +12 -9
- all_results.json +13 -0
- config.json +2 -1
- eval_results.json +12 -12
README.md
CHANGED
@@ -2,10 +2,13 @@
|
|
2 |
license: apache-2.0
|
3 |
library_name: peft
|
4 |
tags:
|
|
|
5 |
- trl
|
6 |
- dpo
|
7 |
- generated_from_trainer
|
8 |
base_model: mistralai/Mistral-7B-v0.1
|
|
|
|
|
9 |
model-index:
|
10 |
- name: zephyr-7b-dpo-qlora
|
11 |
results: []
|
@@ -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 [
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss: 0.
|
22 |
-
- Rewards/chosen: -2.
|
23 |
-
- Rewards/rejected: -3.
|
24 |
-
- Rewards/accuracies: 0.
|
25 |
-
- Rewards/margins: 1.
|
26 |
-
- Logps/rejected: -595.
|
27 |
-
- Logps/chosen: -517.
|
28 |
- Logits/rejected: -1.3432
|
29 |
-
- Logits/chosen: -1.
|
30 |
|
31 |
## Model description
|
32 |
|
|
|
2 |
license: apache-2.0
|
3 |
library_name: peft
|
4 |
tags:
|
5 |
+
- alignment-handbook
|
6 |
- trl
|
7 |
- dpo
|
8 |
- generated_from_trainer
|
9 |
base_model: mistralai/Mistral-7B-v0.1
|
10 |
+
datasets:
|
11 |
+
- HuggingFaceH4/ultrafeedback_binarized
|
12 |
model-index:
|
13 |
- name: zephyr-7b-dpo-qlora
|
14 |
results: []
|
|
|
19 |
|
20 |
# zephyr-7b-dpo-qlora
|
21 |
|
22 |
+
This model is a fine-tuned version of [ale-bay/zephyr-7b-sft-qlora](https://huggingface.co/ale-bay/zephyr-7b-sft-qlora) on the HuggingFaceH4/ultrafeedback_binarized dataset.
|
23 |
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.4975
|
25 |
+
- Rewards/chosen: -2.4549
|
26 |
+
- Rewards/rejected: -3.4757
|
27 |
+
- Rewards/accuracies: 0.7490
|
28 |
+
- Rewards/margins: 1.0207
|
29 |
+
- Logps/rejected: -595.2866
|
30 |
+
- Logps/chosen: -517.1966
|
31 |
- Logits/rejected: -1.3432
|
32 |
+
- Logits/chosen: -1.4358
|
33 |
|
34 |
## Model description
|
35 |
|
all_results.json
CHANGED
@@ -1,5 +1,18 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"train_loss": 0.5312882837824796,
|
4 |
"train_runtime": 19005.9968,
|
5 |
"train_samples": 61134,
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -1.4358036518096924,
|
4 |
+
"eval_logits/rejected": -1.3431825637817383,
|
5 |
+
"eval_logps/chosen": -517.1965942382812,
|
6 |
+
"eval_logps/rejected": -595.2865600585938,
|
7 |
+
"eval_loss": 0.4974534213542938,
|
8 |
+
"eval_rewards/accuracies": 0.7490000128746033,
|
9 |
+
"eval_rewards/chosen": -2.4549365043640137,
|
10 |
+
"eval_rewards/margins": 1.0207281112670898,
|
11 |
+
"eval_rewards/rejected": -3.4756648540496826,
|
12 |
+
"eval_runtime": 206.3812,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 9.691,
|
15 |
+
"eval_steps_per_second": 0.606,
|
16 |
"train_loss": 0.5312882837824796,
|
17 |
"train_runtime": 19005.9968,
|
18 |
"train_samples": 61134,
|
config.json
CHANGED
@@ -19,6 +19,7 @@
|
|
19 |
"_load_in_4bit": true,
|
20 |
"_load_in_8bit": false,
|
21 |
"bnb_4bit_compute_dtype": "bfloat16",
|
|
|
22 |
"bnb_4bit_quant_type": "nf4",
|
23 |
"bnb_4bit_use_double_quant": false,
|
24 |
"llm_int8_enable_fp32_cpu_offload": false,
|
@@ -34,7 +35,7 @@
|
|
34 |
"sliding_window": 4096,
|
35 |
"tie_word_embeddings": false,
|
36 |
"torch_dtype": "bfloat16",
|
37 |
-
"transformers_version": "4.
|
38 |
"use_cache": true,
|
39 |
"vocab_size": 32000
|
40 |
}
|
|
|
19 |
"_load_in_4bit": true,
|
20 |
"_load_in_8bit": false,
|
21 |
"bnb_4bit_compute_dtype": "bfloat16",
|
22 |
+
"bnb_4bit_quant_storage": "uint8",
|
23 |
"bnb_4bit_quant_type": "nf4",
|
24 |
"bnb_4bit_use_double_quant": false,
|
25 |
"llm_int8_enable_fp32_cpu_offload": false,
|
|
|
35 |
"sliding_window": 4096,
|
36 |
"tie_word_embeddings": false,
|
37 |
"torch_dtype": "bfloat16",
|
38 |
+
"transformers_version": "4.39.3",
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 32000
|
41 |
}
|
eval_results.json
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
-
"eval_logits/chosen":
|
4 |
-
"eval_logits/rejected":
|
5 |
-
"eval_logps/chosen": -
|
6 |
-
"eval_logps/rejected": -
|
7 |
-
"eval_loss": 0.
|
8 |
-
"eval_rewards/accuracies": 0.
|
9 |
-
"eval_rewards/chosen": -2.
|
10 |
-
"eval_rewards/margins": 1.
|
11 |
-
"eval_rewards/rejected": -3.
|
12 |
-
"eval_runtime":
|
13 |
"eval_samples": 2000,
|
14 |
-
"eval_samples_per_second":
|
15 |
-
"eval_steps_per_second": 0.
|
16 |
}
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -1.4358036518096924,
|
4 |
+
"eval_logits/rejected": -1.3431825637817383,
|
5 |
+
"eval_logps/chosen": -517.1965942382812,
|
6 |
+
"eval_logps/rejected": -595.2865600585938,
|
7 |
+
"eval_loss": 0.4974534213542938,
|
8 |
+
"eval_rewards/accuracies": 0.7490000128746033,
|
9 |
+
"eval_rewards/chosen": -2.4549365043640137,
|
10 |
+
"eval_rewards/margins": 1.0207281112670898,
|
11 |
+
"eval_rewards/rejected": -3.4756648540496826,
|
12 |
+
"eval_runtime": 206.3812,
|
13 |
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 9.691,
|
15 |
+
"eval_steps_per_second": 0.606
|
16 |
}
|