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
d98159b2
Commit
d98159b2
authored
Sep 22, 2023
by
haileyschoelkopf
Browse files
trigger precommit
parent
e4aa240e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lm_eval/tasks/minerva_math/utils.py
lm_eval/tasks/minerva_math/utils.py
+1
-0
No files found.
lm_eval/tasks/minerva_math/utils.py
View file @
d98159b2
...
...
@@ -13,6 +13,7 @@ except ModuleNotFoundError:
please install sympy via pip install lm-eval[math] or pip install -e .[math]"
,
)
# taken from
# https://github.com/wellecks/lm-evaluation-harness/blob/master/lm_eval/tasks/minerva_math.py
def
doc_to_text
(
doc
:
dict
)
->
str
:
...
...
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