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
dcef7c8f
Commit
dcef7c8f
authored
Feb 08, 2022
by
researcher2
Browse files
Update cbt.py
parent
dae7b868
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/tasks/cbt.py
lm_eval/tasks/cbt.py
+1
-1
No files found.
lm_eval/tasks/cbt.py
View file @
dcef7c8f
...
@@ -42,7 +42,7 @@ class CBTBase(HFTask):
...
@@ -42,7 +42,7 @@ class CBTBase(HFTask):
return
True
return
True
def
doc_to_decontamination_query
(
self
,
doc
):
def
doc_to_decontamination_query
(
self
,
doc
):
passage
=
" "
.
join
(
doc
[
"sentences"
])
passage
=
" "
.
join
(
doc
[
"sentences"
])
return
passage
return
passage
def
doc_to_target
(
self
,
doc
):
def
doc_to_target
(
self
,
doc
):
...
...
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