Hi,
For the following data:

Input(names) - [‘Griffiths’, ‘Jemaldinov’, ‘Naifeh’]
True Output(Language) - [‘English’, ‘Russian’, ‘Arabic’]

When used pack_padded_sequence for the above names the output generated is

J G N e r a m i i a f f l f e d i h i t n h o s v

which is clearly not in the order in which it were sent because of their varying lengths.
The question is, in what order should I arrange the true outputs so that they are compared to their corresponding predicted output for the computation of loss.
I hope I’m able to explain my doubt