Instructions to use henryscheible/stereoset_binary_bert_all with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use henryscheible/stereoset_binary_bert_all with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="henryscheible/stereoset_binary_bert_all")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("henryscheible/stereoset_binary_bert_all") model = AutoModelForSequenceClassification.from_pretrained("henryscheible/stereoset_binary_bert_all", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 834 Bytes
e184785 | 1 | {"best_model_step": "2.30", "best_model_acc": 0.768235294117647, "eval_results": {"0.0": {"accuracy": 0.5223529411764706}, "0.10": {"accuracy": 0.5058823529411764}, "0.20": {"accuracy": 0.6223529411764706}, "0.30": {"accuracy": 0.6505882352941177}, "0.40": {"accuracy": 0.6823529411764706}, "0.50": {"accuracy": 0.6988235294117647}, "1.0": {"accuracy": 0.7164705882352941}, "1.10": {"accuracy": 0.7094117647058824}, "1.20": {"accuracy": 0.7329411764705882}, "1.30": {"accuracy": 0.7411764705882353}, "1.40": {"accuracy": 0.7388235294117647}, "1.50": {"accuracy": 0.7529411764705882}, "2.0": {"accuracy": 0.7494117647058823}, "2.10": {"accuracy": 0.7517647058823529}, "2.20": {"accuracy": 0.7576470588235295}, "2.30": {"accuracy": 0.768235294117647}, "2.40": {"accuracy": 0.7658823529411765}, "2.50": {"accuracy": 0.7658823529411765}}} |