End of training
Browse files- README.md +18 -15
- all_results.json +18 -0
- config.json +40 -0
- eval_results.json +21 -0
- runs/Jul24_17-19-18_node03/events.out.tfevents.1721816369.node03.3766044.1 +3 -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-dpop-qlora-uf-oursuf6k-5e-6
|
11 |
results: []
|
@@ -16,22 +19,22 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# zephyr-dpop-qlora-uf-oursuf6k-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: 1.
|
22 |
-
- Positive Losses: 4.
|
23 |
-
- Dpo Losses: 0.
|
24 |
-
- Rewards/chosen: 0.
|
25 |
-
- Rewards/rejected: -0.
|
26 |
-
- Rewards/accuracies: 0.
|
27 |
-
- Rewards/margins: 0.
|
28 |
-
- Rewards/margins Max: 0.
|
29 |
-
- Rewards/margins Min: -0.
|
30 |
-
- Rewards/margins Std: 0.
|
31 |
-
- Logps/rejected: -259.
|
32 |
-
- Logps/chosen: -274.
|
33 |
-
- Logits/rejected: -2.
|
34 |
-
- Logits/chosen: -2.
|
35 |
|
36 |
## Model description
|
37 |
|
|
|
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 |
+
- generation/UF6k
|
12 |
model-index:
|
13 |
- name: zephyr-dpop-qlora-uf-oursuf6k-5e-6
|
14 |
results: []
|
|
|
19 |
|
20 |
# zephyr-dpop-qlora-uf-oursuf6k-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/UF6k dataset.
|
23 |
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 1.0972
|
25 |
+
- Positive Losses: 4.6136
|
26 |
+
- Dpo Losses: 0.6513
|
27 |
+
- Rewards/chosen: 0.1036
|
28 |
+
- Rewards/rejected: -0.0071
|
29 |
+
- Rewards/accuracies: 0.6270
|
30 |
+
- Rewards/margins: 0.1107
|
31 |
+
- Rewards/margins Max: 0.4366
|
32 |
+
- Rewards/margins Min: -0.1898
|
33 |
+
- Rewards/margins Std: 0.2797
|
34 |
+
- Logps/rejected: -259.8883
|
35 |
+
- Logps/chosen: -274.8616
|
36 |
+
- Logits/rejected: -2.7883
|
37 |
+
- Logits/chosen: -2.8318
|
38 |
|
39 |
## Model description
|
40 |
|
all_results.json
CHANGED
@@ -1,5 +1,23 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"train_loss": 0.641208895814349,
|
4 |
"train_runtime": 6249.598,
|
5 |
"train_samples": 10941,
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
+
"eval_dpo_losses": 0.6513049602508545,
|
4 |
+
"eval_logits/chosen": -2.831768035888672,
|
5 |
+
"eval_logits/rejected": -2.788257598876953,
|
6 |
+
"eval_logps/chosen": -274.86163330078125,
|
7 |
+
"eval_logps/rejected": -259.8882751464844,
|
8 |
+
"eval_loss": 1.0971728563308716,
|
9 |
+
"eval_positive_losses": 4.613582134246826,
|
10 |
+
"eval_rewards/accuracies": 0.6269841194152832,
|
11 |
+
"eval_rewards/chosen": 0.10359582304954529,
|
12 |
+
"eval_rewards/margins": 0.11065211147069931,
|
13 |
+
"eval_rewards/margins_max": 0.4366241991519928,
|
14 |
+
"eval_rewards/margins_min": -0.18976463377475739,
|
15 |
+
"eval_rewards/margins_std": 0.27969247102737427,
|
16 |
+
"eval_rewards/rejected": -0.007056289818137884,
|
17 |
+
"eval_runtime": 283.0495,
|
18 |
+
"eval_samples": 2000,
|
19 |
+
"eval_samples_per_second": 7.066,
|
20 |
+
"eval_steps_per_second": 0.223,
|
21 |
"train_loss": 0.641208895814349,
|
22 |
"train_runtime": 6249.598,
|
23 |
"train_samples": 10941,
|
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,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_dpo_losses": 0.6513049602508545,
|
4 |
+
"eval_logits/chosen": -2.831768035888672,
|
5 |
+
"eval_logits/rejected": -2.788257598876953,
|
6 |
+
"eval_logps/chosen": -274.86163330078125,
|
7 |
+
"eval_logps/rejected": -259.8882751464844,
|
8 |
+
"eval_loss": 1.0971728563308716,
|
9 |
+
"eval_positive_losses": 4.613582134246826,
|
10 |
+
"eval_rewards/accuracies": 0.6269841194152832,
|
11 |
+
"eval_rewards/chosen": 0.10359582304954529,
|
12 |
+
"eval_rewards/margins": 0.11065211147069931,
|
13 |
+
"eval_rewards/margins_max": 0.4366241991519928,
|
14 |
+
"eval_rewards/margins_min": -0.18976463377475739,
|
15 |
+
"eval_rewards/margins_std": 0.27969247102737427,
|
16 |
+
"eval_rewards/rejected": -0.007056289818137884,
|
17 |
+
"eval_runtime": 283.0495,
|
18 |
+
"eval_samples": 2000,
|
19 |
+
"eval_samples_per_second": 7.066,
|
20 |
+
"eval_steps_per_second": 0.223
|
21 |
+
}
|
runs/Jul24_17-19-18_node03/events.out.tfevents.1721816369.node03.3766044.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d4bdd3f54621dd1ec4e10295d932ddf2f92435e14a04c219e5a64739980a4d9
|
3 |
+
size 1130
|