Create adapter_config.json
Browse files- adapter_config.json +11 -0
adapter_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"peft_type": "lora",
|
3 |
+
"r": 16,
|
4 |
+
"lora_alpha": 16,
|
5 |
+
"target_modules": [
|
6 |
+
"query_key_value"
|
7 |
+
],
|
8 |
+
"lora_dropout": 0.05,
|
9 |
+
"bias": "none", // Check if "bias" was set during training, otherwise keep as "none"
|
10 |
+
"task_type": "IMAGE_GENERATION"
|
11 |
+
}
|