Instructions to use openaccess-ai-collective/phi-platypus-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use openaccess-ai-collective/phi-platypus-qlora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-1_5") model = PeftModel.from_pretrained(base_model, "openaccess-ai-collective/phi-platypus-qlora") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- adapter_config.json +3 -3
- adapter_model.bin +2 -2
adapter_config.json
CHANGED
|
@@ -14,11 +14,11 @@
|
|
| 14 |
"r": 64,
|
| 15 |
"revision": null,
|
| 16 |
"target_modules": [
|
| 17 |
-
"fc1",
|
| 18 |
-
"fc2",
|
| 19 |
"out_proj",
|
| 20 |
"Wqkv",
|
| 21 |
-
"linear"
|
|
|
|
|
|
|
| 22 |
],
|
| 23 |
"task_type": "CAUSAL_LM"
|
| 24 |
}
|
|
|
|
| 14 |
"r": 64,
|
| 15 |
"revision": null,
|
| 16 |
"target_modules": [
|
|
|
|
|
|
|
| 17 |
"out_proj",
|
| 18 |
"Wqkv",
|
| 19 |
+
"linear",
|
| 20 |
+
"fc2",
|
| 21 |
+
"fc1"
|
| 22 |
],
|
| 23 |
"task_type": "CAUSAL_LM"
|
| 24 |
}
|
adapter_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f15595b5b0af0c80aaa5eebcbecc0cf3f88cf77958e494e0a85fd56b69aafb8
|
| 3 |
+
size 107392765
|