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