Solved by Bahaa_Kattan in post #8 
              
              
                Actually it fixed the error but this didn’t fix the real problem. 
The real problem is from the embedding layer because there is words from valid dataset that has no embedding vector because I didn’t use the vocabs of the vaild dataset. 
you are right if I build the vocabs using train and vaild, it …