Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
4142b7b2
"vscode:/vscode.git/clone" did not exist on "99fc68e609d68d70a7eb60b3a1acdbeb6e3b8796"
Commit
4142b7b2
authored
Oct 20, 2024
by
Baber
Browse files
fix logprobs
parent
9a4fa699
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
lm_eval/models/hf_vlms.py
lm_eval/models/hf_vlms.py
+0
-4
No files found.
lm_eval/models/hf_vlms.py
View file @
4142b7b2
...
...
@@ -401,10 +401,6 @@ class HFMultimodalLM(HFLM):
def
loglikelihood
(
self
,
requests
:
List
[
Instance
],
disable_tqdm
:
bool
=
False
)
->
List
[
Tuple
[
float
,
bool
]]:
raise
NotImplementedError
(
"'loglikelihood' requests for model type `hf-multimodal` are not yet tested. This feature will be enabled when a loglikelihood-based multiple-choice VQA dataset is added!"
)
new_reqs
=
[]
for
context
,
continuation
,
aux_arguments
in
[
req
.
args
for
req
in
requests
]:
if
context
==
""
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment