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
- 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.