Instructions to use renyulin/gpt2_es_rm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use renyulin/gpt2_es_rm with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("gpt2") model = PeftModel.from_pretrained(base_model, "renyulin/gpt2_es_rm") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#1 opened over 2 years ago
by
librarian-bot