Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use WealthFromAI/empire-content-distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WealthFromAI/empire-content-distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="WealthFromAI/empire-content-distilbert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("WealthFromAI/empire-content-distilbert") model = AutoModelForSequenceClassification.from_pretrained("WealthFromAI/empire-content-distilbert") - Notebooks
- Google Colab
- Kaggle
| { | |
| "id2label": { | |
| "0": "smart_home", | |
| "1": "lifestyle", | |
| "2": "spiritual", | |
| "3": "ai", | |
| "4": "reviews" | |
| }, | |
| "label2id": { | |
| "smart_home": 0, | |
| "lifestyle": 1, | |
| "spiritual": 2, | |
| "ai": 3, | |
| "reviews": 4 | |
| } | |
| } |