Instructions to use ZiHDeng/peft-lora-starcoder1B-Instruction-ny8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ZiHDeng/peft-lora-starcoder1B-Instruction-ny8 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoderbase-1b") model = PeftModel.from_pretrained(base_model, "ZiHDeng/peft-lora-starcoder1B-Instruction-ny8") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
final_checkpoint/adapter_config.json
CHANGED
|
@@ -19,9 +19,9 @@
|
|
| 19 |
"rank_pattern": {},
|
| 20 |
"revision": null,
|
| 21 |
"target_modules": [
|
|
|
|
| 22 |
"q_attn",
|
| 23 |
"c_attn",
|
| 24 |
-
"c_fc",
|
| 25 |
"c_proj"
|
| 26 |
],
|
| 27 |
"task_type": "CAUSAL_LM"
|
|
|
|
| 19 |
"rank_pattern": {},
|
| 20 |
"revision": null,
|
| 21 |
"target_modules": [
|
| 22 |
+
"c_fc",
|
| 23 |
"q_attn",
|
| 24 |
"c_attn",
|
|
|
|
| 25 |
"c_proj"
|
| 26 |
],
|
| 27 |
"task_type": "CAUSAL_LM"
|