Aligning a medium-size GPT model in English to a small closed domain in Spanish using reinforcement learning

Oscar R. Navarrete-Parra, Víctor Uc Cetina, Jorge Reyes-Magaña
{"title":"Aligning a medium-size GPT model in English to a small closed domain in Spanish using reinforcement learning","authors":"Oscar R. Navarrete-Parra, Víctor Uc Cetina, Jorge Reyes-Magaña","doi":"10.48550/arXiv.2303.17649","DOIUrl":null,"url":null,"abstract":"In this paper, we propose a methodology to align a medium-sized GPT model, originally trained in English for an open domain, to a small closed domain in Spanish. The application for which the model is finely tuned is the question answering task. To achieve this we also needed to train and implement another neural network (which we called the reward model) that could score and determine whether an answer is appropriate for a given question. This component served to improve the decoding and generation of the answers of the system. Numerical metrics such as BLEU and perplexity were used to evaluate the model, and human judgment was also used to compare the decoding technique with others. Finally, the results favored the proposed method, and it was determined that it is feasible to use a reward model to align the generation of responses.","PeriodicalId":258781,"journal":{"name":"Proces. del Leng. Natural","volume":"7 Suppl 1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proces. del Leng. Natural","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2303.17649","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In this paper, we propose a methodology to align a medium-sized GPT model, originally trained in English for an open domain, to a small closed domain in Spanish. The application for which the model is finely tuned is the question answering task. To achieve this we also needed to train and implement another neural network (which we called the reward model) that could score and determine whether an answer is appropriate for a given question. This component served to improve the decoding and generation of the answers of the system. Numerical metrics such as BLEU and perplexity were used to evaluate the model, and human judgment was also used to compare the decoding technique with others. Finally, the results favored the proposed method, and it was determined that it is feasible to use a reward model to align the generation of responses.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用强化学习将英语的中型GPT模型与西班牙语的小型封闭域对齐
在本文中,我们提出了一种方法,将一个中型的GPT模型(最初用英语训练用于开放领域)与一个小型的西班牙语封闭领域对齐。对模型进行精细调优的应用程序是问答任务。为了实现这一点,我们还需要训练和实现另一个神经网络(我们称之为奖励模型),它可以评分并确定答案是否适合给定的问题。该组件用于改进系统的解码和生成答案。采用BLEU和perplexity等数值指标对模型进行评价,并采用人的判断与其他解码技术进行比较。最后,结果支持所提出的方法,并确定使用奖励模型来调整响应的生成是可行的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Multilingual Controllable Transformer-Based Lexical Simplification Deep Learning Methods for Extracting Metaphorical Names of Flowers and Plants Aligning a medium-size GPT model in English to a small closed domain in Spanish using reinforcement learning Número 61 Lessons learned from the evaluation of Spanish Language Models
×
引用
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