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
e33fdc93
Unverified
Commit
e33fdc93
authored
Jun 07, 2020
by
Bram Vanroy
Committed by
GitHub
Jun 07, 2020
Browse files
Export PretrainedBartModel from __init__ (#4819)
parent
c58e6c12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/transformers/__init__.py
src/transformers/__init__.py
+1
-0
No files found.
src/transformers/__init__.py
View file @
e33fdc93
...
@@ -230,6 +230,7 @@ if is_torch_available():
...
@@ -230,6 +230,7 @@ if is_torch_available():
XLM_PRETRAINED_MODEL_ARCHIVE_LIST
,
XLM_PRETRAINED_MODEL_ARCHIVE_LIST
,
)
)
from
.modeling_bart
import
(
from
.modeling_bart
import
(
PretrainedBartModel
,
BartForSequenceClassification
,
BartForSequenceClassification
,
BartModel
,
BartModel
,
BartForConditionalGeneration
,
BartForConditionalGeneration
,
...
...
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