Closed linxid closed 5 years ago
Is it meaning that data have different label length. If my dataset's label is:
I only need to let label train is: -2 -2 -2 -2 1 -2 -2 -2 -2 1 -2 -2 -2 -2 -2 -2 1 -2 1 -2 Thx
-2 -2 -2 -2 1 -2 -2 -2 -2 1 -2 -2 -2 -2 -2 -2 1 -2 1 -2
The label sequences can have different lengths. The model can automatically determine the number of predicted labels by predicting $eos$.
Is it meaning that data have different label length. If my dataset's label is:
I only need to let label train is:
-2 -2 -2 -2 1 -2 -2 -2 -2 1 -2 -2 -2 -2 -2 -2 1 -2 1 -2
Thx