Instructions to use 84basi/lora-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use 84basi/lora-5 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen3-4b-instruct-2507-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "84basi/lora-5") - Notebooks
- Google Colab
- Kaggle
Upload LoRA adapter (README written by author)
Browse files- adapter_config.json +5 -5
- adapter_model.safetensors +1 -1
adapter_config.json
CHANGED
|
@@ -33,13 +33,13 @@
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
| 36 |
-
"o_proj",
|
| 37 |
-
"v_proj",
|
| 38 |
-
"q_proj",
|
| 39 |
"k_proj",
|
| 40 |
-
"
|
| 41 |
"gate_proj",
|
| 42 |
-
"
|
|
|
|
|
|
|
|
|
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
| 45 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
|
|
|
|
|
|
|
|
|
| 36 |
"k_proj",
|
| 37 |
+
"down_proj",
|
| 38 |
"gate_proj",
|
| 39 |
+
"o_proj",
|
| 40 |
+
"q_proj",
|
| 41 |
+
"v_proj",
|
| 42 |
+
"up_proj"
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
| 45 |
"task_type": "CAUSAL_LM",
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 528550256
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:895dbdac7593e8c4b20ee4d911a99816938c01b77c73bf7b72a6bb4479a5d5dc
|
| 3 |
size 528550256
|