Jan Majkutewicz
commited on
Commit
•
5b9517b
1
Parent(s):
d601388
End of training
Browse files- README.md +13 -10
- all_results.json +13 -0
- config.json +25 -0
- eval_results.json +16 -0
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,17 +19,17 @@ 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.
|
22 |
-
- Rewards/chosen: -0.
|
23 |
-
- Rewards/rejected: -0.
|
24 |
-
- Rewards/accuracies: 0.
|
25 |
-
- Rewards/margins: 0.
|
26 |
-
- Logps/rejected: -321.
|
27 |
-
- Logps/chosen: -310.
|
28 |
-
- Logits/rejected: -2.
|
29 |
-
- Logits/chosen: -2.
|
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: 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.5894
|
25 |
+
- Rewards/chosen: -0.2738
|
26 |
+
- Rewards/rejected: -0.6020
|
27 |
+
- Rewards/accuracies: 0.7035
|
28 |
+
- Rewards/margins: 0.3282
|
29 |
+
- Logps/rejected: -321.6407
|
30 |
+
- Logps/chosen: -310.1199
|
31 |
+
- Logits/rejected: -2.7529
|
32 |
+
- Logits/chosen: -2.7746
|
33 |
|
34 |
## Model description
|
35 |
|
all_results.json
CHANGED
@@ -1,5 +1,18 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"total_flos": 0.0,
|
4 |
"train_loss": 0.6164219083351729,
|
5 |
"train_runtime": 73481.1174,
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -2.7746472358703613,
|
4 |
+
"eval_logits/rejected": -2.752934455871582,
|
5 |
+
"eval_logps/chosen": -310.119873046875,
|
6 |
+
"eval_logps/rejected": -321.6407165527344,
|
7 |
+
"eval_loss": 0.5893968343734741,
|
8 |
+
"eval_rewards/accuracies": 0.703499972820282,
|
9 |
+
"eval_rewards/chosen": -0.27382245659828186,
|
10 |
+
"eval_rewards/margins": 0.32820531725883484,
|
11 |
+
"eval_rewards/rejected": -0.6020277142524719,
|
12 |
+
"eval_runtime": 692.2285,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 2.889,
|
15 |
+
"eval_steps_per_second": 0.361,
|
16 |
"total_flos": 0.0,
|
17 |
"train_loss": 0.6164219083351729,
|
18 |
"train_runtime": 73481.1174,
|
config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "alignment-handbook/zephyr-7b-sft-full",
|
3 |
+
"architectures": [
|
4 |
+
"MistralForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 4096,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 14336,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"model_type": "mistral",
|
15 |
+
"num_attention_heads": 32,
|
16 |
+
"num_hidden_layers": 32,
|
17 |
+
"num_key_value_heads": 8,
|
18 |
+
"rms_norm_eps": 1e-05,
|
19 |
+
"rope_theta": 10000.0,
|
20 |
+
"sliding_window": 4096,
|
21 |
+
"tie_word_embeddings": false,
|
22 |
+
"transformers_version": "4.40.0",
|
23 |
+
"use_cache": true,
|
24 |
+
"vocab_size": 32000
|
25 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -2.7746472358703613,
|
4 |
+
"eval_logits/rejected": -2.752934455871582,
|
5 |
+
"eval_logps/chosen": -310.119873046875,
|
6 |
+
"eval_logps/rejected": -321.6407165527344,
|
7 |
+
"eval_loss": 0.5893968343734741,
|
8 |
+
"eval_rewards/accuracies": 0.703499972820282,
|
9 |
+
"eval_rewards/chosen": -0.27382245659828186,
|
10 |
+
"eval_rewards/margins": 0.32820531725883484,
|
11 |
+
"eval_rewards/rejected": -0.6020277142524719,
|
12 |
+
"eval_runtime": 692.2285,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 2.889,
|
15 |
+
"eval_steps_per_second": 0.361
|
16 |
+
}
|