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
cd09cd5b
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "f143037789288ba532dada934a118e648e715738"
Commit
cd09cd5b
authored
Nov 03, 2018
by
VictorSanh
Browse files
Fix import on initalization
parent
ec66841a
Changes
2
Show 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
...
@@ -23,6 +23,7 @@ import os
import
logging
import
logging
import
argparse
import
argparse
import
random
import
numpy
as
np
import
numpy
as
np
from
tqdm
import
tqdm
,
trange
from
tqdm
import
tqdm
,
trange
import
torch
import
torch
...
...
run_squad_pytorch.py
View file @
cd09cd5b
...
@@ -26,6 +26,7 @@ import json
...
@@ -26,6 +26,7 @@ import json
import
math
import
math
import
os
import
os
from
tqdm
import
tqdm
,
trange
from
tqdm
import
tqdm
,
trange
import
random
import
torch
import
torch
from
torch.utils.data
import
TensorDataset
,
DataLoader
,
RandomSampler
,
SequentialSampler
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