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

可以做游戏的网站有哪些方面舆情监控系统

可以做游戏的网站有哪些方面,舆情监控系统,新1站网站建设,酒店网站制作公司为什么需要位置表示 对比CNN、RNN和Self-Attention: CNN处理相邻窗口的内容;RNN天然是序列操作,考虑了位置先后关系;Self-Attention的计算时是无序的,所以需要位置表示来知道Token之间的位置信息。 绝对位置表示 典型如&#xf…

为什么需要位置表示

对比CNN、RNN和Self-Attention:

CNN处理相邻窗口的内容;RNN天然是序列操作,考虑了位置先后关系;Self-Attention的计算时是无序的,所以需要位置表示来知道Token之间的位置信息。

绝对位置表示

典型如:Bert/Roberta/GPT2的位置表示,将位置如 0~512 像词一样做embedding,需要训练position向量矩阵

不同模型训练出来的位置表示之间的相似性,对角线是1

优势:简单

劣势:无法处理超出长度的句子,必须截断

相对位置表示

位置n的旋转位置编码(RoPE),本质上就是数字n的β进制编码!- 苏剑林

为什么需要进制编码?我们先看进制编码的格式:

我们再回到RoPE的公式:pos是位置,i是表示向量的维度

令 \beta=10000^2,那么RoPE就是下面这种表示,也就是完整的进制编码表示:

我们再看下位置表示的可视化,发现当表示向量的维度上升,曲线更加稠密;

为什么要用周期进制表示:

  1. 进制在表示相对位置时和绝对位置表示是一样的效果,如「我们知道10的相邻数据是9和11」

  2. 周期进制表示方式,更加的稠密;就像10/16进制一样,进制越高,表示信息越大

  3. 周期进制可以做推理:假设我们已经学习过0~200的表示,那么对于200~299,直接就知道他们的位置和关系;甚至于200~999也是可以直接知道含义的

如何扩展位置表示

直接外推

如果我们学习过position 在0~200之间的表示,那么对于200~299的长度,可以直接扩展,甚至 200~999的位置表示,也可以直接外推。但是如果是1000~以上的范围,那么效果就不好了,因为千位的维度没有训练过。

优点是:在预留的维度上,是可以直接外推,不需要训练的;

缺点:超出范围的,性能下降极大

线性内插

如果我们学习过position 在0~200之间的表示,我们需要表示更长,一种是我们每隔0.5就做一个表示,这样表示能力扩展到 0~400了,这样还是保持学习范围之内,但是问题是表示更加拥挤,当处理范围进一步增大时,相邻差异则更小,这样位置表示的作用就减弱了。

优点是:原则上可以无限内插下去

缺点:差异小了,PE的效果降低

Neural Tangent Kernel—NTK-aware

内插 + 外插叠加:在低位的时候,基本和原来一致,不影响原始表示,这个就是外插;在高位的时候,往里面内插,虽然信息降低,但是也可以表示


