Instructions to use Allenpai/alpaca-lora2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Allenpai/alpaca-lora2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("yahma/llama-7b-hf") model = PeftModel.from_pretrained(base_model, "Allenpai/alpaca-lora2") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from Allenpai/alpaca-lora2: direct link, hf CLI and curl.
- Browser
- Download file 67.2 MB
-
https://huggingface.co/Allenpai/alpaca-lora2/resolve/main/adapter_model.bin
- Command line
-
hf download hf://Allenpai/alpaca-lora2/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/Allenpai/alpaca-lora2/resolve/main/adapter_model.bin
67.2 MB
- Xet hash:
- 192be6bd93798a27ade282d7043939049257592c4a74164aea351ab9c14180e2
- Size of remote file:
- 67.2 MB
- SHA256:
- aea35b6eadfda93250da8d639d269ade9d75025fa9cd3b083bb6aa8914fbb1af
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.