Instructions to use Puch/code-llama7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Puch/code-llama7b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "Puch/code-llama7b") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
85658e1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:750209d2b581fb82ba67a116109e62df920b03c9027df83b96f90f5a31bc45b1
size 16823434
|