Visual Question Answering
Transformers
Safetensors
English
idefics2
text-classification
text-generation-inference
Instructions to use TIGER-Lab/VideoScore with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TIGER-Lab/VideoScore with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "visual-question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("visual-question-answering", model="TIGER-Lab/VideoScore")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSequenceClassification processor = AutoProcessor.from_pretrained("TIGER-Lab/VideoScore") model = AutoModelForSequenceClassification.from_pretrained("TIGER-Lab/VideoScore", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from TIGER-Lab/VideoScore: direct link, hf CLI and curl.
- Browser
- Download file 68 Bytes
-
https://huggingface.co/TIGER-Lab/VideoScore/resolve/main/processor_config.json
- Command line
-
hf download hf://TIGER-Lab/VideoScore/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/TIGER-Lab/VideoScore/resolve/main/processor_config.json
68 Bytes
| { | |
| "image_seq_len": 64, | |
| "processor_class": "Idefics2Processor" | |
| } | |