Instructions to use ashwincv0112/code-llama-python-finetune2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ashwincv0112/code-llama-python-finetune2 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, "ashwincv0112/code-llama-python-finetune2") - Notebooks
- Google Colab
- Kaggle
Commit ·
db9e3b7
1
Parent(s): 6eb22dc
Rename adapter_model.bin to pytorch_model.bin
Browse files
adapter_model.bin → pytorch_model.bin
RENAMED
|
File without changes
|