[AI医学] 领域指令微调样本生成框架OpenGPT与医疗健康大模型NHS-LLM

关键词:AI医疗,医学大模型,样本数据生成,OpenGPT, chatGPT, NHS, NHS-LLM

OpenGPT:基于领域知识生成指令微调样本框架

用于创建基于领域数据的指令微调样本,并在底座大模型上进行指令微调的一个开源框架。使用该框架,作者对医疗健康数据NHS生成指令微调样本,并在LLaMA的基础上进行微调训练,得到医疗健康大模型NHS-LLM。

指令微调样本的生成思路有别于standford-alpaca,相比于直接使用chatGPT的生成结果,引入领域数据作为chatGPT生成数据的参考,在一定程度能够约束生成结果的有效性,避免有偏或不恰当的生成结果。使用该框架还可用于在其他领域的非结构化数据上生成指令样本,这种样本数据的生成方式值得借鉴。

项目地址https://github.com/CogStack/opengpt

1. 样本数据描述及格式

  • NHS UK Q/A:24665对,基于NHS网站数据在OpenGPT框架下使用ChatGPT生成
text,raw_data_id
"<|user|> What is high blood pressure? <|eos|> <|ai|> High blood pressure is a condition where the force at which your heart pumps blood around your body is high. It is recorded with 2 numbers, the systolic pressure and the diastolic pressure, both measured in millimetres of mercury (mmHg).
References:
- https://www.nhs.uk/conditions/Blood-pressure-(high)/Pages/Introduction.aspx <|eos|> <|eod|>",0
  • NHS UK对话:2354条会话,基于NHS网站数据在OpenGPT框架下使用ChatGPT生成
text,raw_data_id
"<|user|> Hi, I am a bit worried about my blood pressure. How can I tell if I have high blood pressure? <|eos|> <|ai|> The only way to determine if you have high blood pressure is to have your blood pressure checked. All adults over 40 are recommended to have their blood pressure checked at least every 5 years. You can get your blood pressure checked at your GP surgery, some pharmacies, as part of your NHS Health Check or in some workplaces. You can also check your blood pressure yourself with a home blood pressure monitor.
References:
- https://www.nhs.uk/conditions/Blood-pressure-(high)/Pages/Introduction.aspx <|eos|>
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值