Conditional text generation using Encoder-Decoder arch

hi, I’d like to have a enc-decoder arch that is used for text generation. i.e. a conditional text generation. Is there an example of that somewhere?

e.g. the input to decoder could be natural language and output of decoder could be actual code.

this can likely be done with a translation mode + fine tuning everything or something like that. Perhaps useful links:


ugh, I wanted pytorch…