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
08dc67ea
Commit
08dc67ea
authored
Jan 05, 2021
by
Leo Gao
Browse files
Add reminder to rewrite
parent
a9fe09e5
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
lm_eval/tasks/wikitext.py
lm_eval/tasks/wikitext.py
+2
-0
lm_eval/tasks/winogrande.py
lm_eval/tasks/winogrande.py
+2
-0
lm_eval/tasks/wsc273.py
lm_eval/tasks/wsc273.py
+2
-0
No files found.
lm_eval/tasks/wikitext.py
View file @
08dc67ea
# REMINDER: this code needs to be rewritten for the new framework. Remove this comment when the code is fully converted.
import
numpy
as
np
from
scipy.stats
import
pearsonr
,
spearmanr
from
sklearn.metrics
import
f1_score
,
matthews_corrcoef
...
...
lm_eval/tasks/winogrande.py
View file @
08dc67ea
# REMINDER: this code needs to be rewritten for the new framework. Remove this comment when the code is fully converted.
import
numpy
as
np
from
scipy.stats
import
pearsonr
,
spearmanr
from
sklearn.metrics
import
f1_score
,
matthews_corrcoef
...
...
lm_eval/tasks/wsc273.py
View file @
08dc67ea
# REMINDER: this code needs to be rewritten for the new framework. Remove this comment when the code is fully converted.
import
json
import
random
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