NaturalCC:一个使Source Code语料库自然化的工具包
NaturalCC: A Toolkit to Naturalize the Source Code Corpus
摘要:
NaturalCC是一个高效的、可扩展的工具包,它可以有效地弥补自然语言和程序设计语言之间的鸿沟,为大型代码分析的研究提供便利。使用NaturalCC,来自自然语言或程序设计语言社区的研究人员可以快速轻松地复制最先进的基线并实施他们的方法。NaturalCC基于Fairseq和PyTorch构建,提供(1)多GPU和混合精度数据处理的高效计算,用于快速模型训练,(2)模块化和可扩展的框架,可以轻松复制或实现大型代码分析方法,以及(3)命令行界面和图形用户界面,以演示每个模型的性能。目前,我们已经在不同的任务中包含了几个最先进的基线(例如,代码完成、代码注释生成和代码检索)进行演示。此演示的视频可在https://www.youtube.com/watch?上获得v=q4W5VSI-u3E&t=25s。
英文摘要:
We present NaturalCC, an efficient and extensible toolkit to bridge the gap between natural language and programming language, and facilitate the research on big code analysis. Using NaturalCC, researchers both from natural language or programming language communities can quickly and easily reproduce the state-of-the-art baselines and implement their approach. NaturalCC is built upon Fairseq and PyTorch, providing (1) an efficient computation with multi-GPU and mixed-precision data processing for fast model training, (2) a modular and extensible framework that makes it easy to reproduce or implement an approach for big code analysis, and (3) a command line interface and a graphical user interface to demonstrate each model's performance. Currently, we have included several state-of-the-art baselines across different tasks (e.g., code completion, code comment generation, and code retrieval) for demonstration. The video of this demo is available at https://www.youtube.com/watch?v=q4W5VSI-u3E&t=25s.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。