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