-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[lhotse] Added support for re-weighting datasets with temperature on the fly. #15200
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
base: main
Are you sure you want to change the base?
Changes from all commits
c9770a2
0ca1f93
19ce594
ed87198
9787d7c
2ceb45e
18c83a0
2a60233
b7c5a0a
f6321f7
f524347
a4bdc54
734ef25
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -87,6 +87,7 @@ model: | |
| shuffle: true | ||
| num_workers: 6 | ||
| pin_memory: true | ||
| reweight_temperature: [1.0, 0.0] # Temperature for re-weighting datasets. 1 is a neutral value. Lower temperature over-samples smaller datasets, and vice versa. | ||
XuesongYang marked this conversation as resolved.
Show resolved
Hide resolved
XuesongYang marked this conversation as resolved.
Show resolved
Hide resolved
XuesongYang marked this conversation as resolved.
Show resolved
Hide resolved
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is my understanding, correct me if I am wrong: Level 1 (Language): preserves the weight, Level 2 (datasets within each language): equalizes.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you're right. But this is an example demonstrating how to use this new param. In practice, we should override this one based on your needs. |
||
|
|
||
| input_cfg: | ||
| - type: lhotse_shar | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.