Instructions to use theblackcat102/electra-large-reward-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use theblackcat102/electra-large-reward-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="theblackcat102/electra-large-reward-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("theblackcat102/electra-large-reward-model") model = AutoModelForSequenceClassification.from_pretrained("theblackcat102/electra-large-reward-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
97b803e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5e87e5807a12aa6f337b46b14d9b6dd3ae99795de52793c895551709f3f3e9ea
size 1340708781
|