Skip to content

Commit

Permalink
rename fake data argf
Browse files Browse the repository at this point in the history
  • Loading branch information
samsja committed Sep 22, 2024
1 parent 01bf6c9 commit 7db3cea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configs/debug/debug.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ warmup_steps = 10
total_steps = 10

[data]
fake_data = true
fake = true

2 changes: 1 addition & 1 deletion configs/debug/diloco.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ warmup_steps = 10
total_steps = 10

[data]
fake_data = true
fake = true

[diloco]
inner_steps = 5
Expand Down
4 changes: 2 additions & 2 deletions src/zeroband/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def ddp_setup():

class DataConfig(BaseConfig):
seq_length: int = 1024
fake_data: bool = False
fake: bool = False
num_workers: int = 4


Expand Down Expand Up @@ -97,7 +97,7 @@ def train(config: Config):
seq_length=config.data.seq_length,
batch_size=config.train.micro_bs,
num_workers=config.data.num_workers,
fake_data=config.data.fake_data,
fake_data=config.data.fake,
)

model, model_config = get_model(
Expand Down

0 comments on commit 7db3cea

Please sign in to comment.