End of training
Browse files- README.md +13 -10
- 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,17 +19,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# zephyr-7b-dpo-lora-r16-20k
|
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: 0.
|
22 |
-
- Rewards/chosen: -0.
|
23 |
-
- Rewards/rejected: -1.
|
24 |
-
- Rewards/accuracies: 0.
|
25 |
-
- Rewards/margins: 0.
|
26 |
-
- Logps/rejected: -395.
|
27 |
-
- Logps/chosen: -362.
|
28 |
-
- Logits/rejected: -2.
|
29 |
-
- Logits/chosen: -2.
|
30 |
|
31 |
## Model description
|
32 |
|
|
|
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-r16-20k
|
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.5367
|
25 |
+
- Rewards/chosen: -0.7912
|
26 |
+
- Rewards/rejected: -1.4787
|
27 |
+
- Rewards/accuracies: 0.7103
|
28 |
+
- Rewards/margins: 0.6874
|
29 |
+
- Logps/rejected: -395.8989
|
30 |
+
- Logps/chosen: -362.3625
|
31 |
+
- Logits/rejected: -2.5102
|
32 |
+
- Logits/chosen: -2.5539
|
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.5874967678070069,
|
5 |
"train_runtime": 15864.6959,
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -2.553934335708618,
|
4 |
+
"eval_logits/rejected": -2.510233163833618,
|
5 |
+
"eval_logps/chosen": -362.36248779296875,
|
6 |
+
"eval_logps/rejected": -395.8988952636719,
|
7 |
+
"eval_loss": 0.5367478132247925,
|
8 |
+
"eval_rewards/accuracies": 0.7103174328804016,
|
9 |
+
"eval_rewards/chosen": -0.7912437319755554,
|
10 |
+
"eval_rewards/margins": 0.6874489188194275,
|
11 |
+
"eval_rewards/rejected": -1.4786925315856934,
|
12 |
+
"eval_runtime": 165.9175,
|
13 |
+
"eval_samples": 500,
|
14 |
+
"eval_samples_per_second": 3.014,
|
15 |
+
"eval_steps_per_second": 0.38,
|
16 |
"total_flos": 0.0,
|
17 |
"train_loss": 0.5874967678070069,
|
18 |
"train_runtime": 15864.6959,
|
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": 1.0,
|
3 |
+
"eval_logits/chosen": -2.553934335708618,
|
4 |
+
"eval_logits/rejected": -2.510233163833618,
|
5 |
+
"eval_logps/chosen": -362.36248779296875,
|
6 |
+
"eval_logps/rejected": -395.8988952636719,
|
7 |
+
"eval_loss": 0.5367478132247925,
|
8 |
+
"eval_rewards/accuracies": 0.7103174328804016,
|
9 |
+
"eval_rewards/chosen": -0.7912437319755554,
|
10 |
+
"eval_rewards/margins": 0.6874489188194275,
|
11 |
+
"eval_rewards/rejected": -1.4786925315856934,
|
12 |
+
"eval_runtime": 165.9175,
|
13 |
+
"eval_samples": 500,
|
14 |
+
"eval_samples_per_second": 3.014,
|
15 |
+
"eval_steps_per_second": 0.38
|
16 |
+
}
|