Error loading state_size in FConvModel : size mismatch in encoder-decoder weights
NikhilCherian opened this issue · 0 comments
@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.
Any help would be highly appreciated. Thanks in advance.