Text Classification
Transformers
Safetensors
modernbert
feature-extraction
intent
routing
chatbot
agents
moderation
prompt-injection
off-topic
text-embeddings-inference
Instructions to use allsmart/Intent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allsmart/Intent with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="allsmart/Intent")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("allsmart/Intent") model = AutoModel.from_pretrained("allsmart/Intent", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download intent.json from allsmart/Intent: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/allsmart/Intent/resolve/main/intent.json
- Command line
-
hf download hf://allsmart/Intent/intent.json
-
curl -L -o intent.json https://huggingface.co/allsmart/Intent/resolve/main/intent.json
1.05 kB
| { | |
| "akt": [ | |
| "frage", | |
| "auftrag", | |
| "aussage", | |
| "kurzantwort", | |
| "korrektur", | |
| "dank", | |
| "gruss_smalltalk", | |
| "beschwerde" | |
| ], | |
| "bezug": [ | |
| "neu", | |
| "anschluss", | |
| "themenwechsel" | |
| ], | |
| "ja_nein": [ | |
| "bedarf_aktuelle_daten", | |
| "bedarf_nutzerdaten", | |
| "bedarf_aktion", | |
| "bedarf_dokumente", | |
| "bedarf_rechnen", | |
| "bedarf_allgemeinwissen", | |
| "stimmung_besorgt", | |
| "stimmung_veraergert", | |
| "stimmung_dringend", | |
| "rahmen", | |
| "regelumgehung", | |
| "unklar", | |
| "unangemessen", | |
| "krise", | |
| "extremismus" | |
| ], | |
| "sprachen": [ | |
| "cs", | |
| "de", | |
| "en", | |
| "es", | |
| "fr", | |
| "hr", | |
| "hu", | |
| "it", | |
| "nl", | |
| "pl", | |
| "pt", | |
| "ro", | |
| "tr", | |
| "uk", | |
| "andere" | |
| ], | |
| "schwellen": { | |
| "bedarf_aktuelle_daten": 0.4, | |
| "bedarf_nutzerdaten": 0.4, | |
| "bedarf_aktion": 0.5, | |
| "bedarf_dokumente": 0.4, | |
| "bedarf_rechnen": 0.6, | |
| "bedarf_allgemeinwissen": 0.35, | |
| "stimmung_besorgt": 0.5, | |
| "stimmung_veraergert": 0.4, | |
| "stimmung_dringend": 0.35, | |
| "rahmen": 0.5, | |
| "regelumgehung": 0.35, | |
| "unklar": 0.35, | |
| "unangemessen": 0.2, | |
| "krise": 0.35, | |
| "extremismus": 0.3 | |
| } | |
| } |