elichen3051
commited on
Commit
•
22302eb
1
Parent(s):
e3406fb
End of training
Browse files- README.md +18 -10
- all_results.json +13 -0
- config.json +1 -1
- eval_results.json +16 -0
- runs/Jun11_14-12-33_9e8ca53f2036/events.out.tfevents.1718149241.9e8ca53f2036.10634.1 +3 -0
README.md
CHANGED
@@ -2,9 +2,17 @@
|
|
2 |
license: llama2
|
3 |
base_model: elichen3051/llama2-7b-sft-chat-no-template
|
4 |
tags:
|
|
|
5 |
- trl
|
6 |
- dpo
|
7 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
model-index:
|
9 |
- name: Llama2-7b-sft-chat-custom-template-dpo
|
10 |
results: []
|
@@ -16,17 +24,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/eli3051/huggingface/runs/6n0utdab)
|
17 |
# Llama2-7b-sft-chat-custom-template-dpo
|
18 |
|
19 |
-
This model is a fine-tuned version of [elichen3051/llama2-7b-sft-chat-no-template](https://huggingface.co/elichen3051/llama2-7b-sft-chat-no-template) on the
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss: 0.
|
22 |
-
- Rewards/chosen: -1.
|
23 |
-
- Rewards/rejected: -3.
|
24 |
-
- Rewards/accuracies: 0.
|
25 |
-
- Rewards/margins: 1.
|
26 |
-
- Logps/rejected: -
|
27 |
-
- Logps/chosen: -379.
|
28 |
-
- Logits/rejected: -2.
|
29 |
-
- Logits/chosen: -2.
|
30 |
|
31 |
## Model description
|
32 |
|
|
|
2 |
license: llama2
|
3 |
base_model: elichen3051/llama2-7b-sft-chat-no-template
|
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 |
+
- HuggingFaceH4/orca_dpo_pairs
|
15 |
+
- HuggingFaceH4/cai-conversation-harmless
|
16 |
model-index:
|
17 |
- name: Llama2-7b-sft-chat-custom-template-dpo
|
18 |
results: []
|
|
|
24 |
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/eli3051/huggingface/runs/6n0utdab)
|
25 |
# Llama2-7b-sft-chat-custom-template-dpo
|
26 |
|
27 |
+
This model is a fine-tuned version of [elichen3051/llama2-7b-sft-chat-no-template](https://huggingface.co/elichen3051/llama2-7b-sft-chat-no-template) on the HuggingFaceH4/ultrafeedback_binarized, the HuggingFaceH4/orca_dpo_pairs and the HuggingFaceH4/cai-conversation-harmless datasets.
|
28 |
It achieves the following results on the evaluation set:
|
29 |
+
- Loss: 0.4717
|
30 |
+
- Rewards/chosen: -1.6807
|
31 |
+
- Rewards/rejected: -3.1957
|
32 |
+
- Rewards/accuracies: 0.6345
|
33 |
+
- Rewards/margins: 1.5150
|
34 |
+
- Logps/rejected: -519.5196
|
35 |
+
- Logps/chosen: -379.2986
|
36 |
+
- Logits/rejected: -2.7275
|
37 |
+
- Logits/chosen: -2.7213
|
38 |
|
39 |
## Model description
|
40 |
|
all_results.json
CHANGED
@@ -1,5 +1,18 @@
|
|
1 |
{
|
2 |
"epoch": 1.9940933254577673,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"total_flos": 0.0,
|
4 |
"train_loss": 0.5345145690638872,
|
5 |
"train_runtime": 33183.7631,
|
|
|
1 |
{
|
2 |
"epoch": 1.9940933254577673,
|
3 |
+
"eval_logits/chosen": -2.721290349960327,
|
4 |
+
"eval_logits/rejected": -2.727541208267212,
|
5 |
+
"eval_logps/chosen": -379.29864501953125,
|
6 |
+
"eval_logps/rejected": -519.5195922851562,
|
7 |
+
"eval_loss": 0.4716758131980896,
|
8 |
+
"eval_rewards/accuracies": 0.6344696879386902,
|
9 |
+
"eval_rewards/chosen": -1.6806795597076416,
|
10 |
+
"eval_rewards/margins": 1.5150176286697388,
|
11 |
+
"eval_rewards/rejected": -3.19569730758667,
|
12 |
+
"eval_runtime": 226.304,
|
13 |
+
"eval_samples": 3656,
|
14 |
+
"eval_samples_per_second": 16.155,
|
15 |
+
"eval_steps_per_second": 0.292,
|
16 |
"total_flos": 0.0,
|
17 |
"train_loss": 0.5345145690638872,
|
18 |
"train_runtime": 33183.7631,
|
config.json
CHANGED
@@ -25,6 +25,6 @@
|
|
25 |
"tie_word_embeddings": false,
|
26 |
"torch_dtype": "bfloat16",
|
27 |
"transformers_version": "4.42.0.dev0",
|
28 |
-
"use_cache":
|
29 |
"vocab_size": 32002
|
30 |
}
|
|
|
25 |
"tie_word_embeddings": false,
|
26 |
"torch_dtype": "bfloat16",
|
27 |
"transformers_version": "4.42.0.dev0",
|
28 |
+
"use_cache": true,
|
29 |
"vocab_size": 32002
|
30 |
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.9940933254577673,
|
3 |
+
"eval_logits/chosen": -2.721290349960327,
|
4 |
+
"eval_logits/rejected": -2.727541208267212,
|
5 |
+
"eval_logps/chosen": -379.29864501953125,
|
6 |
+
"eval_logps/rejected": -519.5195922851562,
|
7 |
+
"eval_loss": 0.4716758131980896,
|
8 |
+
"eval_rewards/accuracies": 0.6344696879386902,
|
9 |
+
"eval_rewards/chosen": -1.6806795597076416,
|
10 |
+
"eval_rewards/margins": 1.5150176286697388,
|
11 |
+
"eval_rewards/rejected": -3.19569730758667,
|
12 |
+
"eval_runtime": 226.304,
|
13 |
+
"eval_samples": 3656,
|
14 |
+
"eval_samples_per_second": 16.155,
|
15 |
+
"eval_steps_per_second": 0.292
|
16 |
+
}
|
runs/Jun11_14-12-33_9e8ca53f2036/events.out.tfevents.1718149241.9e8ca53f2036.10634.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84d767c85b3ad1b31e3dd8c1893f7bfd9690d1fc2f7a40f8a13080b963bc20d1
|
3 |
+
size 828
|