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