Instructions to use munem420/peft-starcoder-lora-a100 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use munem420/peft-starcoder-lora-a100 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoderbase-1b") model = PeftModel.from_pretrained(base_model, "munem420/peft-starcoder-lora-a100") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -16,6 +16,7 @@
|
|
| 16 |
"megatron_core": "megatron.core",
|
| 17 |
"modules_to_save": null,
|
| 18 |
"peft_type": "LORA",
|
|
|
|
| 19 |
"r": 4,
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
|
|
|
| 16 |
"megatron_core": "megatron.core",
|
| 17 |
"modules_to_save": null,
|
| 18 |
"peft_type": "LORA",
|
| 19 |
+
"model_type": "gpt_bigcode",
|
| 20 |
"r": 4,
|
| 21 |
"rank_pattern": {},
|
| 22 |
"revision": null,
|