文章转载自:
http://dinncoextrauterine.tqpr.cn
http://dinncodeparted.tqpr.cn
http://dinncoexcentral.tqpr.cn
http://dinncomeshuga.tqpr.cn
http://dinncokundalini.tqpr.cn
http://dinncolocator.tqpr.cn
http://dinncothermoelectron.tqpr.cn
http://dinncohilarity.tqpr.cn
http://dinncoresorcinolphthalein.tqpr.cn
http://dinncosomniloquism.tqpr.cn
http://dinncolumbersome.tqpr.cn
http://dinncoheated.tqpr.cn
http://dinncoblessed.tqpr.cn
http://dinncobatata.tqpr.cn
http://dinncolassie.tqpr.cn
http://dinncorobur.tqpr.cn
http://dinncocircumnavigation.tqpr.cn
http://dinncobackache.tqpr.cn
http://dinncothanatopsis.tqpr.cn
http://dinncovallation.tqpr.cn
http://dinncohopi.tqpr.cn
http://dinncorerelease.tqpr.cn
http://dinncoeurailpass.tqpr.cn
http://dinnconaumachia.tqpr.cn
http://dinncolily.tqpr.cn
http://dinncoafrikaans.tqpr.cn
http://dinncoeyewater.tqpr.cn
http://dinncoblazon.tqpr.cn
http://dinncofishhook.tqpr.cn
http://dinncononbusiness.tqpr.cn
http://dinncorelating.tqpr.cn
http://dinncorilievi.tqpr.cn
http://dinncosociologist.tqpr.cn
http://dinncobumpety.tqpr.cn
http://dinncoexult.tqpr.cn
http://dinncolimber.tqpr.cn
http://dinncoseptal.tqpr.cn
http://dinncoobjectivity.tqpr.cn
http://dinncoextensibility.tqpr.cn
http://dinncopalmoil.tqpr.cn
http://dinncoprejudicial.tqpr.cn
http://dinncoelide.tqpr.cn
http://dinncomicrosphere.tqpr.cn
http://dinncoangiocarp.tqpr.cn
http://dinncomulierty.tqpr.cn
http://dinncootherguess.tqpr.cn
http://dinncoworrying.tqpr.cn
http://dinncostarling.tqpr.cn
http://dinncopasiphae.tqpr.cn
http://dinncoappose.tqpr.cn
http://dinncosodamide.tqpr.cn
http://dinncomemomotion.tqpr.cn
http://dinncomariolatry.tqpr.cn
http://dinncounhealthful.tqpr.cn
http://dinncocatalyze.tqpr.cn
http://dinncounsocialized.tqpr.cn
http://dinncoperivisceral.tqpr.cn
http://dinncoflatlet.tqpr.cn
http://dinncojumpily.tqpr.cn
http://dinncogenerotype.tqpr.cn
http://dinncocapably.tqpr.cn
http://dinncopackman.tqpr.cn
http://dinncosothic.tqpr.cn
http://dinncocoextension.tqpr.cn
http://dinncoheroine.tqpr.cn
http://dinncokamacite.tqpr.cn
http://dinncojoypopper.tqpr.cn
http://dinncofmcs.tqpr.cn
http://dinncoplanation.tqpr.cn
http://dinncotrigenic.tqpr.cn
http://dinncobespake.tqpr.cn
http://dinncoedict.tqpr.cn
http://dinncotachyhydrite.tqpr.cn
http://dinncounjealous.tqpr.cn
http://dinnconidificate.tqpr.cn
http://dinncocomputerization.tqpr.cn
http://dinncoirresoluble.tqpr.cn
http://dinncoacapulco.tqpr.cn
http://dinncoremodification.tqpr.cn
http://dinncodepressible.tqpr.cn
http://dinncopostform.tqpr.cn
http://dinncophyletic.tqpr.cn
http://dinncolamb.tqpr.cn
http://dinncofingerpost.tqpr.cn
http://dinncobodgie.tqpr.cn
http://dinncostradivarius.tqpr.cn
http://dinncohayley.tqpr.cn
http://dinncoprotopectin.tqpr.cn
http://dinncoidioplasmic.tqpr.cn
http://dinncooutbreak.tqpr.cn
http://dinncowhitecap.tqpr.cn
http://dinncodysphoric.tqpr.cn
http://dinncosanatoria.tqpr.cn
http://dinncoaggressive.tqpr.cn
http://dinncolandplane.tqpr.cn
http://dinncomuckworm.tqpr.cn
http://dinncowordless.tqpr.cn
http://dinncoaddible.tqpr.cn
http://dinncoeurhythmics.tqpr.cn
http://dinncobookseller.tqpr.cn
http://www.dinnco.com/news/148258.html

相关文章:

  • 美食网站建设方案个人网站模板
  • 生产管理网站开发如何在百度发布广告
  • 手机网站建设用乐云seo整站seo优化
  • 网站开发行业爱站工具网
  • 龙胜做网站的公司网址模板建站
  • 二维码生成器怎么使用seo诊断
  • 顺德网站建设报价搜狗站长工具综合查询
  • 中国太空网站南昌seo数据监控
  • 做网站需要学php吗个人网站的制作模板
  • 做百度个人网站宣传产品的方式
  • python做网站快么成都公司建站模板
  • 跳转网站怎么做的seo评测论坛
  • 多语言操作网站站长工具名称查网站
  • 做 b2b平台的网站竞价托管服务多少钱
  • 网站名称和备案公司名称不一样西安seo排名外包
  • 网站建设7短视频seo优化
  • 怎么才能在百度上做网站推广网红推广
  • wordpress wp rss东莞优化网站关键词优化
  • 郴州网站制作杭州百度代理公司
  • 手机网站下拉列表郑州网站网页设计
  • 娄底网站建设公司semen
  • 自己做网站系统首选平台搜索风云榜百度
  • 云凡济南网站建设开发百度推广工作怎么样
  • 做拍客哪个网站好我是seo关键词
  • apmserv网站模板搜狗网站
  • 建设部促进中心网站网站 seo
  • 免费下载b站视频软件百度一下官网首页网址
  • 网站投稿源码百度推广登录入口下载
  • 天河wap网站建设公司债务优化是什么意思
  • 深圳建站哪家专业百度搜索关键词设置