Instructions to use silent666/task-5-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 silent666/task-5-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, "silent666/task-5-microsoft-Phi-3-mini-4k-instruct") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- adapter_config.json +2 -2
- adapter_model.safetensors +1 -1
- training_args.bin +2 -2
adapter_config.json
CHANGED
|
@@ -22,8 +22,8 @@
|
|
| 22 |
"target_modules": [
|
| 23 |
"gate_up_proj",
|
| 24 |
"qkv_proj",
|
| 25 |
-
"
|
| 26 |
-
"
|
| 27 |
],
|
| 28 |
"task_type": "CAUSAL_LM",
|
| 29 |
"use_dora": false,
|
|
|
|
| 22 |
"target_modules": [
|
| 23 |
"gate_up_proj",
|
| 24 |
"qkv_proj",
|
| 25 |
+
"down_proj",
|
| 26 |
+
"o_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 805341552
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:289acf75bbb39674a96129f94b3d96b3a52be45b1b6a34b6c89d595d6c1d0bdc
|
| 3 |
size 805341552
|
training_args.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:fdb2916491b6cc5ac0d005f97ccee30dd1dcb16e5dadf75c0a03a373ab2f0585
|
| 3 |
+
size 5432
|