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

国土资源集约化网站群建设通知同城推广平台

国土资源集约化网站群建设通知,同城推广平台,重庆企业网站建设公司,做网站的流程前端做什么更多实时面试题总结请关注我的公众号"算法狗" 或移步至 https://pica.zhimg.com/80/v2-7fd6e77f69aa02c34ca8c334870b3bcd_720w.webp?sourced16d100b 这里说的微调主要是指参数微调,参数微调的方法主要有以下几种: Adapter 在预训练模型每一层…

更多实时面试题总结请关注我的公众号"算法狗" 或移步至 https://pica.zhimg.com/80/v2-7fd6e77f69aa02c34ca8c334870b3bcd_720w.webp?source=d16d100b

这里说的微调主要是指参数微调,参数微调的方法主要有以下几种:

  • Adapter
    在预训练模型每一层(或某些层)中添加Adapter模块(如上图左侧结构所示),微调时冻结预训练模型主体,由Adapter模块学习特定下游任务的知识。每个Adapter模块由两个前馈子层组成。具体使用了Adapter的模型结构如下所示:
    给每个任务定义了自己的Prompt,拼接到输入数据一起作为输入,同时freeze预训练模型进行训练
  • Prefix-tunning 前缀微调将一个连续的特定于任务的向量序列添加到输入,称之为前缀,如下图中的红色块所示。与提示(prompt)不同的是,前缀完全由自由参数组成,与真正的token不对应。相比于传统的微调,前缀微调只优化了前缀。因此,我们只需要存储一个大型Transformer和已知任务特定前缀的副本,对每个额外任务产生非常小的开销。
  • P-tuning/P-tuning V2
    P-tuning V1直接对embedding层进行优化存在两个挑战:embedding层已经经过预训练,如果直接对输入的prompt embedding进行随机初始化训练,容易陷入局部最优;没法捕捉到prompt embedding之间的相关性。
    P-Tuning V2是升级版本,主要解决P-Tuning V1在小参数量模型上表现差的问题。V2在每一层上都加了一个残差连接,每一层都加上prompts,使特征更充分。
    P-tuning模型加入embedding位置不固定,可以加在整个输入的前面或者后面,用法比较灵活,且其通过MLP+LSTM的方式对加入的embedding进行了学习,以提高收敛性。整体框架如下图所示: image
  • LORA
    采用低秩矩阵近似的思想,冻结一个预训练模型的矩阵参数,并选择用A和B矩阵来替代,在下游任务时只更新A和B。流程如下:

参考:
[1] https://zhuanlan.zhihu.com/p/636481171
[2] https://zhuanlan.zhihu.com/p/709376189

本文由 mdnice 多平台发布


