Sentence-similarity-classifier-for-pyTorch icon indicating copy to clipboard operation
Sentence-similarity-classifier-for-pyTorch copied to clipboard

Key error when testing

Open SUNCHAO1212 opened this issue 7 years ago • 2 comments

If there is a word in testing set but not in training set, it will raise a 'keyerror'. But there are some situations that cannot avoid this. What can I do

SUNCHAO1212 avatar Jan 09 '18 00:01 SUNCHAO1212

I guess you should merge vocabulary of both test and training set when embedding process, I am reviewing the code as well.

preesee avatar Jun 02 '18 00:06 preesee

@SUNCHAO1212 Do you know where I can find the files hard coded in source code ?'se100.txt' etc. I can not find the data files that the source code requires and they are not mentioned in the paper.

preesee avatar Jun 02 '18 07:06 preesee