Instructions to use ryota39/retriva-bert-preference-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ryota39/retriva-bert-preference-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ryota39/retriva-bert-preference-classifier", trust_remote_code=True)# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("ryota39/retriva-bert-preference-classifier", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
c08ff74 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ddb61849c08709a6eb8922610c0b71174ac8273f6151d49607e26609db230e6e
size 5176
|