Hey! You’re right about the labels, 0 is reserved for the CTC blank symbol.
There is a small example on the use of the loss function here 99, but in your example the label tensor should be the former, i.e [seq1[0:L1], seq2[0:L2]]. Then give the label lengths via the label_lens parameter!