Spaces:
Runtime error
Runtime error
rai-sant commited on
Commit ·
2d7c05c
1
Parent(s): d490134
Fix missing DPOConfig reference
Browse filesFiles changed (3)
28 unmodified lines29303132333428 unmodified lines# Define the publicly accessible API for the module__all__ = ["DataArguments","H4ArgumentParser","ModelArguments","SFTConfig",28 unmodified lines2930313233343528 unmodified lines# Define the publicly accessible API for the module__all__ = ["DataArguments","DPOConfig","H4ArgumentParser","ModelArguments","SFTConfig",
123456789101112class DataArguments:"""A placeholder class for DataArguments.Add relevant arguments and methods as needed."""def __init__(self, dataset_path: str = None, max_samples: int = 1000):self.dataset_path = dataset_pathself.max_samples = max_samplesdef __repr__(self):return f"DataArguments(dataset_path={self.dataset_path}, max_samples={self.max_samples})"12345# Placeholder for DPOConfigclass DPOConfig:def __init__(self):raise NotImplementedError("DPOConfig is not implemented yet.")
12345# Placeholder for DPOConfig
class DPOConfig: def __init__(self): raise NotImplementedError("DPOConfig is not implemented yet.")src/open_r1/__init__.py+1
src/open_r1/configs/data_arguments.py+4-11
src/open_r1/configs/dpo_config.pyAdded+5