sweepai / evals

Apache License 2.0
0 stars 0 forks source link

Refactor Training Loop into a Class #156

Closed sweep-nightly[bot] closed 10 months ago

sweep-nightly[bot] commented 10 months ago

Description

This pull request refactors the training loop in the main.py file into a class called Trainer. It also updates the api.py file to use the Trainer class for loading and training the model. Additionally, it reorganizes the imports in both files for better readability.

Summary

Fixes #6.


🎉 Latest improvements to Sweep:


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

sweep-nightly[bot] commented 10 months ago

Sandbox Executions

sweep-nightly[bot] commented 10 months ago

Apply Sweep Rules to your PR?