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