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: 131 Bytes
87e1df2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:00f37f77293921179ae12a6d2feaf1d2b101fe8e7809ef4f7fcfcff5c1dcc3ed
size 163968
|