blzhu0823 opened this issue 3 years ago · 0 comments
Sorry, I found that your code did not consider the problem of oov when constructing the vocabulary. When there is a word in the new test variant data that is not in your vocabulary, there is no corresponding unknow idx corresponding to it.