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 from transformers import pipeline pipe = pipeline("visual-question-answering", model="TIGER-Lab/VideoScore")# Load model directly from transformers import AutoProcessor, AutoModelForSequenceClassification processor = AutoProcessor.from_pretrained("TIGER-Lab/VideoScore") model = AutoModelForSequenceClassification.from_pretrained("TIGER-Lab/VideoScore") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -86,7 +86,7 @@ from typing import List
|
|
| 86 |
from PIL import Image
|
| 87 |
import torch
|
| 88 |
from transformers import AutoProcessor
|
| 89 |
-
from models.idefics2 import Idefics2ForSequenceClassification
|
| 90 |
|
| 91 |
def _read_video_pyav(
|
| 92 |
frame_paths:List[str],
|
|
|
|
| 86 |
from PIL import Image
|
| 87 |
import torch
|
| 88 |
from transformers import AutoProcessor
|
| 89 |
+
from mantis.models.idefics2 import Idefics2ForSequenceClassification
|
| 90 |
|
| 91 |
def _read_video_pyav(
|
| 92 |
frame_paths:List[str],
|