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

Error loading state_size in FConvModel : size mismatch in encoder-decoder weights #33

Open
NikhilCherian opened this issue Jun 11, 2020 · 0 comments

Comments

@NikhilCherian
Copy link

@shamilcm @gurunath-p

Hello there again. I was actually trying something new with the mlconvgec models where I trained them with latest fairseq model with different bpe bert and tokenizer moses.

Training was all fine. But there seems to error with the generate with test data jfleg for getting the GLEU scores.

python generate.py test/jfleg --path checkpoints/lang8-nucle-bert-moses/checkpoint_best.pt --batch-size 128 --beam 5 --nbest 12 --lang-model-data data-bin/wiki103 --lang-model-path data-bin/wiki103/wiki103.pt --source-lang en --target-lang gec --bpe bert --tokenizer moses --dataset-impl raw

The error is with a problem in size mismatch in the layers.
image

Any help would be highly appreciated. Thanks in advance.

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

No branches or pull requests

1 participant