sweepai / evals

Apache License 2.0
0 stars 0 forks source link

Add tests using mocker to main.py #90

Closed sweep-nightly[bot] closed 1 year ago

sweep-nightly[bot] commented 1 year ago

Description

This PR adds tests to the main.py file using a mocker. The tests cover the model initialization, the model forward pass, and the DataLoader functionality. Mock objects are used to isolate the components being tested and to make the tests faster and more reliable.

Summary of Changes

Please review and merge this PR. Thank you!

Fixes #10.


🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can:

sweep-nightly[bot] commented 1 year ago

Rollback Files For Sweep

sweep-nightly[bot] commented 1 year ago

Apply Sweep Rules to your PR?