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
OpenDAS
Megatron-LM
Commits
159fcfeb
Commit
159fcfeb
authored
Apr 01, 2020
by
Mohammad
Browse files
gpt2 zeroshots added to main
parent
8fae1cdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tasks/main.py
tasks/main.py
+2
-0
No files found.
tasks/main.py
View file @
159fcfeb
...
@@ -60,6 +60,8 @@ if __name__ == '__main__':
...
@@ -60,6 +60,8 @@ if __name__ == '__main__':
from
race.finetune
import
main
from
race.finetune
import
main
elif
args
.
task
in
[
'MNLI'
,
'QQP'
]:
elif
args
.
task
in
[
'MNLI'
,
'QQP'
]:
from
glue.finetune
import
main
from
glue.finetune
import
main
elif
args
.
task
in
[
'LAMBADA'
,
'WIKITEXT103'
]:
from
zeroshot_gpt2.evaluate
import
main
else
:
else
:
raise
NotImplementedError
(
'Task {} is not implemented.'
.
format
(
raise
NotImplementedError
(
'Task {} is not implemented.'
.
format
(
args
.
task
))
args
.
task
))
...
...
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