-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem in training with Russian data #32
Comments
These 'unk' come from the input processing script, eg: data/twitter/data.py, line 13: UNK = 'unk' |
Words in Russian may have 30+ different forms (cases, grammatical gender etc.), so, without any preprocessing your effective vocabulary size would become pretty low. That's why you have so many unks. There are three possible solutions: 1) preprocess using word2vec 2) convert every word to its main form and add form markers separately 3) greatly increase the vocabulary size. |
this problem due to your answer data |
I have a similar issue with french language. My corpus data is full of emojis, I try to add them as valid in the data whitelist but they don't seem to appear. As I understand, emojis are part of the utf-8 mb4 charset but get processed in a standard utf-8 charset. Using python3 this shouldn't be a problem right? |
After training, I manage to get some answers, but most often instead of words I get a strange "unk" in the answer.
The text was updated successfully, but these errors were encountered: