Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
110 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Language Modelling for Source Code with Transformer-XL (2007.15813v1)

Published 31 Jul 2020 in cs.LG, cs.CL, and cs.SE

Abstract: It has been found that software, like natural language texts, exhibits "naturalness", which can be captured by statistical LLMs. In recent years, neural LLMs have been proposed to represent the naturalness of software through deep learning. In this paper, we conduct an experimental evaluation of state-of-the-art neural LLMs for source code, including RNN-based models and Transformer-XL based models. Through experiments on a large-scale Python code corpus, we find that the Transformer-XL model outperforms RNN-based models (including LSTM and GRU models) in capturing the naturalness of software, with far less computational cost.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (2)
  1. Thomas Dowdell (2 papers)
  2. Hongyu Zhang (147 papers)
Citations (8)

Summary

We haven't generated a summary for this paper yet.