Instructions to use Mantis-VL/mantis-8b-idefics2-video-eval-debug_4096_regression with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mantis-VL/mantis-8b-idefics2-video-eval-debug_4096_regression with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Mantis-VL/mantis-8b-idefics2-video-eval-debug_4096_regression")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSequenceClassification processor = AutoProcessor.from_pretrained("Mantis-VL/mantis-8b-idefics2-video-eval-debug_4096_regression") model = AutoModelForSequenceClassification.from_pretrained("Mantis-VL/mantis-8b-idefics2-video-eval-debug_4096_regression", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from Mantis-VL/mantis-8b-idefics2-video-eval-debug_4096_regression: direct link, hf CLI and curl.
- Browser
- Download file 68 Bytes
-
https://huggingface.co/Mantis-VL/mantis-8b-idefics2-video-eval-debug_4096_regression/resolve/main/processor_config.json
- Command line
-
hf download hf://Mantis-VL/mantis-8b-idefics2-video-eval-debug_4096_regression/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/Mantis-VL/mantis-8b-idefics2-video-eval-debug_4096_regression/resolve/main/processor_config.json
68 Bytes
| { | |
| "image_seq_len": 64, | |
| "processor_class": "Idefics2Processor" | |
| } | |