Text Classification
Transformers
ONNX
Safetensors
English
distilbert
intent-classification
multitask
iab
conversational-ai
adtech
calibrated-confidence
text-embeddings-inference
Instructions to use admesh/agentic-intent-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use admesh/agentic-intent-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="admesh/agentic-intent-classifier")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("admesh/agentic-intent-classifier", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload iab_taxonomy.py with huggingface_hub
Browse files- iab_taxonomy.py +4 -1
iab_taxonomy.py
CHANGED
|
@@ -6,7 +6,10 @@ from dataclasses import dataclass
|
|
| 6 |
from functools import lru_cache
|
| 7 |
from pathlib import Path
|
| 8 |
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
@dataclass(frozen=True)
|
|
|
|
| 6 |
from functools import lru_cache
|
| 7 |
from pathlib import Path
|
| 8 |
|
| 9 |
+
try:
|
| 10 |
+
from .config import IAB_TAXONOMY_GRAPH_PATH, IAB_TAXONOMY_PATH, IAB_TAXONOMY_VERSION # type: ignore
|
| 11 |
+
except ImportError:
|
| 12 |
+
from config import IAB_TAXONOMY_GRAPH_PATH, IAB_TAXONOMY_PATH, IAB_TAXONOMY_VERSION
|
| 13 |
|
| 14 |
|
| 15 |
@dataclass(frozen=True)
|