Instructions to use omgkyng/email-intent-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use omgkyng/email-intent-classifier with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("omgkyng/email-intent-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from omgkyng/email-intent-classifier: direct link, hf CLI and curl.
- Browser
- Download file 175 Bytes
-
https://huggingface.co/omgkyng/email-intent-classifier/resolve/main/config.json
- Command line
-
hf download hf://omgkyng/email-intent-classifier/config.json
-
curl -L -o config.json https://huggingface.co/omgkyng/email-intent-classifier/resolve/main/config.json
175 Bytes
| { | |
| "model_type": "distilbert", | |
| "id2label": { | |
| "0": "create", | |
| "1": "edit", | |
| "2": "query" | |
| }, | |
| "label2id": { | |
| "create": 0, | |
| "edit": 1, | |
| "query": 2 | |
| } | |
| } | |