Update config.json
Browse files- config.json +10 -5
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"model_type": "transformer",
|
| 3 |
-
"
|
| 4 |
"task_type": "CAUSAL_LM",
|
| 5 |
"peft_config": {
|
| 6 |
"lora_alpha": 16,
|
|
@@ -8,11 +8,16 @@
|
|
| 8 |
"r": 64,
|
| 9 |
"bias": "none",
|
| 10 |
"task_type": "CAUSAL_LM",
|
| 11 |
-
"target_modules": [
|
|
|
|
|
|
|
|
|
|
| 12 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
"quantization_config": {
|
| 14 |
-
"load_in_4bit": true
|
| 15 |
-
"torch_dtype": "torch.bfloat16",
|
| 16 |
-
"device_map": "auto"
|
| 17 |
}
|
| 18 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"model_type": "transformer",
|
| 3 |
+
"architecture": "mistral",
|
| 4 |
"task_type": "CAUSAL_LM",
|
| 5 |
"peft_config": {
|
| 6 |
"lora_alpha": 16,
|
|
|
|
| 8 |
"r": 64,
|
| 9 |
"bias": "none",
|
| 10 |
"task_type": "CAUSAL_LM",
|
| 11 |
+
"target_modules": [
|
| 12 |
+
"q_proj", "k_proj", "v_proj", "o_proj", "gate_proj",
|
| 13 |
+
"up_proj", "down_proj"
|
| 14 |
+
]
|
| 15 |
},
|
| 16 |
+
"load_in_4bit": true,
|
| 17 |
+
"torch_dtype": "torch.bfloat16",
|
| 18 |
+
"device_map": "auto",
|
| 19 |
+
"trust_remote_code": true,
|
| 20 |
"quantization_config": {
|
| 21 |
+
"load_in_4bit": true
|
|
|
|
|
|
|
| 22 |
}
|
| 23 |
}
|