You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In line no. 525 of the attention_decoder.py file, embedding_lookup throws an error when there are OOV (greater than vocab size) id's in sample_ids_sampling. I think they should be replaced with [UNK] id number before looking up.
Hi @yaserkl ,
Thanks for publishing the code!
In line no. 525 of the
attention_decoder.py
file,embedding_lookup
throws an error when there are OOV (greater than vocab size) id's insample_ids_sampling
. I think they should be replaced with[UNK]
id number before looking up.Maybe something like this:
Please let me know if I am missing something.
The text was updated successfully, but these errors were encountered: