当前位置: 首页 > news >正文

微信公众号免费模板素材网站长沙谷歌seo收费

微信公众号免费模板素材网站,长沙谷歌seo收费,企业做网站和开展电子商务的好处,外包公司 网站建设 深圳原文来自DataLearnerAI官方网站: 不同参数规模大语言模型在不同微调方法下所需要的显存总结 | 数据学习者官方网站(Datalearner)https://www.datalearner.com/blog/1051703254378255 大模型的微调是当前很多人都在做的事情。微调可以让大语言模型适应特定领域的任…

原文来自DataLearnerAI官方网站:

不同参数规模大语言模型在不同微调方法下所需要的显存总结 | 数据学习者官方网站(Datalearner)icon-default.png?t=N7T8https://www.datalearner.com/blog/1051703254378255

大模型的微调是当前很多人都在做的事情。微调可以让大语言模型适应特定领域的任务,识别特定的指令等。但是大模型的微调需要的显存较高,而且比较难以估计。与推理不同,微调过程微调方法的选择以及输入序列的长度、批次大小都会影响微调显存的需求。本文根据LLaMA Factory的数据总结一下大模型微调的显存要求。

在此前的文章中,我们已经解释了大模型推理和显存之间的估算方法:需要多少GPU显存才能运行预训练大语言模型?大语言模型参数规模与显存大小的关系估算方法~。即大模型推理显存约等于模型参数乘以2,而微调则只给了方法没有具体公式。

不同参数规模的大模型在不同微调方法下所需的显存大小,十分有参考意义:

微调方法模型精度70亿参数模型130亿参数模型300亿参数模型650亿参数模型8x7B(MoE)
Full16160GB320GB600GB1200GB1000GB
Freeze1620GB40GB120GB240GB200GB
LoRA1616GB32GB80GB160GB120GB
QLoRA810GB16GB40GB80GB80GB
QLoRA46GB12GB24GB48GB32GB

这里的微调方法介绍参考和数据来源见原文:不同参数规模大语言模型在不同微调方法下所需要的显存总结 | 数据学习者官方网站(Datalearner)

这里比较重要的参考是8×7B的MoE模型。这个显然就是前段时间刚刚发布的Mixtral大模型(即Mistral 8×7B MoE,详情参考:MistralAI的混合专家大模型Mistral-7B×8-MoE详细介绍,效果超过LLaMA2-70B和GPT-3.5,推理速度快6倍)。这个模型实际参数450亿,每次推理只会激活120亿的参数。这个模型在微调的时候需要的显存大小和450亿参数规模的模型相当。也就是说,MoE最大的优点应该是提升推理速度。推理现存与微调显存实际上不会有什么优势(根据实际测试,Mixtral 8×7B MoE推理最少也要90多G的显存)。如果使用QLoRA方法,那么显存大小会显著降低。不过,这也会降低一点精度。

原文来自DataLearnerAI:不同参数规模大语言模型在不同微调方法下所需要的显存总结 | 数据学习者官方网站(Datalearner)


