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 learning rate for #116 and other small error #117

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

johnml1135
Copy link
Collaborator

@johnml1135 johnml1135 commented Aug 29, 2024

#116


This change is Reviewable

@johnml1135 johnml1135 requested a review from ddaspit August 29, 2024 21:23
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 87.96%. Comparing base (368120f) to head (af0194c).

Files with missing lines Patch % Lines
machine/jobs/nmt_engine_build_job.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #117   +/-   ##
=======================================
  Coverage   87.96%   87.96%           
=======================================
  Files         262      262           
  Lines       15500    15500           
=======================================
  Hits        13634    13634           
  Misses       1866     1866           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@ddaspit ddaspit left a comment

Choose a reason for hiding this comment

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

I don't think we are ready to make this change yet. We need to come up with a plan for how we are going to roll this out first.

Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @johnml1135)


machine/jobs/nmt_engine_build_job.py line 77 at r1 (raw file):

            model_trainer.train(progress=phase_progress, check_canceled=check_canceled)
            model_trainer.save()
            train_corpus_size = parallel_corpus.count()

Why was this change necessary?

@johnml1135
Copy link
Collaborator Author

machine/jobs/nmt_engine_build_job.py line 77 at r1 (raw file):

Previously, ddaspit (Damien Daspit) wrote…

Why was this change necessary?

I made a change for the word alignment - and made it incorrectly. This is to fix the code. I can make a separate PR for this if we are not ready for the learning rate changes.

Copy link
Contributor

@ddaspit ddaspit left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @johnml1135)


machine/jobs/nmt_engine_build_job.py line 77 at r1 (raw file):

Previously, johnml1135 (John Lambert) wrote…

I made a change for the word alignment - and made it incorrectly. This is to fix the code. I can make a separate PR for this if we are not ready for the learning rate changes.

Yes, go ahead and make a separate PR for now.

@johnml1135
Copy link
Collaborator Author

machine/jobs/nmt_engine_build_job.py line 77 at r1 (raw file):

Previously, ddaspit (Damien Daspit) wrote…

Yes, go ahead and make a separate PR for now.

Done.

@johnml1135
Copy link
Collaborator Author

@ddaspit - I believe we are finally ready to make this change.

Copy link
Contributor

@ddaspit ddaspit left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 2 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @johnml1135)


machine/jobs/nmt_engine_build_job.py line 77 at r1 (raw file):

Previously, johnml1135 (John Lambert) wrote…

Done.

If the model_trainer.stats.train_corpus_size is not returning the correct value, it should be fixed in the trainer class.

@johnml1135
Copy link
Collaborator Author

machine/jobs/nmt_engine_build_job.py line 77 at r1 (raw file):

Previously, ddaspit (Damien Daspit) wrote…

If the model_trainer.stats.train_corpus_size is not returning the correct value, it should be fixed in the trainer class.

I believe the issue may have been resolved elsewhere. Let's move it out of this PR.

Copy link
Contributor

@ddaspit ddaspit left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @johnml1135)

@johnml1135 johnml1135 merged commit 7eeea95 into main Nov 26, 2024
14 checks passed
@johnml1135 johnml1135 deleted the learning_rate branch November 26, 2024 20:07
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.

3 participants