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: 87 Bytes
b83fd25 | 1 2 3 4 5 6 7 | {
"▁<EOT>": 32003,
"▁<MID>": 32001,
"▁<PRE>": 32000,
"▁<SUF>": 32002
}
|