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
60b81dfa
Unverified
Commit
60b81dfa
authored
Mar 07, 2022
by
Suraj Patil
Committed by
GitHub
Mar 07, 2022
Browse files
remove re-defination of FlaxWav2Vec2ForCTCModule (#15965)
parent
ef9c3ca3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
src/transformers/models/wav2vec2/modeling_flax_wav2vec2.py
src/transformers/models/wav2vec2/modeling_flax_wav2vec2.py
+0
-8
No files found.
src/transformers/models/wav2vec2/modeling_flax_wav2vec2.py
View file @
60b81dfa
...
@@ -1206,10 +1206,6 @@ overwrite_call_docstring(
...
@@ -1206,10 +1206,6 @@ overwrite_call_docstring(
append_replace_return_docstrings
(
FlaxWav2Vec2ForCTC
,
output_type
=
FlaxCausalLMOutput
,
config_class
=
Wav2Vec2Config
)
append_replace_return_docstrings
(
FlaxWav2Vec2ForCTC
,
output_type
=
FlaxCausalLMOutput
,
config_class
=
Wav2Vec2Config
)
class
FlaxWav2Vec2ForCTCModule
(
nn
.
Module
):
config
:
Wav2Vec2Config
class
FlaxWav2Vec2ForPreTrainingModule
(
nn
.
Module
):
class
FlaxWav2Vec2ForPreTrainingModule
(
nn
.
Module
):
config
:
Wav2Vec2Config
config
:
Wav2Vec2Config
dtype
:
jnp
.
dtype
=
jnp
.
float32
dtype
:
jnp
.
dtype
=
jnp
.
float32
...
@@ -1409,7 +1405,3 @@ overwrite_call_docstring(
...
@@ -1409,7 +1405,3 @@ overwrite_call_docstring(
append_replace_return_docstrings
(
append_replace_return_docstrings
(
FlaxWav2Vec2ForPreTraining
,
output_type
=
FlaxWav2Vec2ForPreTrainingOutput
,
config_class
=
Wav2Vec2Config
FlaxWav2Vec2ForPreTraining
,
output_type
=
FlaxWav2Vec2ForPreTrainingOutput
,
config_class
=
Wav2Vec2Config
)
)
class
FlaxWav2Vec2ForCTCModule
(
nn
.
Module
):
config
:
Wav2Vec2Config
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