arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.00367cs.CLcs.LG
收藏

使用Transformers的自然语言编码

Natural Language to Code Using Transformers

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Dept. of Computer Science(计算机科学系)

Uday Kusupati, Venkata Ravi Teja Ailavarapu

摘要:

我们解决了使用CoNaLa数据集从自然语言描述生成代码片段的问题。我们使用的自注意力的Transformer架构,并表明它比经常性的注意力为基础的编码器解码器的性能更好。此外,我们开发了一种修改后的形式的反向翻译和使用周期一致的损失,训练的模型在一个端到端的方式。我们实现了16.99的BLEU评分,击败了之前报道的CoNaLa挑战基线。

英文摘要:

We tackle the problem of generating code snippets from natural language descriptions using the CoNaLa dataset. We use the self-attention based transformer architecture and show that it performs better than recurrent attention-based encoder decoder. Furthermore, we develop a modified form of back translation and use cycle consistent losses to train the model in an end-to-end fashion. We achieve a BLEU score of 16.99 beating the previously reported baseline of the CoNaLa challenge.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