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