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
Adding `safetensors` variant of this model
#2
by SFconvertbot - opened
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65baff2a65ea97d9d37623420b49310abf4ceb65f290913b0840c0c656d5d534
|
| 3 |
+
size 1182680
|