Skip to content

TransformerDecoder should support single inputs #182

@chenmoneygithub

Description

@chenmoneygithub

Currently TransformerDecoder must have both encoder_inputs and decoder_inputs, while for models like GPT2, only decoder_inputs is required. We should make a change to mark encoder_inputs as optional.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions