Duplicated from microsoft/xclip-base-patch16-zero-shot
How to use aurelio-ai/xclip-base-patch16-zero-shot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("video-classification", model="aurelio-ai/xclip-base-patch16-zero-shot")
# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("aurelio-ai/xclip-base-patch16-zero-shot") model = AutoModel.from_pretrained("aurelio-ai/xclip-base-patch16-zero-shot")
The community tab is the place to discuss and collaborate with the HF community!