Fix some docs what layerdrop does (#23691)
* Fix some docs what layerdrop does * Update src/transformers/models/data2vec/configuration_data2vec_audio.py Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Fix more docs --------- Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
This commit is contained in:
@@ -119,7 +119,7 @@ def ffmpeg_microphone_live(
|
||||
The length of the striding to be used. Stride is used to provide context to a model on the (left, right) of
|
||||
an audio sample but without using that part to actually make the prediction. Setting this does not change
|
||||
the length of the chunk.
|
||||
format_for_conversion: (`str`, defalts to `f32le`)
|
||||
format_for_conversion (`str`, defalts to `f32le`)
|
||||
The name of the format of the audio samples to be returned by ffmpeg. The standard is `f32le`, `s16le`
|
||||
could also be used.
|
||||
Return:
|
||||
|
||||
@@ -514,7 +514,7 @@ class PipelineDataFormat:
|
||||
Creates an instance of the right subclass of [`~pipelines.PipelineDataFormat`] depending on `format`.
|
||||
|
||||
Args:
|
||||
format: (`str`):
|
||||
format (`str`):
|
||||
The format of the desired pipeline. Acceptable values are `"json"`, `"csv"` or `"pipe"`.
|
||||
output_path (`str`, *optional*):
|
||||
Where to save the outgoing data.
|
||||
|
||||
Reference in New Issue
Block a user