Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/data processing #110

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Feature/data processing #110

wants to merge 6 commits into from

Conversation

Leminen
Copy link
Collaborator

@Leminen Leminen commented Mar 13, 2025

added support for audio normalization and changed default sampling probs for multi-dataset trainings

Copy link
Member

@saattrupdan saattrupdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Nice better default for dataset probabilities as well. Only have a minor change.

Also, do we know for sure that the do_normalize argument works for both Wav2vec and Whisper models?

audio_column: str | None,
convert_numerals: bool,
normalize_audio: bool = False,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to include a default here, as you're including the argument explicitly when calling the function. Keeping it as a default could lead to silent errors:

Suggested change
normalize_audio: bool = False,
normalize_audio: bool,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants