跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:2007.02609 (cs)
[提交于 2020年12月9日]

标题:Relevance Transformer: Generating Concise Code Snippets with Relevance Feedback

作者:Carlos Gemmell, Federico Rossetto, Jeffrey Dalton
查看论文《Relevance Transformer: Generating Concise Code Snippets with Relevance Feedback》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Tools capable of automatic code generation have the potential to augment programmer's capabilities. While straightforward code retrieval is incorporated into many IDEs, an emerging area is explicit code generation. Code generation is currently approached as a Machine Translation task, with Recurrent Neural Network (RNN) based encoder-decoder architectures trained on code-description pairs. In this work we introduce and study modern Transformer architectures for this task. We further propose a new model called the Relevance Transformer that incorporates external knowledge using pseudo-relevance feedback. The Relevance Transformer biases the decoding process to be similar to existing retrieved code while enforcing diversity. We perform experiments on multiple standard benchmark datasets for code generation including Django, Hearthstone, and CoNaLa. The results show improvements over state-of-the-art methods based on BLEU evaluation. The Relevance Transformer model shows the potential of Transformer-based architectures for code generation and introduces a method of incorporating pseudo-relevance feedback during inference.
主题: 计算与语言 (cs.CL); 机器学习 (cs.LG)
引用方式: arXiv:2007.02609 [cs.CL]
  (或者 arXiv:2007.02609v1 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2007.02609
相关 DOI: https://doi.org/10.1145/3397271.3401215

提交历史

来自:Carlos Gemmell
[v1] 2020年12月9日 星期三 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CL
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-12
切换浏览方式为:
cs
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站