initial commit a32d3c8
Taizo Kaneko commited on
How to use paulhindemith/test-zeroshot with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("zero-shot-classification", model="paulhindemith/test-zeroshot") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("paulhindemith/test-zeroshot", device_map="auto")