mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-29 17:35:16 +00:00
refactor: Reorganize ArcAgiConfig class attributes for better readability
This commit is contained in:
parent
e56316ebb2
commit
b73040b066
1 changed files with 5 additions and 2 deletions
|
|
@ -20,11 +20,14 @@ class ArcAgiConfig:
|
|||
use_train: bool = True
|
||||
use_eval: bool = True
|
||||
board_format_opts: BoardFormattingOptions = field(default_factory=lambda: BoardFormattingOptions())
|
||||
seed: Optional[int] = None
|
||||
size: int = 500
|
||||
|
||||
# Augmentation options
|
||||
use_rotations: bool = True
|
||||
use_mirrors: bool = True
|
||||
use_color_permutation: bool = True
|
||||
|
||||
seed: Optional[int] = None
|
||||
size: int = 500
|
||||
|
||||
def validate(self):
|
||||
assert self.size > 0, "Size of dataset must be positive."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue