Views
No views yet
mDeBERTa-v3 model. It is specialized in Cross-Lingual NLI.1from transformers import pipeline
2
3classifier = pipeline("zero-shot-classification", model="Aimu0999/mDeBERTa-v3-base-xnli-multilingual-nli-finetuned")
4
5text = "The galaxy is full of stars and mystery."
6labels = ["science", "politics", "cooking"]
7
8result = classifier(text, labels)
9print(result)