-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor config reading and expand test coverage
This commit refactors the way we read the configuration in `lm.py` to ensure that we always return a dictionary, even when the configuration file is not found. This change simplifies the code and makes it more robust. In `output.py`, we've updated the comment to better reflect the actual code change, which is setting the padding to 0. In `test_lm.py`, we've expanded the test coverage to include more models. This will help us catch potential issues with these models earlier. These changes should improve the overall quality and reliability of our code. 🚀👍🏽
- Loading branch information
1 parent
8940ca3
commit 8ec4065
Showing
3 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters