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
| {"distilbert-base-uncased": {"do_lower_case": true}, | |
| "distilbert-base-uncased-distilled-squad": {"do_lower_case": true}, | |
| "distilbert-base-cased": {"do_lower_case": false}, | |
| "distilbert-base-cased-distilled-squad": {"do_lower_case": false}, | |
| "distilbert-base-german-cased": {"do_lower_case": false}, | |
| "distilbert-base-multilingual-cased": {"do_lower_case": false}} |