Text Classification
Transformers
TensorBoard
Safetensors
gpt2
Generated from Trainer
trl
reward-trainer
Instructions to use blakenp/gpt-Reward with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use blakenp/gpt-Reward with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="blakenp/gpt-Reward")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("blakenp/gpt-Reward") model = AutoModelForSequenceClassification.from_pretrained("blakenp/gpt-Reward", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
2818efc | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:52d638080db4d4de2728c9ccebf600cc18e08b8ada35ac7d18a70c0d8541d323
size 5368
|