Instructions to use WealthFromAI/empire-router-distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WealthFromAI/empire-router-distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="WealthFromAI/empire-router-distilbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("WealthFromAI/empire-router-distilbert") model = AutoModelForSequenceClassification.from_pretrained("WealthFromAI/empire-router-distilbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download label_map.json from WealthFromAI/empire-router-distilbert: direct link, hf CLI and curl.
- Browser
- Download file 236 Bytes
-
https://huggingface.co/WealthFromAI/empire-router-distilbert/resolve/main/label_map.json
- Command line
-
hf download hf://WealthFromAI/empire-router-distilbert/label_map.json
-
curl -L -o label_map.json https://huggingface.co/WealthFromAI/empire-router-distilbert/resolve/main/label_map.json
236 Bytes
| { | |
| "id2label": { | |
| "0": "free_tier", | |
| "1": "groq_deepseek", | |
| "2": "haiku", | |
| "3": "sonnet", | |
| "4": "opus" | |
| }, | |
| "label2id": { | |
| "free_tier": 0, | |
| "groq_deepseek": 1, | |
| "haiku": 2, | |
| "sonnet": 3, | |
| "opus": 4 | |
| } | |
| } |