Instructions to use yvelos/llama-2-7b-int4-python-code-20k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use yvelos/llama-2-7b-int4-python-code-20k with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "yvelos/llama-2-7b-int4-python-code-20k") - Notebooks
- Google Colab
- Kaggle