AmberYifan
commited on
Commit
•
c887dad
1
Parent(s):
89b6f39
End of training
Browse files
README.md
CHANGED
@@ -2,9 +2,16 @@
|
|
2 |
license: apache-2.0
|
3 |
base_model: alignment-handbook/zephyr-7b-sft-full
|
4 |
tags:
|
|
|
5 |
- trl
|
6 |
- dpo
|
7 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
model-index:
|
9 |
- name: zephyr-7b-sft-safeDPO3
|
10 |
results: []
|
@@ -15,17 +22,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# zephyr-7b-sft-safeDPO3
|
17 |
|
18 |
-
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
|
19 |
It achieves the following results on the evaluation set:
|
20 |
- Loss: 0.6446
|
21 |
-
- Rewards/chosen: -8.
|
22 |
-
- Rewards/rejected: -9.
|
23 |
-
- Rewards/accuracies: 0.
|
24 |
-
- Rewards/margins: 1.
|
25 |
-
- Logps/rejected: -1123.
|
26 |
-
- Logps/chosen: -965.
|
27 |
-
- Logits/rejected: 3.
|
28 |
-
- Logits/chosen: 4.
|
29 |
|
30 |
## Model description
|
31 |
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: alignment-handbook/zephyr-7b-sft-full
|
4 |
tags:
|
5 |
+
- alignment-handbook
|
6 |
- trl
|
7 |
- dpo
|
8 |
- generated_from_trainer
|
9 |
+
- trl
|
10 |
+
- dpo
|
11 |
+
- generated_from_trainer
|
12 |
+
datasets:
|
13 |
+
- HuggingFaceH4/ultrafeedback_binarized
|
14 |
+
- AmberYifan/safetyQA_DPO
|
15 |
model-index:
|
16 |
- name: zephyr-7b-sft-safeDPO3
|
17 |
results: []
|
|
|
22 |
|
23 |
# zephyr-7b-sft-safeDPO3
|
24 |
|
25 |
+
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 and the AmberYifan/safetyQA_DPO datasets.
|
26 |
It achieves the following results on the evaluation set:
|
27 |
- Loss: 0.6446
|
28 |
+
- Rewards/chosen: -8.0278
|
29 |
+
- Rewards/rejected: -9.5352
|
30 |
+
- Rewards/accuracies: 0.7152
|
31 |
+
- Rewards/margins: 1.5074
|
32 |
+
- Logps/rejected: -1123.8456
|
33 |
+
- Logps/chosen: -965.5345
|
34 |
+
- Logits/rejected: 3.5622
|
35 |
+
- Logits/chosen: 4.0391
|
36 |
|
37 |
## Model description
|
38 |
|
all_results.json
CHANGED
@@ -1,5 +1,18 @@
|
|
1 |
{
|
2 |
"epoch": 3.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"train_loss": 0.3444365044389086,
|
4 |
"train_runtime": 113135.1128,
|
5 |
"train_samples": 111134,
|
|
|
1 |
{
|
2 |
"epoch": 3.0,
|
3 |
+
"eval_logits/chosen": 4.039111614227295,
|
4 |
+
"eval_logits/rejected": 3.562220811843872,
|
5 |
+
"eval_logps/chosen": -965.5345458984375,
|
6 |
+
"eval_logps/rejected": -1123.8455810546875,
|
7 |
+
"eval_loss": 0.6446220278739929,
|
8 |
+
"eval_rewards/accuracies": 0.7151826620101929,
|
9 |
+
"eval_rewards/chosen": -8.027778625488281,
|
10 |
+
"eval_rewards/margins": 1.5074113607406616,
|
11 |
+
"eval_rewards/rejected": -9.535189628601074,
|
12 |
+
"eval_runtime": 534.3288,
|
13 |
+
"eval_samples": 7000,
|
14 |
+
"eval_samples_per_second": 13.101,
|
15 |
+
"eval_steps_per_second": 0.41,
|
16 |
"train_loss": 0.3444365044389086,
|
17 |
"train_runtime": 113135.1128,
|
18 |
"train_samples": 111134,
|
config.json
CHANGED
@@ -21,6 +21,6 @@
|
|
21 |
"tie_word_embeddings": false,
|
22 |
"torch_dtype": "bfloat16",
|
23 |
"transformers_version": "4.39.0.dev0",
|
24 |
-
"use_cache":
|
25 |
"vocab_size": 32000
|
26 |
}
|
|
|
21 |
"tie_word_embeddings": false,
|
22 |
"torch_dtype": "bfloat16",
|
23 |
"transformers_version": "4.39.0.dev0",
|
24 |
+
"use_cache": true,
|
25 |
"vocab_size": 32000
|
26 |
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_logits/chosen": 4.039111614227295,
|
4 |
+
"eval_logits/rejected": 3.562220811843872,
|
5 |
+
"eval_logps/chosen": -965.5345458984375,
|
6 |
+
"eval_logps/rejected": -1123.8455810546875,
|
7 |
+
"eval_loss": 0.6446220278739929,
|
8 |
+
"eval_rewards/accuracies": 0.7151826620101929,
|
9 |
+
"eval_rewards/chosen": -8.027778625488281,
|
10 |
+
"eval_rewards/margins": 1.5074113607406616,
|
11 |
+
"eval_rewards/rejected": -9.535189628601074,
|
12 |
+
"eval_runtime": 534.3288,
|
13 |
+
"eval_samples": 7000,
|
14 |
+
"eval_samples_per_second": 13.101,
|
15 |
+
"eval_steps_per_second": 0.41
|
16 |
+
}
|
runs/May07_21-56-54_gilbreth-j001.rcac.purdue.edu/events.out.tfevents.1715247503.gilbreth-j001.rcac.purdue.edu.28663.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6dc71cf51e1ed2fbf491fe8d96b99676ca63e5d98cf165c169641db9a5451032
|
3 |
+
size 828
|