Instructions to use Testys/pythia-70m-sarcasm-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Testys/pythia-70m-sarcasm-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("EleutherAI/pythia-70m-deduped") model = PeftModel.from_pretrained(base_model, "Testys/pythia-70m-sarcasm-lora") - Notebooks
- Google Colab
- Kaggle
Ctrl+K