microsoft / CodeXGLUE

CodeXGLUE
MIT License
1.5k stars 363 forks source link

Seq2Seq for code-to-text #137

Closed jiaqing23 closed 1 year ago

jiaqing23 commented 1 year ago

Hi,

For the code-to-text task, the evaluation is based on Seq2Seq, Transformer, RoBERTa and CodeBERT.

Based on my understanding, Seq2Seq should be RNN based, but the code set the decoder to be a TransformerDecoder.

Could I have the code for RNN based Seq2Seq model?

Thanks!

celbree commented 1 year ago

Hi, we didn't provide RNN-based model implementation. Our code is based on transformer, which is also a seq2seq model.