Instructions to use luciodery/test_Phi2_0.4_sparse with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use luciodery/test_Phi2_0.4_sparse with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2") model = PeftModel.from_pretrained(base_model, "luciodery/test_Phi2_0.4_sparse") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- adapter_config.json +1 -1
adapter_config.json
CHANGED
|
@@ -19,8 +19,8 @@
|
|
| 19 |
"fc2",
|
| 20 |
"q",
|
| 21 |
"fc1",
|
| 22 |
-
"k",
|
| 23 |
"dense",
|
|
|
|
| 24 |
"v"
|
| 25 |
],
|
| 26 |
"task_type": "CAUSAL_LM"
|
|
|
|
| 19 |
"fc2",
|
| 20 |
"q",
|
| 21 |
"fc1",
|
|
|
|
| 22 |
"dense",
|
| 23 |
+
"k",
|
| 24 |
"v"
|
| 25 |
],
|
| 26 |
"task_type": "CAUSAL_LM"
|