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
d26aeda7
Commit
d26aeda7
authored
Jun 27, 2024
by
Nathan Habib
Browse files
checkout from main
parent
b9bda0a3
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
lm_eval/tasks/squad_completion/task.py
lm_eval/tasks/squad_completion/task.py
+0
-2
lm_eval/tasks/squadv2/task.py
lm_eval/tasks/squadv2/task.py
+1
-0
lm_eval/tasks/tinyBenchmarks/utils_winogrande.py
lm_eval/tasks/tinyBenchmarks/utils_winogrande.py
+1
-1
lm_eval/tasks/tmmluplus/default/_generate_configs.py
lm_eval/tasks/tmmluplus/default/_generate_configs.py
+1
-0
No files found.
lm_eval/tasks/squad_completion/task.py
View file @
d26aeda7
"""
"""
import
re
from
typing
import
List
...
...
lm_eval/tasks/squadv2/task.py
View file @
d26aeda7
...
...
@@ -13,6 +13,7 @@ also determine when no answer is supported by the paragraph and abstain from ans
Homepage: https://rajpurkar.github.io/SQuAD-explorer/
"""
from
functools
import
partial
from
math
import
exp
...
...
lm_eval/tasks/tinyBenchmarks/utils_winogrande.py
View file @
d26aeda7
"""
This code mirrors the utils of the original winogrande task
"""
"""This code mirrors the utils of the original winogrande task"""
def
doc_to_text
(
doc
):
...
...
lm_eval/tasks/tmmluplus/default/_generate_configs.py
View file @
d26aeda7
"""
Take in a YAML, and output all "other" splits with this YAML
"""
import
argparse
import
os
...
...
Prev
1
2
Next
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