Jan Majkutewicz
commited on
Commit
•
f648ddf
1
Parent(s):
c097e33
End of training
Browse files- README.md +5 -2
- 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: alignment-handbook/zephyr-7b-sft-full
|
|
|
|
|
9 |
model-index:
|
10 |
- name: zephyr-7b-dpo-lora
|
11 |
results: []
|
@@ -16,7 +19,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# zephyr-7b-dpo-lora
|
18 |
|
19 |
-
This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on the
|
20 |
It achieves the following results on the evaluation set:
|
21 |
- Loss: 0.6776
|
22 |
- Rewards/chosen: 0.0182
|
@@ -24,7 +27,7 @@ It achieves the following results on the evaluation set:
|
|
24 |
- Rewards/accuracies: 0.6855
|
25 |
- Rewards/margins: 0.0328
|
26 |
- Logps/rejected: -262.9002
|
27 |
-
- Logps/chosen: -280.
|
28 |
- Logits/rejected: -2.8233
|
29 |
- Logits/chosen: -2.8504
|
30 |
|
|
|
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: alignment-handbook/zephyr-7b-sft-full
|
10 |
+
datasets:
|
11 |
+
- HuggingFaceH4/ultrafeedback_binarized
|
12 |
model-index:
|
13 |
- name: zephyr-7b-dpo-lora
|
14 |
results: []
|
|
|
19 |
|
20 |
# zephyr-7b-dpo-lora
|
21 |
|
22 |
+
This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on the HuggingFaceH4/ultrafeedback_binarized dataset.
|
23 |
It achieves the following results on the evaluation set:
|
24 |
- Loss: 0.6776
|
25 |
- Rewards/chosen: 0.0182
|
|
|
27 |
- Rewards/accuracies: 0.6855
|
28 |
- Rewards/margins: 0.0328
|
29 |
- Logps/rejected: -262.9002
|
30 |
+
- Logps/chosen: -280.9537
|
31 |
- Logits/rejected: -2.8233
|
32 |
- Logits/chosen: -2.8504
|
33 |
|
all_results.json
CHANGED
@@ -1,5 +1,18 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"total_flos": 0.0,
|
4 |
"train_loss": 0.680465580483626,
|
5 |
"train_runtime": 64957.9706,
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -2.850416660308838,
|
4 |
+
"eval_logits/rejected": -2.823277235031128,
|
5 |
+
"eval_logps/chosen": -280.9537353515625,
|
6 |
+
"eval_logps/rejected": -262.90020751953125,
|
7 |
+
"eval_loss": 0.6776002049446106,
|
8 |
+
"eval_rewards/accuracies": 0.6855000257492065,
|
9 |
+
"eval_rewards/chosen": 0.018197493627667427,
|
10 |
+
"eval_rewards/margins": 0.032815974205732346,
|
11 |
+
"eval_rewards/rejected": -0.014618484303355217,
|
12 |
+
"eval_runtime": 623.229,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 3.209,
|
15 |
+
"eval_steps_per_second": 0.401,
|
16 |
"total_flos": 0.0,
|
17 |
"train_loss": 0.680465580483626,
|
18 |
"train_runtime": 64957.9706,
|
config.json
CHANGED
@@ -19,7 +19,8 @@
|
|
19 |
"rope_theta": 10000.0,
|
20 |
"sliding_window": 4096,
|
21 |
"tie_word_embeddings": false,
|
22 |
-
"
|
|
|
23 |
"use_cache": true,
|
24 |
"vocab_size": 32000
|
25 |
}
|
|
|
19 |
"rope_theta": 10000.0,
|
20 |
"sliding_window": 4096,
|
21 |
"tie_word_embeddings": false,
|
22 |
+
"torch_dtype": "bfloat16",
|
23 |
+
"transformers_version": "4.40.2",
|
24 |
"use_cache": true,
|
25 |
"vocab_size": 32000
|
26 |
}
|
eval_results.json
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
-
"eval_logits/chosen": -2.
|
4 |
-
"eval_logits/rejected": -2.
|
5 |
-
"eval_logps/chosen": -
|
6 |
-
"eval_logps/rejected": -
|
7 |
-
"eval_loss": 0.
|
8 |
-
"eval_rewards/accuracies": 0.
|
9 |
-
"eval_rewards/chosen":
|
10 |
-
"eval_rewards/margins": 0.
|
11 |
-
"eval_rewards/rejected": -0.
|
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": -2.850416660308838,
|
4 |
+
"eval_logits/rejected": -2.823277235031128,
|
5 |
+
"eval_logps/chosen": -280.9537353515625,
|
6 |
+
"eval_logps/rejected": -262.90020751953125,
|
7 |
+
"eval_loss": 0.6776002049446106,
|
8 |
+
"eval_rewards/accuracies": 0.6855000257492065,
|
9 |
+
"eval_rewards/chosen": 0.018197493627667427,
|
10 |
+
"eval_rewards/margins": 0.032815974205732346,
|
11 |
+
"eval_rewards/rejected": -0.014618484303355217,
|
12 |
+
"eval_runtime": 623.229,
|
13 |
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 3.209,
|
15 |
+
"eval_steps_per_second": 0.401
|
16 |
}
|