in ultravox/data/types.py [0:0]
def __post_init__(self):
"""Automatically set split type based on split name"""
if self.split is None:
try:
self.split = DatasetSplit(self.name.lower())
except ValueError:
raise ValueError(
f"Could not automatically determine split type from split name '{self.name}'. Please explicitly specify split_type for splits that are not named 'train', 'validation', or 'test'."
)