arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.13222cs.CL
收藏

RoCode:一个用于从罗马尼亚语问题定义衡量代码智能的数据集

RoCode: A Dataset for Measuring Code Intelligence from Problem Definitions in Romanian

University POLITEHNICA of Bucharest(布加勒斯特理工大学);University of Bucharest, HTL Research Center(布加勒斯特大学HTL研究中心);PRHLT Research Center, Universitat Politècnica de València(瓦伦西亚理工大学PRHLT研究中心);ValgrAI - Valencian Graduate School and Research Network of Artificial Intelligence(ValgrAI - 瓦伦西亚人工智能研究生院与研究网络)

Adrian Cosma, Bogdan Iordache, Paolo Rosso

AI总结:

本文提出RoCode竞赛编程数据集,包含2642道罗马尼亚语题目及多语言解答,用于评估非英语代码智能并推动多语言代码模型发展。

摘要:

近年来,大语言模型(LLMs)变得越来越强大,并已能够通过恰当的自然语言指令解决大量任务。然而,绝大多数测试套件都假设指令是用事实上的提示语言——英语编写的。即使对于最先进的LLMs而言,代码智能和问题求解仍然是一项困难的任务。目前,没有任何数据集能够衡量代码生成模型在英语以外的语言上的泛化能力。在这项工作中,我们提出了RoCode,一个竞赛编程数据集,包含2,642道用罗马尼亚语编写的问题、11k个用C、C++和Python编写的解答,以及针对每道题的全面测试套件。RoCode的目的是提供一个基准,用于评估在罗马尼亚语/多语言文本上训练的语言模型的代码智能,同时也可作为预训练罗马尼亚语模型的微调集。通过我们的结果和对相关工作的回顾,我们论证了为英语以外的语言开发代码模型的必要性。

英文摘要:

Recently, large language models (LLMs) have become increasingly powerful and have become capable of solving a plethora of tasks through proper instructions in natural language. However, the vast majority of testing suites assume that the instructions are written in English, the de facto prompting language. Code intelligence and problem solving still remain a difficult task, even for the most advanced LLMs. Currently, there are no datasets to measure the generalization power for code-generation models in a language other than English. In this work, we present RoCode, a competitive programming dataset, consisting of 2,642 problems written in Romanian, 11k solutions in C, C++ and Python and comprehensive testing suites for each problem. The purpose of RoCode is to provide a benchmark for evaluating the code intelligence of language models trained on Romanian / multilingual text as well as a fine-tuning set for pretrained Romanian models. Through our results and review of related works, we argue for the need to develop code models for languages other than English.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