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
3768b1c4
"git@developer.sourcefind.cn:zhaoyu6/sglang.git" did not exist on "14344caa38e056ae569dce3b1aaefec712b16f2a"
Commit
3768b1c4
authored
Aug 27, 2023
by
lintangsutawika
Browse files
format
parent
648dcef1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lm_eval/api/task.py
lm_eval/api/task.py
+1
-0
No files found.
lm_eval/api/task.py
View file @
3768b1c4
...
@@ -93,6 +93,7 @@ class TaskConfig(dict):
...
@@ -93,6 +93,7 @@ class TaskConfig(dict):
if
"."
in
self
.
dataset_path
:
if
"."
in
self
.
dataset_path
:
import
inspect
import
inspect
from
importlib
import
import_module
from
importlib
import
import_module
self
.
dataset_path
=
inspect
.
getfile
(
import_module
(
self
.
dataset_path
))
self
.
dataset_path
=
inspect
.
getfile
(
import_module
(
self
.
dataset_path
))
if
self
.
generation_kwargs
is
not
None
:
if
self
.
generation_kwargs
is
not
None
:
...
...
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