bert_crf
bert_crf copied to clipboard
IndexError
When i changed the line 113, 114 in pad function by:
maxlen = 501
do_pad = lambda x, seqlen: [sample[x][:maxlen] + [0] * (seqlen - len(sample[x])) for sample in batch] # 0:
I have this error, can you help me, thanks you