Hello @Aref_Ghodamai1 . You have to know that every sentence in a batch has to have the same length. So in your case ["i","am","here"] has a length of 3 while [“you”,“are”,“not”,“there”] has a length of 4, and this is a problem. What you can do is to make [“i”,“am”,“here”] to  [“i”,“am”,“here”,“pad_tensor”]  or clip [“you”,“are”,“not”,“there”] to [“you”,“are”,“not”].
The point is to make sure the sentences have same length. Thank you