Solved by tom in post #2 
              
              
                That’s not a bug, the token with index 0 is the padding token: 
PAD_token = 0  # Used for padding short sentences

Best regards 
Thomas