Instructions to use CodeHima/finetunedPHP_starcoder2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use CodeHima/finetunedPHP_starcoder2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoder2-3b") model = PeftModel.from_pretrained(base_model, "CodeHima/finetunedPHP_starcoder2") - Notebooks
- Google Colab
- Kaggle
Download StarCoder2_3b_4bit.ipynb from CodeHima/finetunedPHP_starcoder2: direct link, hf CLI and curl.
- Browser
- Download file 287 kB
-
https://huggingface.co/CodeHima/finetunedPHP_starcoder2/resolve/main/StarCoder2_3b_4bit.ipynb
- Command line
-
hf download hf://CodeHima/finetunedPHP_starcoder2/StarCoder2_3b_4bit.ipynb
-
curl -L -o StarCoder2_3b_4bit.ipynb https://huggingface.co/CodeHima/finetunedPHP_starcoder2/resolve/main/StarCoder2_3b_4bit.ipynb
287 kB