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
ec4da72f
Unverified
Commit
ec4da72f
authored
Apr 04, 2022
by
Daniel Stancl
Committed by
GitHub
Apr 04, 2022
Browse files
Fix flax import in __init__.py: modeling_xglm -> modeling_flax_xglm (#16556)
parent
013a7dbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/xglm/__init__.py
src/transformers/models/xglm/__init__.py
+1
-1
No files found.
src/transformers/models/xglm/__init__.py
View file @
ec4da72f
...
@@ -67,7 +67,7 @@ if TYPE_CHECKING:
...
@@ -67,7 +67,7 @@ if TYPE_CHECKING:
from
.modeling_xglm
import
XGLM_PRETRAINED_MODEL_ARCHIVE_LIST
,
XGLMForCausalLM
,
XGLMModel
,
XGLMPreTrainedModel
from
.modeling_xglm
import
XGLM_PRETRAINED_MODEL_ARCHIVE_LIST
,
XGLMForCausalLM
,
XGLMModel
,
XGLMPreTrainedModel
if
is_flax_available
():
if
is_flax_available
():
from
.modeling_xglm
import
FlaxXGLMForCausalLM
,
FlaxXGLMModel
,
FlaxXGLMPreTrainedModel
from
.modeling_
flax_
xglm
import
FlaxXGLMForCausalLM
,
FlaxXGLMModel
,
FlaxXGLMPreTrainedModel
else
:
else
:
...
...
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