Upload config.json with huggingface_hub
Browse files- config.json +21 -0
config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"PhiForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "phi",
|
| 6 |
+
"torch_dtype": "float16",
|
| 7 |
+
"transformers_version": "4.35.0",
|
| 8 |
+
"max_position_embeddings": 2048,
|
| 9 |
+
"quantization_config": {
|
| 10 |
+
"load_in_4bit": true,
|
| 11 |
+
"bnb_4bit_compute_dtype": "float16"
|
| 12 |
+
},
|
| 13 |
+
"peft_config": {
|
| 14 |
+
"peft_type": "LORA",
|
| 15 |
+
"task_type": "CAUSAL_LM",
|
| 16 |
+
"inference_mode": false,
|
| 17 |
+
"r": 16,
|
| 18 |
+
"lora_alpha": 16,
|
| 19 |
+
"lora_dropout": 0
|
| 20 |
+
}
|
| 21 |
+
}
|