keras-nlp
keras-nlp copied to clipboard
TransformerDecoder should support single inputs
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.
I'll like to take this issue
@jessechancy Thanks!
Is this issue still looking for contributions ? @chenmoneygithub @mattdangerw
This is fixed!