Spaces:
Runtime error
Runtime error
Commit
·
d0b6dd3
1
Parent(s):
96112f7
update
Browse files- app_regression.py +2 -2
app_regression.py
CHANGED
@@ -14,8 +14,8 @@ from models.conversation import conv_templates
|
|
14 |
from typing import List
|
15 |
|
16 |
|
17 |
-
processor = AutoProcessor.from_pretrained("Mantis-VL/mantis-8b-idefics2-video-eval-refined-
|
18 |
-
model = Idefics2ForSequenceClassification.from_pretrained("Mantis-VL/mantis-8b-idefics2-video-eval-refined-
|
19 |
|
20 |
MAX_NUM_FRAMES = 24
|
21 |
conv_template = conv_templates["idefics_2"]
|
|
|
14 |
from typing import List
|
15 |
|
16 |
|
17 |
+
processor = AutoProcessor.from_pretrained("Mantis-VL/mantis-8b-idefics2-video-eval-refined-40k-ablation-anno_4096_regression")
|
18 |
+
model = Idefics2ForSequenceClassification.from_pretrained("Mantis-VL/mantis-8b-idefics2-video-eval-refined-40k-ablation-anno_4096_regression", torch_dtype=torch.bfloat16).eval()
|
19 |
|
20 |
MAX_NUM_FRAMES = 24
|
21 |
conv_template = conv_templates["idefics_2"]
|