changed batch size for 2 and 3 to work with the sequence length