Instructions to use SmallLion/rewardmodel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SmallLion/rewardmodel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SmallLion/rewardmodel")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SmallLion/rewardmodel") model = AutoModelForSequenceClassification.from_pretrained("SmallLion/rewardmodel") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
9faa6e1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:616c47e934501c34f9b878211faf85e4f1ecd2dcbfeeec9739a12c81d2e185db
size 267855533
|