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
66b91e02
Unverified
Commit
66b91e02
authored
Jul 04, 2023
by
Lintang Sutawika
Committed by
GitHub
Jul 04, 2023
Browse files
Merge pull request #640 from farzanehnakhaee70/add-prost-config
[refactor] Add prost config
parents
070b6b9c
66bb89e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
.gitignore
.gitignore
+1
-0
lm_eval/tasks/prost/corypaik_prost.yaml
lm_eval/tasks/prost/corypaik_prost.yaml
+20
-0
No files found.
.gitignore
View file @
66b91e02
...
...
@@ -5,3 +5,4 @@ lm_cache
.idea
*.egg-info/
.vscode/
lm_eval/tasks/prost/corypaik_prost.yaml
0 → 100644
View file @
66b91e02
group
:
-
multiple_choice
task
:
corypaik_prost
dataset_path
:
corypaik/prost
dataset_name
:
null
output_type
:
multiple_choice
test_split
:
test
template_aliases
:
"
{%
set
answer_choices
=
[A,
B,
C,
D]
%}{%
set
gold
=
label
%}"
# set the list of possible answer choices, and set what this doc's gold answer is (set what ds column used, and what)
doc_to_text
:
"
{{context}}
\n
Question:
{{ex_question}}
\n
Answer:"
doc_to_target
:
"
{{answer_choices[gold]}}"
gold_alias
:
"
{{gold}}"
# this will be cast to an int.
should_decontaminate
:
true
doc_to_decontamination_query
:
"
{{context}}
\n
Question:
{{ex_question}}
\n
Answer:"
metric_list
:
-
metric
:
acc
aggregation
:
mean
higher_is_better
:
true
-
metric
:
acc_norm
aggregation
:
mean
higher_is_better
:
true
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