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
chenpangpang
transformers
Commits
803c1cc4
Commit
803c1cc4
authored
Aug 30, 2019
by
VictorSanh
Browse files
fix relative import bug cf Issue #1140
parent
b66e9b44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/distillation/scripts/binarized_data.py
examples/distillation/scripts/binarized_data.py
+1
-1
No files found.
examples/distillation/scripts/binarized_data.py
View file @
803c1cc4
...
@@ -22,7 +22,7 @@ import time
...
@@ -22,7 +22,7 @@ import time
import
numpy
as
np
import
numpy
as
np
from
pytorch_transformers
import
BertTokenizer
from
pytorch_transformers
import
BertTokenizer
from
.
.utils
import
logger
from
examples.distillation
.utils
import
logger
def
main
():
def
main
():
parser
=
argparse
.
ArgumentParser
(
description
=
"Preprocess the data to avoid re-doing it several times by (tokenization + token_to_ids)."
)
parser
=
argparse
.
ArgumentParser
(
description
=
"Preprocess the data to avoid re-doing it several times by (tokenization + token_to_ids)."
)
...
...
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