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
3bc7baaa
Commit
3bc7baaa
authored
Dec 02, 2024
by
Baber
Browse files
add ai2d
parent
1170ef9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
lm_eval/tasks/ai2d/ai2d.yaml
lm_eval/tasks/ai2d/ai2d.yaml
+20
-0
No files found.
lm_eval/tasks/ai2d/ai2d.yaml
0 → 100644
View file @
3bc7baaa
dataset_path
:
lmms-lab/ai2d
test_split
:
test
output_type
:
generate_until
doc_to_image
:
!function
utils.doc_to_image
doc_to_text
:
"
<image>{{question
|
capitalize}}
{{%
for
option
in
options
%}}
{{loop.index
|
chr(64)}}.
{{option
|
capitalize}}
{{%
endfor
%}}"
doc_to_target
:
"
{{options[answer]}}"
generation_kwargs
:
until
:
[]
temperature
:
0.0
do_sample
:
false
max_gen_toks
:
512
metric_list
:
-
metric
:
acc
aggregation
:
mean
higher_is_better
:
true
metadata
:
version
:
0.0
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