Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
cd09cd5b
Commit
cd09cd5b
authored
Nov 03, 2018
by
VictorSanh
Browse files
Fix import on initalization
parent
ec66841a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
run_classifier_pytorch.py
run_classifier_pytorch.py
+1
-0
run_squad_pytorch.py
run_squad_pytorch.py
+1
-0
No files found.
run_classifier_pytorch.py
View file @
cd09cd5b
...
...
@@ -23,6 +23,7 @@ import os
import
logging
import
argparse
import
random
import
numpy
as
np
from
tqdm
import
tqdm
,
trange
import
torch
...
...
run_squad_pytorch.py
View file @
cd09cd5b
...
...
@@ -26,6 +26,7 @@ import json
import
math
import
os
from
tqdm
import
tqdm
,
trange
import
random
import
torch
from
torch.utils.data
import
TensorDataset
,
DataLoader
,
RandomSampler
,
SequentialSampler
...
...
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