Text Classification
Transformers
PyTorch
English
deberta-v2
reward-model
reward_model
RLHF
text-embeddings-inference
Instructions to use OpenAssistant/reward-model-deberta-v3-large-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenAssistant/reward-model-deberta-v3-large-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="OpenAssistant/reward-model-deberta-v3-large-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("OpenAssistant/reward-model-deberta-v3-large-v2") model = AutoModelForSequenceClassification.from_pretrained("OpenAssistant/reward-model-deberta-v3-large-v2") - Inference
- Notebooks
- Google Colab
- Kaggle
How to fine tune this model with the Trainer API?
#8
by duzm - opened
when I fune tune this model,I get next error:
RuntimeError: The size of tensor a (2) must match the size of tensor b (8) at non-singleton dimension 1
+1