End of training
Browse files
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,20 +19,20 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# zephyr-dpo-qlora-gpt4-5e-6
|
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: -6.
|
23 |
-
- Rewards/rejected: -
|
24 |
-
- Rewards/accuracies: 0.
|
25 |
-
- Rewards/margins: 0.
|
26 |
-
- Rewards/margins Max: 4.
|
27 |
-
- Rewards/margins Min: -3.
|
28 |
-
- Rewards/margins Std: 2.
|
29 |
-
- Logps/rejected: -
|
30 |
-
- Logps/chosen: -
|
31 |
-
- Logits/rejected: -1.
|
32 |
-
- Logits/chosen: -1.
|
33 |
|
34 |
## Model description
|
35 |
|
|
|
1 |
---
|
2 |
base_model: alignment-handbook/zephyr-7b-sft-full
|
3 |
+
datasets:
|
4 |
+
- generation/GPT4
|
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-dpo-qlora-gpt4-5e-6
|
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 generation/GPT4 dataset.
|
23 |
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.9318
|
25 |
+
- Rewards/chosen: -6.0570
|
26 |
+
- Rewards/rejected: -7.0161
|
27 |
+
- Rewards/accuracies: 0.6430
|
28 |
+
- Rewards/margins: 0.9590
|
29 |
+
- Rewards/margins Max: 4.7709
|
30 |
+
- Rewards/margins Min: -3.0068
|
31 |
+
- Rewards/margins Std: 2.6570
|
32 |
+
- Logps/rejected: -960.1845
|
33 |
+
- Logps/chosen: -890.2942
|
34 |
+
- Logits/rejected: -1.4367
|
35 |
+
- Logits/chosen: -1.4956
|
36 |
|
37 |
## Model description
|
38 |
|
all_results.json
CHANGED
@@ -1,5 +1,21 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"train_loss": 0.24729210323011372,
|
4 |
"train_runtime": 4030.3896,
|
5 |
"train_samples": 5678,
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -1.4956016540527344,
|
4 |
+
"eval_logits/rejected": -1.4366858005523682,
|
5 |
+
"eval_logps/chosen": -890.294189453125,
|
6 |
+
"eval_logps/rejected": -960.1845092773438,
|
7 |
+
"eval_loss": 0.9318017959594727,
|
8 |
+
"eval_rewards/accuracies": 0.6430000066757202,
|
9 |
+
"eval_rewards/chosen": -6.057007789611816,
|
10 |
+
"eval_rewards/margins": 0.9590479731559753,
|
11 |
+
"eval_rewards/margins_max": 4.770871162414551,
|
12 |
+
"eval_rewards/margins_min": -3.0068037509918213,
|
13 |
+
"eval_rewards/margins_std": 2.65700101852417,
|
14 |
+
"eval_rewards/rejected": -7.016055107116699,
|
15 |
+
"eval_runtime": 428.551,
|
16 |
+
"eval_samples": 2000,
|
17 |
+
"eval_samples_per_second": 4.667,
|
18 |
+
"eval_steps_per_second": 0.292,
|
19 |
"train_loss": 0.24729210323011372,
|
20 |
"train_runtime": 4030.3896,
|
21 |
"train_samples": 5678,
|
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"quantization_config": {
|
19 |
+
"_load_in_4bit": true,
|
20 |
+
"_load_in_8bit": false,
|
21 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
22 |
+
"bnb_4bit_quant_type": "nf4",
|
23 |
+
"bnb_4bit_use_double_quant": false,
|
24 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
25 |
+
"llm_int8_has_fp16_weight": false,
|
26 |
+
"llm_int8_skip_modules": null,
|
27 |
+
"llm_int8_threshold": 6.0,
|
28 |
+
"load_in_4bit": true,
|
29 |
+
"load_in_8bit": false,
|
30 |
+
"quant_method": "bitsandbytes"
|
31 |
+
},
|
32 |
+
"rms_norm_eps": 1e-05,
|
33 |
+
"rope_theta": 10000.0,
|
34 |
+
"sliding_window": 4096,
|
35 |
+
"tie_word_embeddings": false,
|
36 |
+
"torch_dtype": "bfloat16",
|
37 |
+
"transformers_version": "4.39.0.dev0",
|
38 |
+
"use_cache": true,
|
39 |
+
"vocab_size": 32000
|
40 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -1.4956016540527344,
|
4 |
+
"eval_logits/rejected": -1.4366858005523682,
|
5 |
+
"eval_logps/chosen": -890.294189453125,
|
6 |
+
"eval_logps/rejected": -960.1845092773438,
|
7 |
+
"eval_loss": 0.9318017959594727,
|
8 |
+
"eval_rewards/accuracies": 0.6430000066757202,
|
9 |
+
"eval_rewards/chosen": -6.057007789611816,
|
10 |
+
"eval_rewards/margins": 0.9590479731559753,
|
11 |
+
"eval_rewards/margins_max": 4.770871162414551,
|
12 |
+
"eval_rewards/margins_min": -3.0068037509918213,
|
13 |
+
"eval_rewards/margins_std": 2.65700101852417,
|
14 |
+
"eval_rewards/rejected": -7.016055107116699,
|
15 |
+
"eval_runtime": 428.551,
|
16 |
+
"eval_samples": 2000,
|
17 |
+
"eval_samples_per_second": 4.667,
|
18 |
+
"eval_steps_per_second": 0.292
|
19 |
+
}
|
runs/Jul28_07-09-30_notebook-deployment-48-7d9b6c99-khd85/events.out.tfevents.1722155175.notebook-deployment-48-7d9b6c99-khd85.1186377.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7927582e389e6e28d580165e70a4f5cf4a71bdfae296b5ca13624e6271a5f579
|
3 |
+
size 1017
|