End of training
Browse files- README.md +4 -1
- all_results.json +13 -0
- config.json +27 -0
- eval_results.json +16 -0
README.md
CHANGED
@@ -1,8 +1,11 @@
|
|
1 |
---
|
2 |
base_model: alignment-handbook/zephyr-7b-sft-full
|
|
|
|
|
3 |
library_name: peft
|
4 |
license: apache-2.0
|
5 |
tags:
|
|
|
6 |
- trl
|
7 |
- dpo
|
8 |
- generated_from_trainer
|
@@ -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
|
20 |
It achieves the following results on the evaluation set:
|
21 |
- Loss: 1.5622
|
22 |
- Rewards/chosen: -17.0278
|
|
|
1 |
---
|
2 |
base_model: alignment-handbook/zephyr-7b-sft-full
|
3 |
+
datasets:
|
4 |
+
- HuggingFaceH4/ultrafeedback_binarized
|
5 |
library_name: peft
|
6 |
license: apache-2.0
|
7 |
tags:
|
8 |
+
- alignment-handbook
|
9 |
- trl
|
10 |
- dpo
|
11 |
- generated_from_trainer
|
|
|
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: 1.5622
|
25 |
- Rewards/chosen: -17.0278
|
all_results.json
CHANGED
@@ -1,5 +1,18 @@
|
|
1 |
{
|
2 |
"epoch": 19.84,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"total_flos": 0.0,
|
4 |
"train_loss": 0.13093096087141606,
|
5 |
"train_runtime": 15450.2645,
|
|
|
1 |
{
|
2 |
"epoch": 19.84,
|
3 |
+
"eval_logits/chosen": -1.7818838357925415,
|
4 |
+
"eval_logits/rejected": -1.7583956718444824,
|
5 |
+
"eval_logps/chosen": -1971.018798828125,
|
6 |
+
"eval_logps/rejected": -2233.02197265625,
|
7 |
+
"eval_loss": 1.56223726272583,
|
8 |
+
"eval_rewards/accuracies": 0.6499999761581421,
|
9 |
+
"eval_rewards/chosen": -17.027843475341797,
|
10 |
+
"eval_rewards/margins": 2.817903757095337,
|
11 |
+
"eval_rewards/rejected": -19.845748901367188,
|
12 |
+
"eval_runtime": 67.4863,
|
13 |
+
"eval_samples": 200,
|
14 |
+
"eval_samples_per_second": 2.964,
|
15 |
+
"eval_steps_per_second": 0.37,
|
16 |
"total_flos": 0.0,
|
17 |
"train_loss": 0.13093096087141606,
|
18 |
"train_runtime": 15450.2645,
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"head_dim": 128,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 4096,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 14336,
|
14 |
+
"max_position_embeddings": 32768,
|
15 |
+
"model_type": "mistral",
|
16 |
+
"num_attention_heads": 32,
|
17 |
+
"num_hidden_layers": 32,
|
18 |
+
"num_key_value_heads": 8,
|
19 |
+
"rms_norm_eps": 1e-05,
|
20 |
+
"rope_theta": 10000.0,
|
21 |
+
"sliding_window": 4096,
|
22 |
+
"tie_word_embeddings": false,
|
23 |
+
"torch_dtype": "bfloat16",
|
24 |
+
"transformers_version": "4.44.0",
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 32000
|
27 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 19.84,
|
3 |
+
"eval_logits/chosen": -1.7818838357925415,
|
4 |
+
"eval_logits/rejected": -1.7583956718444824,
|
5 |
+
"eval_logps/chosen": -1971.018798828125,
|
6 |
+
"eval_logps/rejected": -2233.02197265625,
|
7 |
+
"eval_loss": 1.56223726272583,
|
8 |
+
"eval_rewards/accuracies": 0.6499999761581421,
|
9 |
+
"eval_rewards/chosen": -17.027843475341797,
|
10 |
+
"eval_rewards/margins": 2.817903757095337,
|
11 |
+
"eval_rewards/rejected": -19.845748901367188,
|
12 |
+
"eval_runtime": 67.4863,
|
13 |
+
"eval_samples": 200,
|
14 |
+
"eval_samples_per_second": 2.964,
|
15 |
+
"eval_steps_per_second": 0.37
|
16 |
+
}
|