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
dd584086b231939f80f39cf58667bf1d7f12519e
dd584086b231939f80f39cf58667bf1d7f12519e
Switch branch/tag
lm-evaluation-harness
lm_eval
tasks
qa4mre
preprocess_qa4mre.py
Find file
Normal view
History
Permalink
preprocess_qa4mre.py
70 Bytes
Edit
Web IDE
Newer
Older
Add qa4mre
FarzanehNakhaee
committed
Jul 01, 2023
1
def
qa4mre_process
(
doc
):
resolve newline issue
FarzanehNakhaee
committed
Jul 04, 2023
2
return
int
(
doc
[
'correct_answer_id'
])
-
1