I am using the iterators generated by torchtext and am wondering about the batch.text tuple - the first element of the tuple seems to have a batch of word indices (as judging by the size, [batchsize*sentence_length] ) but the second element is a mystery to me - it is of length batchsize, but what are the values in there?  Is this covered in the docs somewhere I cound’t find?
    for idx, batch in enumerate(val_iter):
        text = batch.text[0]    # this is the first element of the batch.text tuple - what is the second??