-
Notifications
You must be signed in to change notification settings - Fork 21
Errors with WMT17 recipes and option flags overall #65
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
Comments
Duplicate of #48
See my reply here: #66 (comment) |
I'm using this docker image
I understand now, this makes a lot more sense now when I go through the code again. Thank you! |
As mentioned in my previous reply, the 0.0.1 docker image has actually been rebuilt post-fix. See here: https://github.com/eole-nlp/eole/actions/workflows/build.yml |
I noticed the issue when going through the images |
My bad, good catch! No time to fix right now but feel free to PR these small changes! |
I'll open a PR and update the Readme! Also, I started a discussion topic, could you review it and see if it is a good idea? |
Closing this as we figured the problem and came up with a fix! |
I was testing out the recipes today and found that while running the commands for WMT17 recipe, errors were occurring due to the difference between the options between OMT and eole.
When I ran
eole build_vocab --config wmt17_ende.yaml --n_sample -1
which was provided in the README.md, an error of
pydantic_core._pydantic_core.ValidationError: 4 validation errors for BuildVocabConfig report_every Extra inputs are not permitted [type=extra_forbidden, input_value=100, input_type=int] For further information visit https://errors.pydantic.dev/2.7/v/extra_forbidden valid_metrics Extra inputs are not permitted [type=extra_forbidden, input_value=['BLEU'], input_type=list] For further information visit https://errors.pydantic.dev/2.7/v/extra_forbidden training Extra inputs are not permitted [type=extra_forbidden, input_value={'model_path': 'wmt17_en_...ormalization': 'tokens'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/extra_forbidden model Extra inputs are not permitted [type=extra_forbidden, input_value={'architecture': 'transfo...sition_encoding': True}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/extra_forbidden
Some of these options were available for training and not build_vocab, causing this error.
Furthermore, I found out some flags that were visible in the code, eg. src_subword_model, dropout and src_subword_nbest weren't available as an option and would cause the same issue of validation errors for TrainConfig
The text was updated successfully, but these errors were encountered: