DPO-7b-beta0.01
Browse files- README.md +6 -2
- config.json +38 -0
README.md
CHANGED
@@ -2,10 +2,14 @@
|
|
2 |
license: apache-2.0
|
3 |
library_name: peft
|
4 |
tags:
|
|
|
|
|
5 |
- trl
|
6 |
- dpo
|
7 |
-
- generated_from_trainer
|
8 |
base_model: mistralai/Mistral-7B-v0.1
|
|
|
|
|
|
|
9 |
model-index:
|
10 |
- name: zephyr-7b-dpo-qlora
|
11 |
results: []
|
@@ -16,7 +20,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# zephyr-7b-dpo-qlora
|
18 |
|
19 |
-
This model is a fine-tuned version of [
|
20 |
It achieves the following results on the evaluation set:
|
21 |
- Loss: 0.5735
|
22 |
- Rewards/chosen: -0.6770
|
|
|
2 |
license: apache-2.0
|
3 |
library_name: peft
|
4 |
tags:
|
5 |
+
- alignment-handbook
|
6 |
+
- generated_from_trainer
|
7 |
- trl
|
8 |
- dpo
|
|
|
9 |
base_model: mistralai/Mistral-7B-v0.1
|
10 |
+
datasets:
|
11 |
+
- updated
|
12 |
+
- original
|
13 |
model-index:
|
14 |
- name: zephyr-7b-dpo-qlora
|
15 |
results: []
|
|
|
20 |
|
21 |
# zephyr-7b-dpo-qlora
|
22 |
|
23 |
+
This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-qlora](https://huggingface.co/alignment-handbook/zephyr-7b-sft-qlora) on the updated and the original datasets.
|
24 |
It achieves the following results on the evaluation set:
|
25 |
- Loss: 0.5735
|
26 |
- Rewards/chosen: -0.6770
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mistralai/Mistral-7B-v0.1",
|
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 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
20 |
+
"bnb_4bit_quant_type": "nf4",
|
21 |
+
"bnb_4bit_use_double_quant": false,
|
22 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
23 |
+
"llm_int8_has_fp16_weight": false,
|
24 |
+
"llm_int8_skip_modules": null,
|
25 |
+
"llm_int8_threshold": 6.0,
|
26 |
+
"load_in_4bit": true,
|
27 |
+
"load_in_8bit": false,
|
28 |
+
"quant_method": "bitsandbytes"
|
29 |
+
},
|
30 |
+
"rms_norm_eps": 1e-05,
|
31 |
+
"rope_theta": 10000.0,
|
32 |
+
"sliding_window": 4096,
|
33 |
+
"tie_word_embeddings": false,
|
34 |
+
"torch_dtype": "bfloat16",
|
35 |
+
"transformers_version": "4.36.2",
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 32000
|
38 |
+
}
|