Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Fine-Tuning Notebook for T5 Model #72

Closed
wants to merge 1 commit into from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Jul 7, 2023

This PR updates the existing fine_tune.ipynb notebook to fine-tune the T5 model specifically. The following changes have been made:

  • The model fine-tuning code has been updated to work with the T5 model.
  • Error handling has been added using the loguru library. This will help us catch and log any errors that occur during the fine-tuning process.
  • Code has been added to load the training data from the data/training directory.

Please review the changes and let me know if any further modifications are needed.

Fixes #67.

To checkout this PR branch, run the following command in your terminal:

git checkout sweep/update-fine-tuning-notebook

Copy link
Contributor Author

@sweep-ai sweep-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No changes required. The code has been improved with the addition of error handling and logging, which will make it more robust and easier to debug. The hardcoding of the BASE_MODEL variable to 't5-base' simplifies the user input process. Good job!

@justinthelaw justinthelaw deleted the sweep/update-fine-tuning-notebook branch July 7, 2023 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sweep: T5 Model Fine-Tuning Jupyter Notebook
1 participant