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
33ccde86
Commit
33ccde86
authored
Nov 19, 2021
by
Jonathan Tow
Browse files
Add `truthfulqa` back to the task registry
parent
36edc465
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lm_eval/tasks/__init__.py
lm_eval/tasks/__init__.py
+3
-3
No files found.
lm_eval/tasks/__init__.py
View file @
33ccde86
...
@@ -43,7 +43,7 @@ from . import pile
...
@@ -43,7 +43,7 @@ from . import pile
from
.
import
wikitext
from
.
import
wikitext
from
.
import
lambada_multilingual
from
.
import
lambada_multilingual
from
.
import
mutual
from
.
import
mutual
#
from . import truthfulqa
from
.
import
truthfulqa
########################################
########################################
# Translation tasks
# Translation tasks
...
@@ -148,8 +148,8 @@ TASK_REGISTRY = {
...
@@ -148,8 +148,8 @@ TASK_REGISTRY = {
"ethics_utilitarianism"
:
hendrycks_ethics
.
EthicsUtilitarianism
,
"ethics_utilitarianism"
:
hendrycks_ethics
.
EthicsUtilitarianism
,
"ethics_virtue"
:
hendrycks_ethics
.
EthicsVirtue
,
"ethics_virtue"
:
hendrycks_ethics
.
EthicsVirtue
,
#
"truthfulqa_mc": truthfulqa.TruthfulQAMultipleChoice,
"truthfulqa_mc"
:
truthfulqa
.
TruthfulQAMultipleChoice
,
#
"truthfulqa_gen": truthfulqa.TruthfulQAGeneration,
"truthfulqa_gen"
:
truthfulqa
.
TruthfulQAGeneration
,
# dialogue
# dialogue
"mutual"
:
mutual
.
MuTual
,
"mutual"
:
mutual
.
MuTual
,
...
...
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