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