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
File size: 134 Bytes
4993edc | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:538a9a8b17e09d346f776997c7af527b4e4e6fab5d936df8ed42e5909263a56f
size 134264202
|