Closed songxxzp closed 2 years ago
I can reproduce this error. As a workaround, you can add the following parameter in the YAML configuration:
infer:
length_bucket_width: 0
Thanks, that would work!
I will keep this issue open as we should this in the code.
I met an error when I'm try to do text generation with trained GPT2Small. The command:
The Error:
AASC-sGPT-2.yml:
source.txt looks like:
AASC-train.txt looks like:
GPT-2.AASC.sp.model is a sentencepiece model built by onmt-build-vocab, the same as GPT-2.AASC.sp.vocab.