Skip to content

Commit

Permalink
Fix config test and add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
melihyilmaz committed Nov 28, 2023
1 parent 625f7f3 commit 5e58b65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- `accelerator` parameter controls the accelerator (CPU, GPU, etc) that is used.
- `devices` parameter controls the number of accelerators used.
- `val_check_interval` parameter controls the frequency of both validation epochs and model checkpointing during training.
- `train_label_smoothing` parameter controls the amount of label smoothing applied when calculating the training loss.

### Changed

Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ def tiny_config(tmp_path):
"n_head": 2,
"dim_feedforward": 10,
"n_layers": 1,
"train_label_smoothing": 0.01,
"warmup_iters": 1,
"max_iters": 1,
"max_epochs": 20,
Expand Down

0 comments on commit 5e58b65

Please sign in to comment.