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
Download adapter_model.bin from Puch/code-llama7b: direct link, hf CLI and curl.
- Browser
- Download file 16.8 MB
-
https://huggingface.co/Puch/code-llama7b/resolve/main/adapter_model.bin
- Command line
-
hf download hf://Puch/code-llama7b/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/Puch/code-llama7b/resolve/main/adapter_model.bin
16.8 MB
- Xet hash:
- 1c6fd73f104a27b0a03de0b97f09f2423b0abab2ed05771bd545f39f84f4396e
- Size of remote file:
- 16.8 MB
- SHA256:
- 750209d2b581fb82ba67a116109e62df920b03c9027df83b96f90f5a31bc45b1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.