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
3f76bf54
Unverified
Commit
3f76bf54
authored
Feb 23, 2022
by
lsb
Committed by
GitHub
Feb 23, 2022
Browse files
Align documentation with code defaults (#15468)
In the code, `do_normalize` defaults to True
parent
32f5de10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/wav2vec2/feature_extraction_wav2vec2.py
...ansformers/models/wav2vec2/feature_extraction_wav2vec2.py
+1
-1
No files found.
src/transformers/models/wav2vec2/feature_extraction_wav2vec2.py
View file @
3f76bf54
...
...
@@ -43,7 +43,7 @@ class Wav2Vec2FeatureExtractor(SequenceFeatureExtractor):
The sampling rate at which the audio files should be digitalized expressed in Hertz per second (Hz).
padding_value (`float`, defaults to 0.0):
The value that is used to fill the padding values.
do_normalize (`bool`, *optional*, defaults to `
Fals
e`):
do_normalize (`bool`, *optional*, defaults to `
Tru
e`):
Whether or not to zero-mean unit-variance normalize the input. Normalizing can help to significantly
improve the performance for some models, *e.g.*,
[wav2vec2-lv60](https://huggingface.co/models?search=lv60).
...
...
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