"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "ea55bd86b9a452c87c5383afc707ab7d710a3043"
Unverified Commit 331ea019 authored by Omar Sanseviero's avatar Omar Sanseviero Committed by GitHub
Browse files

Remove unneded words from audio-related feature extractors (#19405)

parent 56af8df3
......@@ -136,7 +136,7 @@ class Speech2TextFeatureExtractor(SequenceFeatureExtractor):
**kwargs
) -> BatchFeature:
"""
Main method to featurize and prepare for the model one or several sequence(s). sequences.
Main method to featurize and prepare for the model one or several sequence(s).
Args:
raw_speech (`np.ndarray`, `List[float]`, `List[np.ndarray]`, `List[List[float]]`):
......
......@@ -112,7 +112,7 @@ class Wav2Vec2FeatureExtractor(SequenceFeatureExtractor):
**kwargs
) -> BatchFeature:
"""
Main method to featurize and prepare for the model one or several sequence(s). sequences.
Main method to featurize and prepare for the model one or several sequence(s).
Args:
raw_speech (`np.ndarray`, `List[float]`, `List[np.ndarray]`, `List[List[float]]`):
......
......@@ -221,7 +221,7 @@ class WhisperFeatureExtractor(SequenceFeatureExtractor):
**kwargs
) -> BatchFeature:
"""
Main method to featurize and prepare for the model one or several sequence(s). sequences.
Main method to featurize and prepare for the model one or several sequence(s).
Args:
raw_speech (`np.ndarray`, `List[float]`, `List[np.ndarray]`, `List[List[float]]`):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment