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
Download adapter_model.bin from yvelos/llama-2-7b-int4-python-code-20k: direct link, hf CLI and curl.
- Browser
- Download file 134 MB
-
https://huggingface.co/yvelos/llama-2-7b-int4-python-code-20k/resolve/main/adapter_model.bin
- Command line
-
hf download hf://yvelos/llama-2-7b-int4-python-code-20k/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/yvelos/llama-2-7b-int4-python-code-20k/resolve/main/adapter_model.bin
134 MB
- Xet hash:
- 8d1781153278f1a67111ec6a6831728df3a1016c195722a65bab4725c39aa6f8
- Size of remote file:
- 134 MB
- SHA256:
- 538a9a8b17e09d346f776997c7af527b4e4e6fab5d936df8ed42e5909263a56f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.