Instructions to use albertodugo/starcoder2-3b_fineTunedLoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use albertodugo/starcoder2-3b_fineTunedLoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoder2-3b") model = PeftModel.from_pretrained(base_model, "albertodugo/starcoder2-3b_fineTunedLoRA") - Notebooks
- Google Colab
- Kaggle
Update adapter_config.json
Browse files- adapter_config.json +1 -3
adapter_config.json
CHANGED
|
@@ -21,9 +21,7 @@
|
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
"q_proj",
|
| 24 |
-
"
|
| 25 |
-
"v_proj",
|
| 26 |
-
"o_proj"
|
| 27 |
],
|
| 28 |
"task_type": "CAUSAL_LM",
|
| 29 |
"use_dora": false,
|
|
|
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
"q_proj",
|
| 24 |
+
"v_proj"
|
|
|
|
|
|
|
| 25 |
],
|
| 26 |
"task_type": "CAUSAL_LM",
|
| 27 |
"use_dora": false,
|