SantaCoder:不要伸手去摘星星!
SantaCoder: don't reach for the stars!
摘要:
BigCode项目是一个开放的科学合作项目,致力于负责任地开发代码的大语言模型。本技术报告描述了截至2022年12月的合作进展,概述了个人身份信息(PII)编辑管道的当前状态,为降低模型架构风险而进行的实验,以及为训练数据研究更好的预处理方法的实验。我们在The Stack的Java、JavaScript和Python子集上训练1.1B参数模型,并在MultiPL-E文本到代码基准测试中对其进行评估。我们发现,更积极地过滤近似重复可以进一步提高性能,令人惊讶的是,从GitHub 5星以上的存储库中选择文件会显着降低性能。我们的最佳模型在MultiPL-E的Java、JavaScript和Python部分的从左到右生成和填充方面都优于以前的开源多语言代码生成模型(InCoder-6.7 B和CodeGen-Multi-2.7 B),尽管它是一个小得多的模型。所有模型都在https://hf.co/bigcode的OpenRAIL许可下发布。
英文摘要:
The BigCode project is an open-scientific collaboration working on the responsible development of large language models for code. This tech report describes the progress of the collaboration until December 2022, outlining the current state of the Personally Identifiable Information (PII) redaction pipeline, the experiments conducted to de-risk the model architecture, and the experiments investigating better preprocessing methods for the training data. We train 1.1B parameter models on the Java, JavaScript, and Python subsets of The Stack and evaluate them on the MultiPL-E text-to-code benchmark. We find that more aggressive filtering of near-duplicates can further boost performance and, surprisingly, that selecting files from repositories with 5+ GitHub stars deteriorates performance significantly. Our best model outperforms previous open-source multilingual code generation models (InCoder-6.7B and CodeGen-Multi-2.7B) in both left-to-right generation and infilling on the Java, JavaScript, and Python portions of MultiPL-E, despite being a substantially smaller model. All models are released under an OpenRAIL license at https://hf.co/bigcode.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。