Instructions to use Tanneru/CodeLlama-7b-Python-hf-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Tanneru/CodeLlama-7b-Python-hf-ft with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-Python-hf") model = PeftModel.from_pretrained(base_model, "Tanneru/CodeLlama-7b-Python-hf-ft") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
bc468f5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:8eb7936006d897412d038414d848f2df85fe680000bac42a18a964e6d917bcd8
size 319876032
|