首页> 外文会议>International Joint Conference on Neural Networks >An Improved Recurrent Neural Network Language Model for Programming Language
【24h】

An Improved Recurrent Neural Network Language Model for Programming Language

机译:一种改进的编程语言复发性神经网络语言模型

获取原文

摘要

Language models are applied to the programming language. However, the existing language models may be confused with different tokens with the same name in different scopes and can generate the syntax error code. In this paper, we proposed a grammar language model to solve these two problems. The model is an improved recurrent neural network language model. The improved recurrent neural network language model has the scope-awared input feature and the grammar output mask. We evaluated our model and existing language models on a C99 code dataset. Our model gets a perplexity value of 2.91 and a top-1 accuracy rate of 74.23% which is much better than other models.
机译:语言模型应用于编程语言。但是,现有的语言模型可能与不同范围中具有相同名称的不同令牌混淆,并且可以生成语法错误代码。在本文中,我们提出了一种语法语言模型来解决这两个问题。该模型是一种改进的经常性神经网络语言模型。改进的经常性神经网络语言模型具有范围令人醒目的输入功能和语法输出掩模。我们在C99代码数据集中评估了我们的模型和现有语言模型。我们的模型获得了2.91的困惑值,最高1精度为74.23%,比其他模型好得多。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号