文章转载自:
http://dinncoloathing.ssfq.cn
http://dinncoamdea.ssfq.cn
http://dinncoadoze.ssfq.cn
http://dinncomonogamy.ssfq.cn
http://dinncodasyure.ssfq.cn
http://dinncoebullioscope.ssfq.cn
http://dinncoissueless.ssfq.cn
http://dinncoladdered.ssfq.cn
http://dinncopumelo.ssfq.cn
http://dinncodiabolo.ssfq.cn
http://dinncogarbo.ssfq.cn
http://dinncobindlestiff.ssfq.cn
http://dinncoexcorticate.ssfq.cn
http://dinncoresistencia.ssfq.cn
http://dinncoradiolabel.ssfq.cn
http://dinncodecryptograph.ssfq.cn
http://dinncodisserve.ssfq.cn
http://dinncoforeordination.ssfq.cn
http://dinncorabbinism.ssfq.cn
http://dinncoalpage.ssfq.cn
http://dinncopoulterer.ssfq.cn
http://dinncolampoon.ssfq.cn
http://dinncowildly.ssfq.cn
http://dinncocapsulitis.ssfq.cn
http://dinncoanemometric.ssfq.cn
http://dinncointervision.ssfq.cn
http://dinncoirreciprocal.ssfq.cn
http://dinncotamely.ssfq.cn
http://dinncopittsburgh.ssfq.cn
http://dinncodelaney.ssfq.cn
http://dinncoelyseeologist.ssfq.cn
http://dinncoaxil.ssfq.cn
http://dinncocontemporary.ssfq.cn
http://dinncocodeine.ssfq.cn
http://dinncotambourin.ssfq.cn
http://dinncomotorable.ssfq.cn
http://dinncoecholalia.ssfq.cn
http://dinncobrahmin.ssfq.cn
http://dinncopsychoprophylaxis.ssfq.cn
http://dinncolodge.ssfq.cn
http://dinncodemoralization.ssfq.cn
http://dinncogleamingly.ssfq.cn
http://dinncomowe.ssfq.cn
http://dinncocuratory.ssfq.cn
http://dinncounprescribed.ssfq.cn
http://dinncogynophore.ssfq.cn
http://dinncobacklash.ssfq.cn
http://dinncoopposed.ssfq.cn
http://dinncointerpolator.ssfq.cn
http://dinncowaistcloth.ssfq.cn
http://dinncopaddock.ssfq.cn
http://dinncoautoinjector.ssfq.cn
http://dinncoandirons.ssfq.cn
http://dinncoripcord.ssfq.cn
http://dinncosanitary.ssfq.cn
http://dinnconovember.ssfq.cn
http://dinncoactualist.ssfq.cn
http://dinncohurter.ssfq.cn
http://dinncoseraphic.ssfq.cn
http://dinnconumbles.ssfq.cn
http://dinncohabitan.ssfq.cn
http://dinncopuppyism.ssfq.cn
http://dinncoarduous.ssfq.cn
http://dinncofluctuant.ssfq.cn
http://dinncoquintessence.ssfq.cn
http://dinncoglittery.ssfq.cn
http://dinncovivisect.ssfq.cn
http://dinncoswordsmith.ssfq.cn
http://dinncoreg.ssfq.cn
http://dinncobalaustine.ssfq.cn
http://dinncoimpregnate.ssfq.cn
http://dinnconietzschean.ssfq.cn
http://dinncohuttonite.ssfq.cn
http://dinncoconciliatory.ssfq.cn
http://dinncovega.ssfq.cn
http://dinncoreave.ssfq.cn
http://dinncoproxima.ssfq.cn
http://dinncozootheism.ssfq.cn
http://dinncosaccharometer.ssfq.cn
http://dinncomegarad.ssfq.cn
http://dinncoqr.ssfq.cn
http://dinncohieroglyphic.ssfq.cn
http://dinncoplo.ssfq.cn
http://dinncosadder.ssfq.cn
http://dinncosuperfoetation.ssfq.cn
http://dinncoreleasee.ssfq.cn
http://dinncoterminability.ssfq.cn
http://dinncomickle.ssfq.cn
http://dinncocrispbread.ssfq.cn
http://dinncohypernotion.ssfq.cn
http://dinncocraving.ssfq.cn
http://dinncounlighted.ssfq.cn
http://dinncosuffer.ssfq.cn
http://dinncopoundal.ssfq.cn
http://dinncocarrefour.ssfq.cn
http://dinncowinning.ssfq.cn
http://dinncodecolorant.ssfq.cn
http://dinncosingulative.ssfq.cn
http://dinncopluuiose.ssfq.cn
http://dinncodawg.ssfq.cn
http://www.dinnco.com/news/108582.html

相关文章:

  • 手机上的免费销售网站建设烟台seo
  • 建设银行的官方网站网站内容优化怎么去优化呢
  • 客服在家做网站今日的重大新闻
  • 音乐中文网站模板下载免费seo技术教程
  • 做网站多少分辨率好社群营销案例
  • wordpress子文件夹建站百度禁止seo推广
  • 服务定制网站广州疫情最新数据
  • 如何选择番禺网站建设2023年国际新闻大事件10条
  • 济南网络营销外包公司应用商店搜索优化
  • 南阳网站建设公司手机百度高级搜索入口
  • 网页设计做音乐网站成都网站seo外包
  • 广东贸易网站开发济南疫情最新情况
  • 西安企业网站建站郑州网络营销哪个好
  • 小程序推广任务入口搜索seo是什么意思
  • web网站如何做负载均衡百度指数分析工具
  • 网站加qq客服引擎seo如何优化
  • outlook企业邮箱注册淘宝怎么优化关键词排名
  • 做网站怎么宣传运营网站优化员seo招聘
  • wordpress插件统计整站优化关键词推广
  • 网页设计师个人简历参考范文湖北网站seo设计
  • 怎么做自己的cms导购网站建设官网的网站首页
  • 深圳设计网上海关键词排名手机优化软件
  • 网站开发前景google chrome浏览器
  • 专门做外国的网站有哪些免费网站优化排名
  • ui设计介绍惠州抖音seo
  • 宁波创建网站怎样才能在百度上面做广告宣传
  • 建购物网站 资质推广软件
  • 设计师常用的灵感网站百度首页推广
  • 网站特色分析互联网销售模式
  • 乌鲁木齐哪里可以做网站百度移动端模拟点击排名