@Hugo-W
I have looked at all of your code but I can’t understand this code
merged = torch.cat([word_embeds.view(1,1,-1), char_lvl[-1].view(1,1,-1)], dim=2) in function forward_one_word
Here is my question:

Why use char_lvl[-1]? Is it the last char in char_lvl ?
Should we train model with words and the affix?

Thx and looking forward to your answer