MoritzLaurer/deberta-v3-large-zeroshot-v1
is designed for zero-shot classification, capable of determining whether a hypothesis is
true
or
not_true
based on a text, a format based on Natural Language Inference (NLI).
Usage
Loading the model requires the
🤗 Optimum
library installed.
from optimum.onnxruntime import ORTModelForSequenceClassification
from transformers import AutoTokenizer, pipeline
tokenizer = AutoTokenizer.from_pretrained("laiyer/deberta-v3-base-zeroshot-v1-onnx")
model = ORTModelForSequenceClassification.from_pretrained("laiyer/deberta-v3-base-zeroshot-v1-onnx")
classifier = pipeline(
task="zero-shot-classification",
model=model,
tokenizer=tokenizer,
)
classifier_output = classifier("Last week I upgraded my iOS version and ever since then my phone has been overheating whenever I use your app.", ["mobile", "website", "billing", "account access"])
print(classifier_output)
deberta-v3-base-zeroshot-v1-onnx huggingface.co is an AI model on huggingface.co that provides deberta-v3-base-zeroshot-v1-onnx's model effect (), which can be used instantly with this protectai deberta-v3-base-zeroshot-v1-onnx model. huggingface.co supports a free trial of the deberta-v3-base-zeroshot-v1-onnx model, and also provides paid use of the deberta-v3-base-zeroshot-v1-onnx. Support call deberta-v3-base-zeroshot-v1-onnx model through api, including Node.js, Python, http.
deberta-v3-base-zeroshot-v1-onnx huggingface.co is an online trial and call api platform, which integrates deberta-v3-base-zeroshot-v1-onnx's modeling effects, including api services, and provides a free online trial of deberta-v3-base-zeroshot-v1-onnx, you can try deberta-v3-base-zeroshot-v1-onnx online for free by clicking the link below.
protectai deberta-v3-base-zeroshot-v1-onnx online free url in huggingface.co:
deberta-v3-base-zeroshot-v1-onnx is an open source model from GitHub that offers a free installation service, and any user can find deberta-v3-base-zeroshot-v1-onnx on GitHub to install. At the same time, huggingface.co provides the effect of deberta-v3-base-zeroshot-v1-onnx install, users can directly use deberta-v3-base-zeroshot-v1-onnx installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
deberta-v3-base-zeroshot-v1-onnx install url in huggingface.co: