SAVRN
Search Contact SAVRN

Open-weight model · Video classification

xclip-base-patch16-16-frames

by Microsoft microsoft/xclip-base-patch16-16-frames

X-CLIP model (base-sized, patch resolution of 16) trained fully-supervised on Kinetics-400. It was introduced in the paper Expanding Language-Image Pretrained Models for General Video Recognition by Ni et al. and first released in this repository.

Parameters
Context77
Weights779.9 MB
Licensemit
AccessOpen weights
Monthly Downloads1.8k

Model Card

By Microsoft, published under mit, revision c4bb0025a08e.

X-CLIP model (base-sized, patch resolution of 16) trained fully-supervised on Kinetics-400. It was introduced in the paper Expanding Language-Image Pretrained Models for General Video Recognition by Ni et al. and first released in this repository. This model was trained using 16 frames per video, at a resolution of 224x224. Disclaimer: The team releasing X-CLIP did not write a model card for this model so this model card has been written by the Hugging Face team. X-CLIP is a minimal extension of CLIP for general video-language understanding. The model is trained in a contrastive way on (video, text) pairs. This allows the model to be used for tasks like zero-shot, few-shot or fully…

Read Microsoft's full model card

X-CLIP (base-sized model)

X-CLIP model (base-sized, patch resolution of 16) trained fully-supervised on Kinetics-400. It was introduced in the paper Expanding Language-Image Pretrained Models for General Video Recognition by Ni et al. and first released in this repository.

This model was trained using 16 frames per video, at a resolution of 224x224.

Disclaimer: The team releasing X-CLIP did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description

X-CLIP is a minimal extension of CLIP for general video-language understanding. The model is trained in a contrastive way on (video, text) pairs.

This allows the model to be used for tasks like zero-shot, few-shot or fully supervised video classification and video-text retrieval.

Intended uses & limitations

You can use the raw model for determining how well text goes with a given video. See the model hub to look for fine-tuned versions on a task that interests you.

How to use

For code examples, we refer to the documentation.

Training data

This model was trained on Kinetics-400.

Preprocessing

The exact details of preprocessing during training can be found here.

The exact details of preprocessing during validation can be found here.

During validation, one resizes the shorter edge of each frame, after which center cropping is performed to a fixed-size resolution (like 224x224). Next, frames are normalized across the RGB channels with the ImageNet mean and standard deviation.

Evaluation results

This model achieves a top-1 accuracy of 84.7% and a top-5 accuracy of 96.8%.

Configuration

Architecture
XCLIPModel
Context length (tokens)
77
Layers
12
Hidden size
512
Feed-forward size
2,048
Attention heads
8
Vocabulary size
49,408
Stored precision
float32
Model type
xclip

Identity and Version

Repository
microsoft/xclip-base-patch16-16-frames
Publisher
Microsoft
Task
Video classification
Modality
Video
Library
transformers
Parameters
Not stated by the source
Languages
en
Revision
c4bb0025a08ee79a5e74ef77e511c6f83f328d77
First published
2022-09-07
Last updated
2022-09-08

Files and Weights

10 files, 783.8 MB in total. The weights are 1 file totalling 779.9 MB in bin.

Weights1 file · 779.9 MB
Configuration3 files · 9.7 KB
Tokenizer4 files · 3.8 MB
Documentation1 file · 2.7 KB
Repository1 file · 1.4 KB
Every file
FileTypeSizeSHA-256
pytorch_model.binWeights779.9 MB d6b66745d2f6
config.jsonConfiguration8.9 KB
preprocessor_config.jsonConfiguration310 B
special_tokens_map.jsonConfiguration472 B
README.mdDocumentation2.7 KB
.gitattributesRepository1.4 KB
merges.txtTokenizer524.6 KB
tokenizer.jsonTokenizer2.2 MB
tokenizer_config.jsonTokenizer927 B
vocab.jsonTokenizer1.1 MB

License and Download

License
mit
Access
Open weights, no gate
Download size
779.9 MB
Download from Microsoft

Released by Microsoft through its official repository on Hugging Face. Read the license.

Built From

Evaluations

Each result is shown as reported, with the conditions its reporter stated. None is a SAVRN measurement. A comparison lines two results up only when their configuration, unit and setup are all stated and identical.

