Instructions to use Infernaught/test_adalora_weights with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Infernaught/test_adalora_weights with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceH4/tiny-random-LlamaForCausalLM") model = PeftModel.from_pretrained(base_model, "Infernaught/test_adalora_weights") - Notebooks
- Google Colab
- Kaggle
Commit ·
5a81689
1
Parent(s): a671fd6
Update adapter_config.json
Browse files- adapter_config.json +1 -1
adapter_config.json
CHANGED
|
@@ -27,7 +27,7 @@
|
|
| 27 |
"v_proj"
|
| 28 |
],
|
| 29 |
"target_r": 8,
|
| 30 |
-
"task_type":
|
| 31 |
"tfinal": 0,
|
| 32 |
"tinit": 0,
|
| 33 |
"total_step": null
|
|
|
|
| 27 |
"v_proj"
|
| 28 |
],
|
| 29 |
"target_r": 8,
|
| 30 |
+
"task_type": CAUSAL_LM,
|
| 31 |
"tfinal": 0,
|
| 32 |
"tinit": 0,
|
| 33 |
"total_step": null
|