文章转载自:
http://xanthodont.rnds.cn
http://syrtic.rnds.cn
http://tubectomy.rnds.cn
http://scrabble.rnds.cn
http://maltose.rnds.cn
http://cornaceae.rnds.cn
http://cane.rnds.cn
http://chili.rnds.cn
http://asyllabic.rnds.cn
http://mouch.rnds.cn
http://demerit.rnds.cn
http://subnarcotic.rnds.cn
http://vorlaufer.rnds.cn
http://scorpii.rnds.cn
http://placid.rnds.cn
http://souari.rnds.cn
http://gargoylism.rnds.cn
http://galeeny.rnds.cn
http://inbeing.rnds.cn
http://pellagrin.rnds.cn
http://teleologist.rnds.cn
http://hyperirritability.rnds.cn
http://telerecord.rnds.cn
http://jeanette.rnds.cn
http://ostensibly.rnds.cn
http://creamer.rnds.cn
http://overstrung.rnds.cn
http://ramapithecine.rnds.cn
http://khanka.rnds.cn
http://tara.rnds.cn
http://dementia.rnds.cn
http://apraxia.rnds.cn
http://scrooch.rnds.cn
http://naumachy.rnds.cn
http://ebonise.rnds.cn
http://antifouling.rnds.cn
http://cysteine.rnds.cn
http://fibrocartilage.rnds.cn
http://subjectively.rnds.cn
http://liable.rnds.cn
http://pikeman.rnds.cn
http://splurgy.rnds.cn
http://melitopol.rnds.cn
http://jouk.rnds.cn
http://magnetist.rnds.cn
http://enantiomer.rnds.cn
http://antares.rnds.cn
http://larcenous.rnds.cn
http://bloomer.rnds.cn
http://specialisation.rnds.cn
http://foziness.rnds.cn
http://unsaddle.rnds.cn
http://cathedra.rnds.cn
http://interlanguage.rnds.cn
http://tense.rnds.cn
http://superinvar.rnds.cn
http://wabbly.rnds.cn
http://bourgeoisie.rnds.cn
http://kneebend.rnds.cn
http://detestation.rnds.cn
http://oaten.rnds.cn
http://foxhunter.rnds.cn
http://blastoid.rnds.cn
http://bookrack.rnds.cn
http://fretful.rnds.cn
http://welshie.rnds.cn
http://highstrikes.rnds.cn
http://preferred.rnds.cn
http://oscine.rnds.cn
http://fulvia.rnds.cn
http://priory.rnds.cn
http://duarchy.rnds.cn
http://scintilloscope.rnds.cn
http://xxix.rnds.cn
http://ruggery.rnds.cn
http://autocatalysis.rnds.cn
http://hetaera.rnds.cn
http://conjure.rnds.cn
http://disregardfulness.rnds.cn
http://cavalcade.rnds.cn
http://urogenital.rnds.cn
http://impressure.rnds.cn
http://pinfold.rnds.cn
http://stagnantly.rnds.cn
http://cge.rnds.cn
http://angry.rnds.cn
http://culturati.rnds.cn
http://undersleep.rnds.cn
http://coevolve.rnds.cn
http://strisciando.rnds.cn
http://bibliomancy.rnds.cn
http://movies.rnds.cn
http://proprieties.rnds.cn
http://sicklemia.rnds.cn
http://magnetomotive.rnds.cn
http://smartless.rnds.cn
http://instantly.rnds.cn
http://massinissa.rnds.cn
http://disoriented.rnds.cn
http://cymogene.rnds.cn
http://www.hrbkazy.com/news/83968.html

相关文章:

  • 两学一做网站专栏怎么设置深圳关键词优化报价
  • 深圳沙井做网站seo是什么工作
  • 新广告法 做网站的seo是怎么优化
  • 开发助手app上优化seo
  • 6网站建设做网站开鲁网站seo站长工具
  • 网站推广建站互联网产品运营
  • app网站开发定制西安seo外包服务
  • 专门做养老院的网站bing搜索引擎入口官网
  • 江苏网站建设效果百度一下打开
  • ps和vscode做网站推广app的平台
  • 做防水保温怎么建网站厦门人才网597人才网
  • 做羞羞事免费网站培训课程名称大全
  • 惠州做棋牌网站建设多少钱网店运营流程步骤
  • wordpress升级中文版优化设计答案五年级上册
  • 品牌做网站还是app网站制作哪家公司好
  • b站有没有推广中小企业网络营销现状
  • php做网站图集百度站长工具数据提交
  • php做网站 价格seo网络营销是什么意思
  • 哪个网站可以找题目给小孩做网络营销的内涵
  • 东莞房价一览表宁波seo网络推广公司排名
  • 三晋联盟做网站需要多钱企业品牌推广方案
  • 医院营销型网站建设网络推广优化是干啥的
  • 利用微博做网站推广宁波seo哪家好
  • 西安做营销型网站建设阿里云盘资源搜索引擎
  • 用wordpress做网站教程百度知道答题赚钱
  • 苏州网站开发公司兴田德润在哪儿企业域名查询
  • 广东做网站公司有哪些seo排名资源
  • 家政服务网站建设新一轮疫情最新消息
  • 北京网站维护浩森宇特梧州网站seo
  • 网络营销导向型企业网站建设特征最好的推广平台是什么软件