mlsanityData to 7 Oct 2026

PyMT5: multi-mode translation of natural language and Python code with transformers

arXiv 2010.03150 ↗First posted 7 Oct 2020cs.LG cs.SEcited by 80

Not on the map. Why?

Abstract (arXiv)

Simultaneously modeling source code and natural language has many exciting applications in automated software development and understanding. Pursuant to achieving such technology, we introduce PyMT5, the Python method text-to-text transfer transformer, which is trained to translate between all pairs of Python method feature combinations: a single model that can both predict whole methods from natural language documentation strings (docstrings) and summarize code into docstrings of any common style. We present an analysis and modeling effort of a large-scale parallel corpus of 26 million Python methods and 7.7 million method-docstring pairs, demonstrating that for docstring and method generation, PyMT5 outperforms similarly-sized auto-regressive language models (GPT2) which were English pre-trained or randomly initialized. On the CodeSearchNet test set, our best model predicts 92.1% syntactically correct method bodies, achieved a BLEU score of 8.59 for method generation and 16.3 for docstring generation (summarization), and achieved a ROUGE-L F-score of 24.8 for method generation and 36.7 for docstring generation.

Key facts. Cited by 80 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Oct 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 16; 2022: 32; 2023: 17; 2024: 11; 2025: 3; 2026: 1.

80 papers.

Sort:

By area:

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  4. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  5. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  6. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  7. 2024A Survey on Large Language Models for Code Generationcited by 646
  8. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  9. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  10. 2021Unified Pre-training for Program Understanding and Generationcited by 361
  11. 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
  12. 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 229
38 more
  1. 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 150
  2. 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 146
  3. 2022Large Language Models Meet NL2Code: A Surveycited by 135
  4. 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 132
  5. 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 117
  6. 2024Agents in Software Engineering: Survey, Landscape, and Visioncited by 60
  7. 2023CodeChain: Towards Modular Code Generation Through Chain of Self-revisions with Representative Sub-modulescited by 58
  8. 2022PanGu-Coder: Program Synthesis with Function-Level Language Modelingcited by 47
  9. 2022CoditT5: Pretraining for Source Code and Natural Language Editingcited by 45
  10. 2023CodeScope: An Execution-based Multilingual Multitask Multidimensional Benchmark for Evaluating LLMs on Code Understanding and Generationcited by 39
  11. 2021What do pre-trained code models know about code?cited by 36
  12. 2023Measuring The Impact Of Programming Language Distributioncited by 32
  13. 2024Can Large Language Models Understand Symbolic Graphics Programs?cited by 32
  14. 2022Training and Evaluating a Jupyter Notebook Data Science Assistantcited by 31
  15. 2022Execution-based Evaluation for Data Science Code Generation Modelscited by 31
  16. 2022On the Transferability of Pre-trained Language Models for Low-Resource Programming Languagescited by 30
  17. 2022ERNIE-Code: Beyond English-Centric Cross-lingual Pretraining for Programming Languagescited by 29
  18. 2023Large Language Models of Code Fail at Completing Code with Potential Bugscited by 28
  19. 2023Outline, Then Details: Syntactically Guided Coarse-To-Fine Code Generationcited by 27
  20. 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 26
  21. 2021Choose Your Programming Copilot: A Comparison of the Program Synthesis Performance of GitHub Copilot and Genetic Programmingcited by 24
  22. 2023Zero-Shot Detection of Machine-Generated Codescited by 24
  23. 2021CoDesc: A Large Code-Description Parallel Datasetcited by 23
  24. 2023Exploring Continual Learning for Code Generation Modelscited by 22
  25. 2023The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generationcited by 20
  26. 2026Composer 2 Technical Reportcited by 20
  27. 2021DeepDebug: Fixing Python Bugs Using Stack Traces, Backtranslation, and Code Skeletonscited by 17
  28. 2025DocAgent: A Multi-Agent System for Automated Code Documentation Generationcited by 16
  29. 2021Long-Range Modeling of Source Code Files with eWASH: Extended Window Access by Syntax Hierarchycited by 14
  30. 2022Incorporating Domain Knowledge through Task Augmentation for Front-End JavaScript Code Generationcited by 11
  31. 2022CS1QA: A Dataset for Assisting Code-based Question Answering in an Introductory Programming Coursecited by 11
  32. 2024CoSQA+: Pioneering the Multi-Choice Code Search Benchmark with Test-Driven Agentscited by 11
  33. 2022Who Evaluates the Evaluators? On Automatic Metrics for Assessing AI-based Offensive Code Generatorscited by 10
  34. 2024RACONTEUR: A Knowledgeable, Insightful, and Portable LLM-Powered Shell Command Explainercited by 9
  35. 2022Benchmarking Language Models for Code Syntax Understandingcited by 8
  36. 2022CoRRPUS: Code-based Structured Prompting for Neurosymbolic Story Understandingcited by 7
  37. 2023Exploring Data Augmentation for Code Generation Taskscited by 7
  38. 2021CGEMs: A Metric Model for Automatic Code Generation using GPT-3cited by 6

50 most cited of 80 All 80 (JSON)