BenchmarkConditionsResultReported byRevisionDate
Kinetics 400 Task video-classificationMetric top-1 accuracyComparison conditions not established 84.7 microsoft
Publisher reported
Evaluated revision not stated
Kinetics 400 Task video-classificationMetric top-5 accuracyComparison conditions not established 96.8 microsoft
Publisher reported
Evaluated revision not stated

Memory Requirements

PrecisionWeights in memory
As published779.9 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About xclip-base-patch16-16-frames

Can I use xclip-base-patch16-16-frames commercially?

Yes. xclip-base-patch16-16-frames is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

What is xclip-base-patch16-16-frames's context length?

77 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Video classification

vivit-b-16x2-kinetics400

Google

ViViT model as introduced in the paper ViViT: A Video Vision Transformer by Arnab et al. and first released in this repository. Disclaimer: The team releasing ViViT did not write a model card for this model so this model card has been written by the Hugging Face team. ViViT is an extension of the Vision Transformer (ViT) to video. We refer to the paper for details. The model is mostly meant to intended to be fine-tuned on a downstream task, like video classification. See the model hub to look for fine-tuned versions on a task that interests you. For code examples, we refer to the documentation.

Open weights mit transformers

Model · Video classification

vivit-b-16x2

Google

ViViT model as introduced in the paper ViViT: A Video Vision Transformer by Arnab et al. and first released in this repository. Disclaimer: The team releasing ViViT did not write a model card for this model so this model card has been written by the Hugging Face team. ViViT is an extension of the Vision Transformer (ViT) to video. We refer to the paper for details. The model is mostly meant to intended to be fine-tuned on a downstream task, like video classification. See the model hub to look for fine-tuned versions on a task that interests you. For code examples, we refer to the documentation.

Open weights mit transformers

Model · Video classification

timesformer-base-finetuned-k600

AI at Meta

TimeSformer model pre-trained on Kinetics-600. It was introduced in the paper TimeSformer: Is Space-Time Attention All You Need for Video Understanding? by Tong et al. and first released in this repository. Disclaimer: The team releasing TimeSformer did not write a model card for this model so this model card has been written by fcakyon. You can use the raw model for video classification into one of the 600 possible Kinetics-600 labels. Here is how to use this model to classify a video: For more code examples, we refer to the documentation.

Open weights cc-by-nc-4.0 transformers

Model · Video classification

timesformer-base-finetuned-k400

AI at Meta

TimeSformer model pre-trained on Kinetics-400. It was introduced in the paper TimeSformer: Is Space-Time Attention All You Need for Video Understanding? by Tong et al. and first released in this repository. Disclaimer: The team releasing TimeSformer did not write a model card for this model so this model card has been written by fcakyon. You can use the raw model for video classification into one of the 400 possible Kinetics-400 labels. Here is how to use this model to classify a video: For more code examples, we refer to the documentation.

Open weights cc-by-nc-4.0 transformers

Model · Video classification

xclip-large-patch14-16-frames

Microsoft

X-CLIP model (large-sized, patch resolution of 14) trained fully-supervised on Kinetics-400. It was introduced in the paper Expanding Language-Image Pretrained Models for General Video Recognition by Ni et al. and first released in this repository. This model was trained using 16 frames per video, at a resolution of 336x336. Disclaimer: The team releasing X-CLIP did not write a model card for this model so this model card has been written by the Hugging Face team. X-CLIP is a minimal extension of CLIP for general video-language understanding. The model is trained in a contrastive way on (video, text) pairs. This allows the model to be used for tasks like zero-shot, few-shot or fully…

Open weights mit 77 tokens transformers

Model · Video classification

VJEPA2-ViTL-SSv2-CoreAI

Daisuke Majima (MLBoy)

Core AI is Apple's on-device ML runtime in iOS 27 / macOS 27 and the successor to Core ML: PyTorch models are exported with Apple's coreai-torch (LLMs: coreai.llm.export) into.aimodel bundles that run on the GPU or the Neural Engine, e.g. Qwen3-8B 4-bit decodes at 94 tok/s on an M4 Max GPU, MLX 90 under the same protocol (apple-silicon-llm-bench, macOS 27 beta 26A5353q, 2026-06-11). This model has no row on DeviceMark, the on-device LLM leaderboard. V-JEPA 2 (Meta AI) running natively on the Apple Core AI engine — the zoo's first world model: a self-supervised video encoder that learns by predicting in representation space (JEPA), here with the Something-Something v2 action head (174…

Open weights mit coreai