Video Classification
Transformers
PyTorch
English
xclip
feature-extraction
vision
Eval Results (legacy)
Instructions to use microsoft/xclip-base-patch16-hmdb-4-shot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/xclip-base-patch16-hmdb-4-shot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("video-classification", model="microsoft/xclip-base-patch16-hmdb-4-shot")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("microsoft/xclip-base-patch16-hmdb-4-shot") model = AutoModel.from_pretrained("microsoft/xclip-base-patch16-hmdb-4-shot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from microsoft/xclip-base-patch16-hmdb-4-shot: direct link, hf CLI and curl.
- Browser
- Download file 1.06 MB
-
https://huggingface.co/microsoft/xclip-base-patch16-hmdb-4-shot/resolve/main/vocab.json
- Command line
-
hf download hf://microsoft/xclip-base-patch16-hmdb-4-shot/vocab.json
-
curl -L -o vocab.json https://huggingface.co/microsoft/xclip-base-patch16-hmdb-4-shot/resolve/main/vocab.json
1.06 MB
File too large to display, you can check the raw version instead.