Closed zendevil closed 5 years ago
That's something internal to sentencepiece, not my code. Check if the files are correct, especially that the dictionary and hparams.json
match. Also your model may be corrupted since you're already missing one file.
Yeah hparams.json
was incorrect. I had specified the wrong number of tokens. I reran encode.sh and everything works fine.