Text Classification
Transformers
Safetensors
English
distilbert
intent-detection
agent-routing
mcp
ai-agents
tool-use
text-embeddings-inference
Instructions to use tripathyShaswata/AgentIntentRouter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tripathyShaswata/AgentIntentRouter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tripathyShaswata/AgentIntentRouter")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tripathyShaswata/AgentIntentRouter") model = AutoModelForSequenceClassification.from_pretrained("tripathyShaswata/AgentIntentRouter") - Notebooks
- Google Colab
- Kaggle
File size: 628 Bytes
369cb70 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | {
"labels": [
"code_generation",
"web_search",
"math_calculation",
"file_operation",
"api_call",
"creative_writing",
"data_analysis",
"general_chat"
],
"label2id": {
"code_generation": 0,
"web_search": 1,
"math_calculation": 2,
"file_operation": 3,
"api_call": 4,
"creative_writing": 5,
"data_analysis": 6,
"general_chat": 7
},
"id2label": {
"0": "code_generation",
"1": "web_search",
"2": "math_calculation",
"3": "file_operation",
"4": "api_call",
"5": "creative_writing",
"6": "data_analysis",
"7": "general_chat"
}
} |