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
ed717635
Unverified
Commit
ed717635
authored
Sep 05, 2019
by
Thomas Wolf
Committed by
GitHub
Sep 05, 2019
Browse files
Merge pull request #1201 from huggingface/configuration_refactoring
[2.0] - Split configuration and modeling files
parents
04b50cab
85df4f7c
Changes
41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pytorch_transformers/tests/modeling_xlnet_test.py
pytorch_transformers/tests/modeling_xlnet_test.py
+2
-1
No files found.
pytorch_transformers/tests/modeling_xlnet_test.py
View file @
ed717635
...
...
@@ -28,7 +28,8 @@ import torch
from
pytorch_transformers
import
(
XLNetConfig
,
XLNetModel
,
XLNetLMHeadModel
,
XLNetForSequenceClassification
,
XLNetForQuestionAnswering
)
from
pytorch_transformers.modeling_xlnet
import
XLNET_PRETRAINED_MODEL_ARCHIVE_MAP
from
.modeling_common_test
import
ConfigTester
,
CommonTestCases
,
ids_tensor
from
.modeling_common_test
import
(
CommonTestCases
,
ids_tensor
)
from
.configuration_common_test
import
ConfigTester
class
XLNetModelTest
(
CommonTestCases
.
CommonModelTester
):
...
...
Prev
1
2
3
Next
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