Instructions to use robertou2/task-8-microsoft-Phi-3.5-mini-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use robertou2/task-8-microsoft-Phi-3.5-mini-instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3.5-mini-instruct") model = PeftModel.from_pretrained(base_model, "robertou2/task-8-microsoft-Phi-3.5-mini-instruct") - Notebooks
- Google Colab
- Kaggle
Update adapter_config.json
Browse files- adapter_config.json +3 -5
adapter_config.json
CHANGED
|
@@ -3,9 +3,7 @@
|
|
| 3 |
"auto_mapping": null,
|
| 4 |
"base_model_name_or_path": "microsoft/Phi-3.5-mini-instruct",
|
| 5 |
"bias": "none",
|
| 6 |
-
|
| 7 |
-
"eva_config": null,
|
| 8 |
-
"exclude_modules": null,
|
| 9 |
"fan_in_fan_out": false,
|
| 10 |
"inference_mode": true,
|
| 11 |
"init_lora_weights": true,
|
|
@@ -14,7 +12,7 @@
|
|
| 14 |
"layers_to_transform": null,
|
| 15 |
"loftq_config": {},
|
| 16 |
"lora_alpha": 32,
|
| 17 |
-
|
| 18 |
"lora_dropout": 0.1,
|
| 19 |
"megatron_config": null,
|
| 20 |
"megatron_core": "megatron.core",
|
|
@@ -30,7 +28,7 @@
|
|
| 30 |
"down_proj"
|
| 31 |
],
|
| 32 |
"task_type": "CAUSAL_LM",
|
| 33 |
-
|
| 34 |
"use_dora": false,
|
| 35 |
"use_rslora": true
|
| 36 |
}
|
|
|
|
| 3 |
"auto_mapping": null,
|
| 4 |
"base_model_name_or_path": "microsoft/Phi-3.5-mini-instruct",
|
| 5 |
"bias": "none",
|
| 6 |
+
|
|
|
|
|
|
|
| 7 |
"fan_in_fan_out": false,
|
| 8 |
"inference_mode": true,
|
| 9 |
"init_lora_weights": true,
|
|
|
|
| 12 |
"layers_to_transform": null,
|
| 13 |
"loftq_config": {},
|
| 14 |
"lora_alpha": 32,
|
| 15 |
+
|
| 16 |
"lora_dropout": 0.1,
|
| 17 |
"megatron_config": null,
|
| 18 |
"megatron_core": "megatron.core",
|
|
|
|
| 28 |
"down_proj"
|
| 29 |
],
|
| 30 |
"task_type": "CAUSAL_LM",
|
| 31 |
+
|
| 32 |
"use_dora": false,
|
| 33 |
"use_rslora": true
|
| 34 |
}
|