AmberYifan
commited on
Commit
•
c7d92f2
1
Parent(s):
3b29619
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-safeDPO
|
10 |
results: []
|
@@ -15,17 +22,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# zephyr-7b-sft-safeDPO
|
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.
|
21 |
-
- Rewards/chosen: -2.
|
22 |
-
- Rewards/rejected: -2.
|
23 |
-
- Rewards/accuracies: 0.
|
24 |
-
- Rewards/margins: 0.
|
25 |
-
- Logps/rejected: -469.
|
26 |
-
- Logps/chosen: -389.
|
27 |
-
- Logits/rejected: -1.
|
28 |
-
- Logits/chosen: -1.
|
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-safeDPO
|
17 |
results: []
|
|
|
22 |
|
23 |
# zephyr-7b-sft-safeDPO
|
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.5427
|
28 |
+
- Rewards/chosen: -2.2653
|
29 |
+
- Rewards/rejected: -2.9944
|
30 |
+
- Rewards/accuracies: 0.7197
|
31 |
+
- Rewards/margins: 0.7291
|
32 |
+
- Logps/rejected: -469.7640
|
33 |
+
- Logps/chosen: -389.2892
|
34 |
+
- Logits/rejected: -1.7787
|
35 |
+
- Logits/chosen: -1.7892
|
36 |
|
37 |
## Model description
|
38 |
|
all_results.json
CHANGED
@@ -1,5 +1,18 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"train_loss": 0.55459001399405,
|
4 |
"train_runtime": 38266.551,
|
5 |
"train_samples": 111134,
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -1.7892440557479858,
|
4 |
+
"eval_logits/rejected": -1.7786749601364136,
|
5 |
+
"eval_logps/chosen": -389.2891845703125,
|
6 |
+
"eval_logps/rejected": -469.7640075683594,
|
7 |
+
"eval_loss": 0.5426768064498901,
|
8 |
+
"eval_rewards/accuracies": 0.719748854637146,
|
9 |
+
"eval_rewards/chosen": -2.265324115753174,
|
10 |
+
"eval_rewards/margins": 0.7290500402450562,
|
11 |
+
"eval_rewards/rejected": -2.9943742752075195,
|
12 |
+
"eval_runtime": 524.2847,
|
13 |
+
"eval_samples": 7000,
|
14 |
+
"eval_samples_per_second": 13.352,
|
15 |
+
"eval_steps_per_second": 0.418,
|
16 |
"train_loss": 0.55459001399405,
|
17 |
"train_runtime": 38266.551,
|
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": 1.0,
|
3 |
+
"eval_logits/chosen": -1.7892440557479858,
|
4 |
+
"eval_logits/rejected": -1.7786749601364136,
|
5 |
+
"eval_logps/chosen": -389.2891845703125,
|
6 |
+
"eval_logps/rejected": -469.7640075683594,
|
7 |
+
"eval_loss": 0.5426768064498901,
|
8 |
+
"eval_rewards/accuracies": 0.719748854637146,
|
9 |
+
"eval_rewards/chosen": -2.265324115753174,
|
10 |
+
"eval_rewards/margins": 0.7290500402450562,
|
11 |
+
"eval_rewards/rejected": -2.9943742752075195,
|
12 |
+
"eval_runtime": 524.2847,
|
13 |
+
"eval_samples": 7000,
|
14 |
+
"eval_samples_per_second": 13.352,
|
15 |
+
"eval_steps_per_second": 0.418
|
16 |
+
}
|
runs/May05_19-13-15_gilbreth-j001.rcac.purdue.edu/events.out.tfevents.1714991721.gilbreth-j001.rcac.purdue.edu.6343.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e81638da659ed3ab68146aa7095c7dadb3f396d215f4799206fb6d41fdf89fdf
|
3 |
+
size 828
|