Instructions to use johnnyllm/task-16-microsoft-Phi-3-mini-4k-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use johnnyllm/task-16-microsoft-Phi-3-mini-4k-instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-4k-instruct") model = PeftModel.from_pretrained(base_model, "johnnyllm/task-16-microsoft-Phi-3-mini-4k-instruct") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- adapter_config.json +3 -3
- adapter_model.safetensors +1 -1
- training_args.bin +1 -1
adapter_config.json
CHANGED
|
@@ -20,10 +20,10 @@
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
-
"qkv_proj",
|
| 24 |
-
"gate_up_proj",
|
| 25 |
"down_proj",
|
| 26 |
-
"
|
|
|
|
|
|
|
| 27 |
],
|
| 28 |
"task_type": "CAUSAL_LM",
|
| 29 |
"use_dora": false,
|
|
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
|
|
|
|
|
|
| 23 |
"down_proj",
|
| 24 |
+
"gate_up_proj",
|
| 25 |
+
"o_proj",
|
| 26 |
+
"qkv_proj"
|
| 27 |
],
|
| 28 |
"task_type": "CAUSAL_LM",
|
| 29 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 100697728
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63edc20c41b82679c5edfda0d930f36b25544eac8aa83e77863678182a6fd7aa
|
| 3 |
size 100697728
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5368
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1dfd3201d417a7beda2d4b3be0ac840701b558e9a3e1925145571270322ee3dc
|
| 3 |
size 5368
|