Narrow Transformer:面向桌面的基于 StarCoder 的 Java-LM
Narrow Transformer: StarCoder-Based Java-LM For Desktop
AI总结:
本文提出基于 StarCoderBase-1.1B 的开源 Java 专用代码模型 NT-Java-1.1B 及其量化版本,在 MultiPL-E 上达到可比的先进性能并适合桌面部署。
摘要:
本文介绍了 NT-Java-1.1B,这是一个基于 StarCoderBase-1.1B 构建的开源专用代码语言模型,面向 Java 编程中的编码任务而设计。NT-Java-1.1B 实现了最先进的性能,在 MultiPL-E Java 代码基准测试中超过了其基础模型以及大多数类似规模的其他模型。尽管已有研究探讨如何扩展大型通用预训练模型,以提升其在 Python 等特定编程语言上的熟练程度,但针对其他编程语言的小型代码模型仍缺乏类似研究。大型代码模型在推理时需要 GPU 等专用硬件,这凸显了研究构建可部署在开发者桌面上的小型代码模型的必要性。本文通过专注于开发小型 Java 代码模型 NT-Java-1.1B 及其量化版本来弥补这一研究空白;这些模型在 MultiPL-E Java 代码基准测试上的表现可与约 1.1B 规模的开放模型相媲美,因此非常适合桌面部署。本文为跨语言、跨规模的 NT Models 模型家族中的专用模型奠定了基础。
英文摘要:
This paper presents NT-Java-1.1B, an open-source specialized code language model built on StarCoderBase-1.1B, designed for coding tasks in Java programming. NT-Java-1.1B achieves state-of-the-art performance, surpassing its base model and majority of other models of similar size on MultiPL-E Java code benchmark. While there have been studies on extending large, generic pre-trained models to improve proficiency in specific programming languages like Python, similar investigations on small code models for other programming languages are lacking. Large code models require specialized hardware like GPUs for inference, highlighting the need for research into building small code models that can be deployed on developer desktops. This paper addresses this research gap by focusing on the development of a small Java code model, NT-Java-1.1B, and its quantized versions, which performs comparably to open models around 1.1B on MultiPL-E Java code benchmarks, making them ideal for desktop deployment. This paper establishes the foundation for specialized models across languages and sizes for a family of NT Models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。