Instructions to use AI4Industry/MoonViT-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AI4Industry/MoonViT-V2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="AI4Industry/MoonViT-V2", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AI4Industry/MoonViT-V2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 299 Bytes
35e4140 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"auto_map": {
"AutoImageProcessor": "image_processing_moonvit_v2.MoonViTV2ImageProcessor"
},
"patch_size": 14,
"merge_kernel_size": 2,
"in_patch_limit": 65536,
"patch_limit_on_one_side": 512,
"max_num_frames": 4,
"image_mean": [0.5, 0.5, 0.5],
"image_std": [0.5, 0.5, 0.5]
}
|