Instructions to use hf-tiny-model-private/tiny-random-TimesformerForVideoClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-TimesformerForVideoClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("video-classification", model="hf-tiny-model-private/tiny-random-TimesformerForVideoClassification")# Load model directly from transformers import AutoImageProcessor, AutoModelForVideoClassification processor = AutoImageProcessor.from_pretrained("hf-tiny-model-private/tiny-random-TimesformerForVideoClassification") model = AutoModelForVideoClassification.from_pretrained("hf-tiny-model-private/tiny-random-TimesformerForVideoClassification") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened about 1 year ago
by
SFconvertbot