Instructions to use henryscheible/stereoset_binary_bert_finetuned_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use henryscheible/stereoset_binary_bert_finetuned_2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="henryscheible/stereoset_binary_bert_finetuned_2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("henryscheible/stereoset_binary_bert_finetuned_2") model = AutoModelForSequenceClassification.from_pretrained("henryscheible/stereoset_binary_bert_finetuned_2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload contribs-100.txt with huggingface_hub
c4e14f5
-
Upload tokenizer
33f6faf -
Upload BertForSequenceClassification
8f8d907 -
Upload validation.json with huggingface_hub
26a2875
-
Upload tokenizer
26142f6 -
Upload BertForSequenceClassification
8f700cc -
Upload validation.json with huggingface_hub
4c5fe24 -
initial commit
9ac21de