transformers-tutorials icon indicating copy to clipboard operation
transformers-tutorials copied to clipboard

param of T5 model

Open hotpeppeper opened this issue 4 years ago • 0 comments

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

hotpeppeper avatar Mar 29 '21 06:03 hotpeppeper