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
82517de7
Commit
82517de7
authored
Jul 03, 2025
by
Baber
Browse files
nit
parent
2ebef470
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
lm_eval/__main__.py
lm_eval/__main__.py
+6
-1
No files found.
lm_eval/__main__.py
View file @
82517de7
...
...
@@ -7,6 +7,12 @@ from functools import partial
from
pathlib
import
Path
from
typing
import
Union
from
lm_eval.api.eval_config
import
(
EvaluationConfig
,
TrackExplicitAction
,
TrackExplicitStoreTrue
,
)
def
try_parse_json
(
value
:
str
)
->
Union
[
str
,
dict
,
None
]:
if
value
is
None
:
...
...
@@ -349,7 +355,6 @@ def cli_evaluate(args: Union[argparse.Namespace, None] = None) -> None:
from
lm_eval.utils
import
(
handle_non_serializable
,
make_table
,
simple_parse_args_string
,
)
if
args
.
wandb_args
:
...
...
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