Run this model with HF Jobs
Run skywalker290/videomae-vivit-d2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/skywalker290/videomae-vivit-d2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/skywalker290/videomae-vivit-d2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use skywalker290/videomae-vivit-d2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use skywalker290/videomae-vivit-d2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("video-classification", model="skywalker290/videomae-vivit-d2")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForVideoClassification processor = AutoImageProcessor.from_pretrained("skywalker290/videomae-vivit-d2") model = AutoModelForVideoClassification.from_pretrained("skywalker290/videomae-vivit-d2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse filesFiles changed (4)
- config.jsonAdded+62
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+26
- training_args.binAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ "_name_or_path": "google/vivit-b-16x2-kinetics400", "architectures": [ "VivitForVideoClassification" ], "attention_probs_dropout_prob": 0.0, "hidden_act": "gelu_fast", "hidden_dropout_prob": 0.0, "hidden_size": 768, "id2label": { "0": "Abuse", "1": "Arrest", "2": "Arson", "3": "Assault", "4": "Burglary", "5": "Explosion", "6": "Fighting", "7": "RoadAccidents", "8": "Robbery", "9": "Shooting", "10": "Shoplifting", "11": "Stealing", "12": "Vandalism" }, "image_size": 224, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "Abuse": 0, "Arrest": 1, "Arson": 2, "Assault": 3, "Burglary": 4, "Explosion": 5, "Fighting": 6, "RoadAccidents": 7, "Robbery": 8, "Shooting": 9, "Shoplifting": 10, "Stealing": 11, "Vandalism": 12 }, "layer_norm_eps": 1e-06, "model_type": "vivit", "num_attention_heads": 12, "num_channels": 3, "num_frames": 32, "num_hidden_layers": 12, "qkv_bias": true, "torch_dtype": "float32", "transformers_version": "4.46.2", "tubelet_size": [ 2, 16, 16 ], "video_size": [ 32, 224, 224 ]}123version https://git-lfs.github.com/spec/v1oid sha256:88b1614e7cf65531f3fc39fbf8824f9027d81b55c83502431b4109928b4ab349size 3546492201234567891011121314151617181920212223242526{ "crop_size": { "height": 224, "width": 224 }, "do_center_crop": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.485, 0.456, 0.406 ], "image_processor_type": "VideoMAEImageProcessor", "image_std": [ 0.229, 0.224, 0.225 ], "resample": 2, "rescale_factor": 0.00392156862745098, "size": { "shortest_edge": 224 }}123version https://git-lfs.github.com/spec/v1oid sha256:1c031bd0f55cd68d97c5f2079828fa0257378c3d936bcaf0fbff4df9b2af6162size 5240config.jsonAdded+62
model.safetensorsAdded+3
preprocessor_config.jsonAdded+26
training_args.binAdded+3