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