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
a1b271dd
Commit
a1b271dd
authored
Apr 25, 2022
by
ken
Browse files
Fix typo
parent
b4ad893c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lm_eval/tasks/gem_xsum.py
lm_eval/tasks/gem_xsum.py
+5
-5
No files found.
lm_eval/tasks/gem_xsum.py
View file @
a1b271dd
...
@@ -97,7 +97,7 @@ class GEMXSUMChallgeTestBacktranslation(GEMXSUMBase):
...
@@ -97,7 +97,7 @@ class GEMXSUMChallgeTestBacktranslation(GEMXSUMBase):
def
test_docs
(
self
):
def
test_docs
(
self
):
if
self
.
has_test_docs
():
if
self
.
has_test_docs
():
return
self
.
dataset
[
SPLIT
]
return
self
.
dataset
[
self
.
SPLIT
]
class
GEMXSUMChallgeTestBFP02
(
GEMXSUMBase
):
class
GEMXSUMChallgeTestBFP02
(
GEMXSUMBase
):
'''this is for challenge_test_bfp_02'''
'''this is for challenge_test_bfp_02'''
...
@@ -111,7 +111,7 @@ class GEMXSUMChallgeTestBFP02(GEMXSUMBase):
...
@@ -111,7 +111,7 @@ class GEMXSUMChallgeTestBFP02(GEMXSUMBase):
def
test_docs
(
self
):
def
test_docs
(
self
):
if
self
.
has_test_docs
():
if
self
.
has_test_docs
():
return
self
.
dataset
[
SPLIT
]
return
self
.
dataset
[
self
.
SPLIT
]
class
GEMXSUMChallgeTestBFP05
(
GEMXSUMBase
):
class
GEMXSUMChallgeTestBFP05
(
GEMXSUMBase
):
'''this is for challenge_test_bfp_05'''
'''this is for challenge_test_bfp_05'''
...
@@ -124,7 +124,7 @@ class GEMXSUMChallgeTestBFP05(GEMXSUMBase):
...
@@ -124,7 +124,7 @@ class GEMXSUMChallgeTestBFP05(GEMXSUMBase):
return
False
return
False
def
test_docs
(
self
):
def
test_docs
(
self
):
if
self
.
has_test_docs
():
if
self
.
has_test_docs
():
return
self
.
dataset
[
SPLIT
]
return
self
.
dataset
[
self
.
SPLIT
]
class
GEMXSUMChallgeTestNopunc
(
GEMXSUMBase
):
class
GEMXSUMChallgeTestNopunc
(
GEMXSUMBase
):
'''this is for challenge_test_nopunc'''
'''this is for challenge_test_nopunc'''
...
@@ -137,7 +137,7 @@ class GEMXSUMChallgeTestNopunc(GEMXSUMBase):
...
@@ -137,7 +137,7 @@ class GEMXSUMChallgeTestNopunc(GEMXSUMBase):
return
False
return
False
def
test_docs
(
self
):
def
test_docs
(
self
):
if
self
.
has_test_docs
():
if
self
.
has_test_docs
():
return
self
.
dataset
[
SPLIT
]
return
self
.
dataset
[
self
.
SPLIT
]
class
GEMXSUMChallgeTestCovid
(
GEMXSUMBase
):
class
GEMXSUMChallgeTestCovid
(
GEMXSUMBase
):
'''this is for challenge_test_covid'''
'''this is for challenge_test_covid'''
...
@@ -150,4 +150,4 @@ class GEMXSUMChallgeTestCovid(GEMXSUMBase):
...
@@ -150,4 +150,4 @@ class GEMXSUMChallgeTestCovid(GEMXSUMBase):
return
False
return
False
def
test_docs
(
self
):
def
test_docs
(
self
):
if
self
.
has_test_docs
():
if
self
.
has_test_docs
():
return
self
.
dataset
[
SPLIT
]
return
self
.
dataset
[
self
.
SPLIT
]
\ No newline at end of file
\ No newline at end of file
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