ONNX Converted & Optimized Models
Collection
7 items • Updated
How to use holisticon/deberta-v3-base-zeroshot-v2.0-onnx with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="holisticon/deberta-v3-base-zeroshot-v2.0-onnx") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("holisticon/deberta-v3-base-zeroshot-v2.0-onnx")
model = AutoModelForSequenceClassification.from_pretrained("holisticon/deberta-v3-base-zeroshot-v2.0-onnx", device_map="auto")No model card