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