Skip to content

Commit

Permalink
update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomogwen committed Mar 11, 2024
1 parent 309050a commit 67c7af1
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configs/ddp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ trainer:
num_nodes: 2
devices: 2 # devices per node
strategy: ddp
logger:
class_path: WandbLogger
init_args:
log_model: all
project: LitGPT
save_dir: checkpoints/
model:
vocab_size: 65
n_embd: 384
Expand Down
5 changes: 5 additions & 0 deletions configs/default.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# lightning.pytorch==2.2.0.post0
trainer:
max_epochs: 10
logger:
class_path: TensorBoardLogger
init_args:
save_dir: checkpoints/
name: tensorboard
model:
vocab_size: 65
n_embd: 384
Expand Down
25 changes: 25 additions & 0 deletions configs/default_wandb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# lightning.pytorch==2.2.0.post0
trainer:
max_epochs: 10
logger:
class_path: WandbLogger
init_args:
log_model: all
project: LitGPT
save_dir: checkpoints/
model:
vocab_size: 65
n_embd: 384
n_heads: 6
num_blocks: 3
batch_size: 64
block_size: 256
dropout: 0.2
lr: 0.0003
data:
dataset_path: data/tinyshakespeare.txt
batch_size: 64
train_test_split: 0.95
train_dataloader_workers: 10
val_dataloader_workers: 10
block_size: 256

0 comments on commit 67c7af1

Please sign in to comment.