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
Add label_map.json
Browse files- label_map.json +16 -0
label_map.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id2label": {
|
| 3 |
+
"0": "smart_home",
|
| 4 |
+
"1": "lifestyle",
|
| 5 |
+
"2": "spiritual",
|
| 6 |
+
"3": "ai",
|
| 7 |
+
"4": "reviews"
|
| 8 |
+
},
|
| 9 |
+
"label2id": {
|
| 10 |
+
"smart_home": 0,
|
| 11 |
+
"lifestyle": 1,
|
| 12 |
+
"spiritual": 2,
|
| 13 |
+
"ai": 3,
|
| 14 |
+
"reviews": 4
|
| 15 |
+
}
|
| 16 |
+
}
|