mozilla / translations

The code, training pipeline, and models that power Firefox Translations
https://mozilla.github.io/translations/
Mozilla Public License 2.0
154 stars 33 forks source link

The train.py utility should check for a proper branch name #840

Closed gregtatum closed 2 days ago

gregtatum commented 1 month ago

In #777 training is restricted by branch name. This should also be checked in the training script:

https://github.com/mozilla/firefox-translations-training/blob/3e921d2a8d59950f979c19c32030227471ded8c8/utils/train.py#L84

gregtatum commented 2 weeks ago

I just hit this and it was confusing. I'll update the script.

gregtatum commented 2 days ago

Fixed in #883.