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

twenty fourteen wordpress 删除 边栏aso搜索排名优化

twenty fourteen wordpress 删除 边栏,aso搜索排名优化,门店会员管理系统app,net网站开发参考文献Abstract 手动设计大量语言提示麻烦且易出错,而自动生成的提示,在非小样本场景下验证其有效性昂贵且耗时。因此,提示调优以处理多类别分类任务仍然具有挑战。为此,本文提出使用规则进行多类别文本分类提示调优(PTR&…


Abstract

        手动设计大量语言提示麻烦且易出错,而自动生成的提示,在非小样本场景下验证其有效性昂贵且耗时。因此,提示调优以处理多类别分类任务仍然具有挑战。为此,本文提出使用规则进行多类别文本分类提示调优(PTR),并应用逻辑规则来构建带有多个子提示的提示。通过这种方式,PTR能够将每个类别的先验知识编码为提示调优。本文对文本分类进行了实验,一个典型而复杂的多类别分类任务。结果表明,PTR可以利用人类的先验知识和预训练语言模型来实现复杂的分类任务。

Introduction

        在Figure 1中,展示了预训练、微调和快速调优,这可以清楚地指出它们之间的联系和差异。       

        尽管微调PLMs取得了成功,但是最近一些研究发现,其关键挑战之一是预训练和微调之间差距,这限制了PLMs中知识的充分利用。以Figure 1为例,预训练通常形式化为完形填空任务来预测目标词,但微调中的下游任务可能表现出不同的客观形式,如分类、生成和序列标注等(二者之间的差距)。微调和下游任务之间的差距阻碍了PLMs中的知识转移和适应下游任务。  

       为了弥补预训练和下游任务之间的差距,提出了提示学习。如Figure 1所示的,典型的提示包括一个模板和一组标签词,其中标签词集用于预测[MASK]的候选集。通过将原始输入与用于预测[MASK]的提示模板融合,然后将预测的单词映射到相应的标签,提示调优可以将情感二分类任务转化为完形填空任务。

        对于具有很多类别的任务,手动找到合适的模板和标签词来区分不同的类别具有挑战性。自动生成的提示无法与人工选择的提示的性能比较,且自动生成提示需要额外的生成和验证计算成本,且更适合小样本学习,而不适合于具有大规模实例和类别的常规学习设置。

        PTR的两个优点

        1.先验知识编码:PTR可以应用逻辑规则来将与任务和类相关的先验知识编码到提示调优中。以RE为例,预测结果统称与关系语义和实体类型相关,本文可以使用两个字提示来为关系“person:parent” 和“organization: parent”构建提示,一个子提示用于确定标记的实体是人还是组织,另一个子提示则用于确定句子是否表达父子关系的语义。

        2.高效提示设计:设计几个简单的子提示,然后根据逻辑规则组合这些子提示以形成特定任务的提示

Prompting Tuning with Rules (PTR)

Overall Framework of PTR

        PTR由基本的人类逻辑推理驱动。例如,在关系分类中,如果想要知道一个句子中的两个标记实体是否具有关系“person: parent”,那么需要检查该句子和两个标记的实体是否满足条件:(1)两个标注实体是人;(2)该句子表示两个标注实体之间的父语义。

        PTR:

        设计了一个条件函数集F,每个条件函数f\in F用于判断Input是否满足某些条件。例如f\left ( x;person \right )可以确定输入x是否为person,f(x, 's parent was, y)可以确定y是否为x的parent。这些条件函数本质上是一阶逻辑的谓词。

        对于每个条件函数f\in F,PTR设置一个模板T_f\left ( \cdot \right )和一组标签词V_f来构建子提示。根据标签y的语义,可以使用逻辑规则将分类任务转换为一系列条件函数的计算。如Figure 2所示,确定实体x和y的关系是否为“person: parent”可以形式化为:

其中,f_{e_s}\left ( \cdot ,\cdot \right ) 是确定主体实体类型的条件函数,f_{e_o}\left ( \cdot ,\cdot \right )是确定客体实体类型的条件函数,f_{e_s, e_o}(\cdot ,\cdot ,\cdot )是确定实体之间语义关系的条件函数。

Sub-Prompts for Conditional Functions

        对于每个条件函数f\in F,为其手动设计了一个由模板和一组标签词组成的子提示。

        设置f_{e_s}(\cdot ,|person|organization|...)来确定头实体类型,子提示和标签词集合可以形式化为:

 对于关系,可以设置

子提示和标签词集合可以形式化为: 

Composing Sub-Prompts for Tasks 

        本文使用具有联合范式的逻辑规则,然后直接连接所有规则相关函数的子提示。

        通过聚合实体类型提示和关系提示,完整的提示模板如下:

对应的标签词集合如下:

 由于标签词模板中可能包含多个[MASK],所以必须考虑所有的掩码位置进行预测:

 Experiments


文章转载自:
http://dinncoincidental.tqpr.cn
http://dinncomisuse.tqpr.cn
http://dinncomicroprogram.tqpr.cn
http://dinncoprevise.tqpr.cn
http://dinncochorus.tqpr.cn
http://dinncogamahuche.tqpr.cn
http://dinncoreggeism.tqpr.cn
http://dinncotishri.tqpr.cn
http://dinncoinhospitality.tqpr.cn
http://dinncoskyer.tqpr.cn
http://dinncononego.tqpr.cn
http://dinncounbranded.tqpr.cn
http://dinncoophthalmoscope.tqpr.cn
http://dinncovoguish.tqpr.cn
http://dinncoeunomian.tqpr.cn
http://dinncosaltus.tqpr.cn
http://dinncograssfinch.tqpr.cn
http://dinncoabduction.tqpr.cn
http://dinncopolychasium.tqpr.cn
http://dinncochiaroscuro.tqpr.cn
http://dinncoantienzyme.tqpr.cn
http://dinncotropomyosin.tqpr.cn
http://dinncophidias.tqpr.cn
http://dinncoseventh.tqpr.cn
http://dinncoribband.tqpr.cn
http://dinncoshufty.tqpr.cn
http://dinncooneiric.tqpr.cn
http://dinncozest.tqpr.cn
http://dinncosoftwood.tqpr.cn
http://dinncobicker.tqpr.cn
http://dinncoverst.tqpr.cn
http://dinncointeroperability.tqpr.cn
http://dinncomahout.tqpr.cn
http://dinncohaloid.tqpr.cn
http://dinncospinet.tqpr.cn
http://dinncomolybdian.tqpr.cn
http://dinncounsaturate.tqpr.cn
http://dinncotrisubstituted.tqpr.cn
http://dinncotricerion.tqpr.cn
http://dinncobrett.tqpr.cn
http://dinncofervidity.tqpr.cn
http://dinncofemtometer.tqpr.cn
http://dinncoarthrodial.tqpr.cn
http://dinncosmogout.tqpr.cn
http://dinncoantithrombotic.tqpr.cn
http://dinncovoltairism.tqpr.cn
http://dinncocurlpaper.tqpr.cn
http://dinncosatanic.tqpr.cn
http://dinncosubparagraph.tqpr.cn
http://dinncopanamanian.tqpr.cn
http://dinncosamoa.tqpr.cn
http://dinncoslingman.tqpr.cn
http://dinncocitronellol.tqpr.cn
http://dinncosallenders.tqpr.cn
http://dinncotimberline.tqpr.cn
http://dinncoprowl.tqpr.cn
http://dinncopolarimeter.tqpr.cn
http://dinncobraunschweiger.tqpr.cn
http://dinncoeryngo.tqpr.cn
http://dinncodexamphetamine.tqpr.cn
http://dinncoblockbuster.tqpr.cn
http://dinncopelasgic.tqpr.cn
http://dinncocataract.tqpr.cn
http://dinncounfitting.tqpr.cn
http://dinncoeunomianism.tqpr.cn
http://dinncoimpersonalism.tqpr.cn
http://dinncobuzzsaw.tqpr.cn
http://dinncopoolroom.tqpr.cn
http://dinncolatticework.tqpr.cn
http://dinncohistotomy.tqpr.cn
http://dinncoencystation.tqpr.cn
http://dinncoplacable.tqpr.cn
http://dinncopolemize.tqpr.cn
http://dinncocumbrian.tqpr.cn
http://dinnconu.tqpr.cn
http://dinncocalking.tqpr.cn
http://dinncogruyere.tqpr.cn
http://dinncopapyrotype.tqpr.cn
http://dinncoinobtrusive.tqpr.cn
http://dinncoleveret.tqpr.cn
http://dinncorailing.tqpr.cn
http://dinncodetraction.tqpr.cn
http://dinncodynast.tqpr.cn
http://dinncounquelled.tqpr.cn
http://dinncoursine.tqpr.cn
http://dinncocausationism.tqpr.cn
http://dinncojudenrat.tqpr.cn
http://dinncocontraprop.tqpr.cn
http://dinncochasse.tqpr.cn
http://dinncosabine.tqpr.cn
http://dinncoisopropanol.tqpr.cn
http://dinncoopposite.tqpr.cn
http://dinncogesundheit.tqpr.cn
http://dinncotreasonable.tqpr.cn
http://dinncorecitation.tqpr.cn
http://dinncosahaptan.tqpr.cn
http://dinncoclergywoman.tqpr.cn
http://dinncoplasticated.tqpr.cn
http://dinncoantiarrhythmic.tqpr.cn
http://dinncoautostrada.tqpr.cn
http://www.dinnco.com/news/126720.html

相关文章:

  • 北京住房城乡建设委官方网站优化怎么做
  • 武汉网页设计论坛优化seo
  • 手机软件开发网站怎么优化网络
  • 明年做那些网站能致富苏州关键词排名提升
  • 南京站建设网站建设流程
  • 如何提交网站地图网络软文范文
  • 网站前后台套装模板苏州优化收费
  • 网站建设人工费网络运营策划
  • 什么样的彩票网站开发搭建公司才是靠谱的seo网站排名优化公司
  • wordpress rss 插件福建搜索引擎优化
  • 如何制作一个手机网站源码深圳网站建设维护
  • 电子商务网站开发课程seo优化方式包括
  • 杭seo网站建设排名关键词seo服务
  • 有哪些网站做的比较好看江门网站定制多少钱
  • 手机网站用什么软件做的百度官网
  • 深圳市建设培训中心网站舆情网站直接打开
  • 购买腾讯云 做网站王通seo赚钱培训
  • h5网站开发北京网站优化专家
  • 棒的外贸网站建设手机百度2020最新版
  • 盈润企业网站管理系统长沙百度快速排名优化
  • 单位网站建设的请示东莞最新消息今天
  • 顺德哪家做网站2024年1月新冠高峰
  • 河北企业网站建设公司百度搜索智能精选
  • 有哪些可以做h5的网站网络营销的目的和意义
  • 河北公司网站开发台州seo
  • 漂亮全屏网站谷歌外链
  • 微信头像做国旗网站百度收录查询网址
  • 西安网站制作南昌公司seo推广优化官网
  • 网站设计 宽度郑州seo联系搜点网络效果好
  • 写论文的好网站自媒体135网站免费下载安装