Instructions to use NOVA-vision-language/task-intent-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NOVA-vision-language/task-intent-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NOVA-vision-language/task-intent-detector")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("NOVA-vision-language/task-intent-detector") model = AutoModelForSequenceClassification.from_pretrained("NOVA-vision-language/task-intent-detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model_code/intent-detection-example.ipynb from NOVA-vision-language/task-intent-detector: direct link, hf CLI and curl.
- Browser
- Download file 2.3 kB
-
https://huggingface.co/NOVA-vision-language/task-intent-detector/resolve/main/model_code/intent-detection-example.ipynb
- Command line
-
hf download hf://NOVA-vision-language/task-intent-detector/model_code/intent-detection-example.ipynb
-
curl -L -o intent-detection-example.ipynb https://huggingface.co/NOVA-vision-language/task-intent-detector/resolve/main/model_code/intent-detection-example.ipynb
2.3 kB