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
ca49a773
Unverified
Commit
ca49a773
authored
Aug 08, 2023
by
Moon Gi Cho
Committed by
GitHub
Aug 08, 2023
Browse files
[Refactor] Fix SyntaxError
parent
42cc971f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lm_eval/tasks/__init__.py
lm_eval/tasks/__init__.py
+1
-2
No files found.
lm_eval/tasks/__init__.py
View file @
ca49a773
...
...
@@ -350,7 +350,6 @@ TASK_REGISTRY = {
"kolegal_legalcase"
:
legal_test
.
LegalBinary
,
"kolegal_civilcase"
:
legal_test
.
LJPCivil
,
"kolegal_criminalcase"
:
legal_test
.
LJPCriminal
,
=======
"kosbi"
:
kosbi
.
KoSBi
,
**
xcopa
.
construct_tasks
(),
**
bigbench
.
create_all_tasks
(),
...
...
@@ -431,4 +430,4 @@ def get_task_dict(task_name_list: List[Union[str, lm_eval.base.Task]]):
if
not
isinstance
(
task_object
,
str
)
}
assert
set
(
task_name_dict
.
keys
()).
isdisjoint
(
set
(
task_name_from_object_dict
.
keys
()))
return
{
**
task_name_dict
,
**
task_name_from_object_dict
}
\ No newline at end of file
return
{
**
task_name_dict
,
**
task_name_from_object_dict
}
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