Instructions to use johnwee1/peft-starcoder-lora-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use johnwee1/peft-starcoder-lora-python with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoderbase-1b") model = PeftModel.from_pretrained(base_model, "johnwee1/peft-starcoder-lora-python") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
aceae9b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:12477b9fc7dcd444d6c2fda7ae9b79f5a63fc166d361f213d69f5ef7e4685bd2
size 5112
|