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.
2022-08-09T19:32:50Z
this can likely be done with a translation mode + fine tuning everything or something like that. Perhaps useful links:notebooks/translation.ipynb at main · huggingface/notebooks · GitHubTranslation🤗 Transformers Notebooksnotebooks/translation-tf.ipynb at main · huggingface/notebooks · GitHubbuilding tensors:Preprocessugh, I wanted pytorch…