param of T5 model
hotpeppeper opened this issue · comments
HotPanda commented
in function train, outputs = model(input_ids = ids, attention_mask = mask, decoder_input_ids=y_ids, lm_labels=lm_labels)
. param lm_labels
should be labels in new version of transformers