Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/config/.secrets.baseline

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions benchmarking/scripts/audio_librispeech_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ def run_audio_librispeech_benchmark( # noqa: PLR0913
model_id=model_name,
audio_filepath_key="audio_filepath",
batch_size=asr_batch_size,
max_audio_sec_per_actor=240.0,
max_inference_duration_s=120.0,
local_bucketing=True,
fail_on_audio_error=True,
adapter_kwargs={"use_cuda_graph_decoder": False},
)
Expand Down
1 change: 1 addition & 0 deletions nemo_curator/models/asr/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class ASRAdapter(Protocol):
* ``waveform``: contiguous, mono, 1-D float32 NumPy samples normalized by
``ASRStage`` from a file or a reader-provided in-memory waveform.
* ``sample_rate`` (``int``): the stage's configured target sample rate.
* ``audio_seconds`` (``float``): duration of this model-input chunk.
* ``language`` (``str | None``): human-readable name (e.g. ``"English"``).
* ``language_code`` (``str | None``): original language code from the
configured stage input column.
Expand Down
606 changes: 562 additions & 44 deletions nemo_curator/stages/audio/README.md

Large diffs are not rendered by default.

Loading
Loading