Text Classification
Transformers
Safetensors
deberta-v2
hierarchical-classification
climate-change
ukraine-russia-war
narrative-classification
multilingual
text-embeddings-inference
Instructions to use AWCO/mdeberta-v3-base-narratives-classifier-hierarchical with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AWCO/mdeberta-v3-base-narratives-classifier-hierarchical with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AWCO/mdeberta-v3-base-narratives-classifier-hierarchical")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, MultiHeadDebertaForHierarchicalClassification tokenizer = AutoTokenizer.from_pretrained("AWCO/mdeberta-v3-base-narratives-classifier-hierarchical") model = MultiHeadDebertaForHierarchicalClassification.from_pretrained("AWCO/mdeberta-v3-base-narratives-classifier-hierarchical", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!