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
9221cb57
Commit
9221cb57
authored
Dec 10, 2023
by
h-albert-lee
Browse files
bugfix #2 remove 'context'
parent
7bc9b82b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
lm_eval/tasks/kmmlu/utils.py
lm_eval/tasks/kmmlu/utils.py
+0
-1
No files found.
lm_eval/tasks/kmmlu/utils.py
View file @
9221cb57
...
...
@@ -4,7 +4,6 @@ def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:
def
_process_doc
(
doc
):
instruction
=
(
f
"다음을 읽고 정답으로 알맞은 것을 고르시요.
\n
"
f
"### Context:
{
doc
[
'context'
]
}
\n
"
f
"### Question:
{
doc
[
'question'
]
}
\n
"
f
"### Options:
\n
"
f
"(1)
{
doc
[
'option#1'
]
}
\n
(2)
{
doc
[
'option#2'
]
}
\n
(3)
{
doc
[
'option#3'
]
}
\n
(4)
{
doc
[
'option#4'
]
}
\n
"
...
...
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