Instructions to use monsterapi/gpt2_alpaca-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use monsterapi/gpt2_alpaca-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2") model = PeftModel.from_pretrained(base_model, "monsterapi/gpt2_alpaca-lora") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from monsterapi/gpt2_alpaca-lora: direct link, hf CLI and curl.
- Browser
- Download file 1.19 MB
-
https://huggingface.co/monsterapi/gpt2_alpaca-lora/resolve/refs%2Fpr%2F1/adapter_model.bin
- Command line
-
hf download hf://monsterapi/gpt2_alpaca-lora@refs/pr/1/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/monsterapi/gpt2_alpaca-lora/resolve/refs%2Fpr%2F1/adapter_model.bin
1.19 MB
- Xet hash:
- c016306a792596e1dfaca98ee695aa4b614e084db759793bf3dd7494fcaf6dc1
- Size of remote file:
- 1.19 MB
- SHA256:
- e8bd24ef4d4064ca678531792e8d200f38138391de92c8d673bba84226667dd8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.