Skip to content

Commit

Permalink
fixes a typo in WhisperFeatureExtractor docs. (huggingface#22208)
Browse files Browse the repository at this point in the history
* fixes a typo

* .
  • Loading branch information
susnato authored Mar 16, 2023
1 parent da3ba3a commit fb366b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transformers/models/whisper/feature_extraction_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class WhisperFeatureExtractor(SequenceFeatureExtractor):
r"""
Constructs a Whisper feature extractor.
This feature extractor inherits from [`WhisperFeatureExtractor`] which contains most of the main methods. Users
should refer to this superclass for more information regarding those methods.
This feature extractor inherits from [`~feature_extraction_sequence_utils.SequenceFeatureExtractor`] which contains
most of the main methods. Users should refer to this superclass for more information regarding those methods.
This class extracts mel-filter bank features from raw speech using a custom numpy implementation of the `Short Time
Fourier Transform` which should match pytorch's `torch.stft` equivalent.
Expand Down

0 comments on commit fb366b9

Please sign in to comment.