Instructions to use dandelin/vilt-b32-finetuned-coco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dandelin/vilt-b32-finetuned-coco with Transformers:
# Load model directly from transformers import AutoProcessor, ViltForImageAndTextRetrieval processor = AutoProcessor.from_pretrained("dandelin/vilt-b32-finetuned-coco") model = ViltForImageAndTextRetrieval.from_pretrained("dandelin/vilt-b32-finetuned-coco", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "do_normalize": true, | |
| "do_resize": true, | |
| "feature_extractor_type": "ViltFeatureExtractor", | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "resample": 3, | |
| "size": 384, | |
| "size_divisor": 32 | |
| } | |