克服代码助手中的语言障碍:创建 QLoRA 适配器以改进对俄语代码编写说明的支持

C. B. Pronin, A. V. Volosova, A. V. Ostroukh, Yu. N. Strogov
{"title":"克服代码助手中的语言障碍:创建 QLoRA 适配器以改进对俄语代码编写说明的支持","authors":"C. B. Pronin, A. V. Volosova, A. V. Ostroukh, Yu. N. Strogov","doi":"arxiv-2409.09353","DOIUrl":null,"url":null,"abstract":"In this paper, an approach to training and evaluating an adapter model for\nthe popular language model \"zephyr-7b-beta\" is described. The adapter was\ndeveloped to improve the performance of the base model in tasks related to\nprogramming and understanding the Russian language. Considering the high\nquality of the original model in tasks in the English language, the goal of the\nresearch was to expand its linguistic and technical spectrum. The proposed\nadapter was trained using a large and diverse dataset, including\nquestion-answer pairs related to programming, as well code-related texts in\nRussian language. The applied training methodology ensures an improvement in\nthe model's quality of answers in understanding and generating Python code\nbased on Russian instructions. We evaluated the performance of the base model\nwith the installed adapter using various metrics, comparing it to the base\nmodel as well as other state-of-the-art models in this field. The obtained\nresults showed significant improvement, both in tasks related to writing Python\ncode and in processing the Russian language, confirming the effectiveness of\nthe proposed adapter.","PeriodicalId":501278,"journal":{"name":"arXiv - CS - Software Engineering","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-09-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Overcoming linguistic barriers in code assistants: creating a QLoRA adapter to improve support for Russian-language code writing instructions\",\"authors\":\"C. B. Pronin, A. V. Volosova, A. V. Ostroukh, Yu. N. Strogov\",\"doi\":\"arxiv-2409.09353\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this paper, an approach to training and evaluating an adapter model for\\nthe popular language model \\\"zephyr-7b-beta\\\" is described. The adapter was\\ndeveloped to improve the performance of the base model in tasks related to\\nprogramming and understanding the Russian language. Considering the high\\nquality of the original model in tasks in the English language, the goal of the\\nresearch was to expand its linguistic and technical spectrum. The proposed\\nadapter was trained using a large and diverse dataset, including\\nquestion-answer pairs related to programming, as well code-related texts in\\nRussian language. The applied training methodology ensures an improvement in\\nthe model's quality of answers in understanding and generating Python code\\nbased on Russian instructions. We evaluated the performance of the base model\\nwith the installed adapter using various metrics, comparing it to the base\\nmodel as well as other state-of-the-art models in this field. The obtained\\nresults showed significant improvement, both in tasks related to writing Python\\ncode and in processing the Russian language, confirming the effectiveness of\\nthe proposed adapter.\",\"PeriodicalId\":501278,\"journal\":{\"name\":\"arXiv - CS - Software Engineering\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-09-14\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Software Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2409.09353\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Software Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.09353","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

本文介绍了一种训练和评估流行语言模型 "zephyr-7b-beta "的适配器模型的方法。开发该适配器的目的是为了提高基础模型在编程和理解俄语相关任务中的性能。考虑到原始模型在英语任务中的高质量,研究的目标是扩大其语言和技术范围。所提出的适配器使用了大量不同的数据集进行训练,其中包括与编程相关的问答对,以及与代码相关的俄语文本。所采用的训练方法确保了该模型在理解和生成基于俄语指令的 Python 代码时的答案质量的提高。我们使用各种指标评估了基础模型和已安装适配器的性能,并将其与基础模型以及该领域其他最先进的模型进行了比较。结果表明,在编写 Python 代码和处理俄语的相关任务方面都有显著提高,这证明了所提议的适配器的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Overcoming linguistic barriers in code assistants: creating a QLoRA adapter to improve support for Russian-language code writing instructions
In this paper, an approach to training and evaluating an adapter model for the popular language model "zephyr-7b-beta" is described. The adapter was developed to improve the performance of the base model in tasks related to programming and understanding the Russian language. Considering the high quality of the original model in tasks in the English language, the goal of the research was to expand its linguistic and technical spectrum. The proposed adapter was trained using a large and diverse dataset, including question-answer pairs related to programming, as well code-related texts in Russian language. The applied training methodology ensures an improvement in the model's quality of answers in understanding and generating Python code based on Russian instructions. We evaluated the performance of the base model with the installed adapter using various metrics, comparing it to the base model as well as other state-of-the-art models in this field. The obtained results showed significant improvement, both in tasks related to writing Python code and in processing the Russian language, confirming the effectiveness of the proposed adapter.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Promise and Peril of Collaborative Code Generation Models: Balancing Effectiveness and Memorization Shannon Entropy is better Feature than Category and Sentiment in User Feedback Processing Motivations, Challenges, Best Practices, and Benefits for Bots and Conversational Agents in Software Engineering: A Multivocal Literature Review A Taxonomy of Self-Admitted Technical Debt in Deep Learning Systems Investigating team maturity in an agile automotive reorganization
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1