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