Methodprepare_inputs_for_generation(self, decoder_input_ids, past, attention_mask, use_cache, **kwargs)
fengshen/models/bart/modeling_bart.py:282
Methodprepare_inputs_for_generation(
self,
input_ids,
past=None,
attention_mask=None,
head_mask=None,
fengshen/models/megatron_t5/modeling_megatron_t5.py:1926
Methodprepare_inputs_for_generation(self, input_ids, past=None, attention_mask=None, use_cache=None, **kwargs)
fengshen/models/deltalm/modeling_deltalm.py:1531
Methodready_fake(self, sent_output, inputs_labels, inputs_indexs, label2id, perm = None)
fengshen/models/GAVAE/gans_model.py:224