-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging updates from public repo (#13)
* Fix typo in README.md (#128) * [bugfix] Missing enable_fsdp in 70b config (#132) * Update load warnings (#126) * Generic datasets with inheritance (#135) * Switch InterleaveDataset to use weights (e.g., 2.0, 0.5, etc) (#140) * Break up datasets.py (#141) * Update registry with more languages commonvoice (#143) * Split dataset definitions into individual files (#145) * Add whisper masking (#146) * Defining block size in UltravoxConfig, and solving assertions (#157)
- Loading branch information
Showing
46 changed files
with
2,257 additions
and
1,620 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from ultravox.data.data_sample import * | ||
from ultravox.data.datasets import * | ||
from ultravox.data.registry import * | ||
from ultravox.data.types import * | ||
|
||
__all__ = [ | ||
"SizedIterableDataset", | ||
"EmptyDataset", | ||
"InterleaveDataset", | ||
"Range", | ||
"Dataproc", | ||
"VoiceDataset", | ||
"VoiceDatasetArgs", | ||
"VoiceSample", | ||
"create_dataset", | ||
"register_datasets", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from ultravox.data import types | ||
|
||
BOOLQ_CONFIG = types.DatasetConfig( | ||
name="boolq", | ||
path="fixie-ai/boolq-audio", | ||
splits=[ | ||
types.DatasetSplitConfig(name="train", num_samples=10000), | ||
types.DatasetSplitConfig(name="validation", num_samples=1000), | ||
], | ||
user_template=f"{{{{passage}}}}\n\n{types.AUDIO_PLACEHOLDER}", | ||
assistant_template="{{'True' if answer else 'False'}}", | ||
transcript_template="{{question}}", | ||
) | ||
|
||
configs = [ | ||
BOOLQ_CONFIG, | ||
] |
Oops, something went wrong.