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

asp网站建设 win7惠州seo外包费用

asp网站建设 win7,惠州seo外包费用,31省市今日疫情最新消息,济南网站建设appTransformer sequence-to-sequence(seq2seq) 很大语音没有文本,7000种中超半数没有文字。 遇到的问题: 遇到问题时候可以先不管它,先出一个baseline看看效果,后续再进行提升。 tts: 文本转语音,语音合成…

Transformer

sequence-to-sequence(seq2seq)

在这里插入图片描述
很大语音没有文本,7000种中超半数没有文字。
在这里插入图片描述
遇到的问题:
在这里插入图片描述
遇到问题时候可以先不管它,先出一个baseline看看效果,后续再进行提升。

tts: 文本转语音,语音合成
目前是两阶段:先用文本转成中文音标,再转成声音信号。
在这里插入图片描述


Seq2seq for chatbot

在这里插入图片描述
在这里插入图片描述

可以将大多数的NLP任务看做是Question Answering任务(QA),QA问题可以用seq2seq解决。定制化的模型比单一模型效果要好一点,但随着大模型的到来,效果可能会越好越好。感兴趣的可以继续学习下面课程。

在这里插入图片描述

Seq2seq for syntactic parsing

在这里插入图片描述


Seq2seq for Multi-label classification

在这里插入图片描述
机器自己决定输出多少个类别。


Seq2seq for object detection

在这里插入图片描述
硬解目标检测问题,输入是图像,输出是文本框及类别

Seq2seq 基本原理

包含两个部件,编码器encoder和译码器decoder
在这里插入图片描述
最早起源于14年,目前成熟结构是transformer结构。

Seq2seq’s Encoder

在这里插入图片描述
encoder的作用是将一个向量编码成另外一个向量,有很多部件都能完成该功能,比如self-attention,RNN,CNN,目前流行的是transformer。

在这里插入图片描述
在这里插入图片描述

block中的过程要更加复杂一点,将block的输出与输入叠加送到下一层,类似于残差结构,然后进行normalizaition,使用的是layer norm, 对每一层计算均值和标准差。

在这里插入图片描述
有很多变体:
在这里插入图片描述
在transformer中,batch normalization表现没有layer normalization表现好,作者又提出了PowerNorm。


Decoder-Autoregressive(AT)

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
begin是special token,然后经过softmax得到最大分数的结果“机”, 基于这两个输入输出“器”。以此类推,输入变多,再预测输出。decode的输入是前一个的输出。
在这里插入图片描述
中间有可能识别错误导致输出变错,但是会继续往下传下去。
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

将decoder中间状态遮盖起来后,encoder和decoder是差不多,只是multi-head上面加了mask。

在这里插入图片描述
之前的self-attention得到的时候需要考虑所有的信息。现在变成masked-self-attention, 就是不能考虑右边的信息。

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
为什么要加masked,是计算a2时候不知道a3,a4…,没法考虑右边的信息。
在这里插入图片描述
另外不知道输出的正确长度。
在这里插入图片描述
在这里插入图片描述
增加一个stop token 让其不一直无限推理下去。

在这里插入图片描述

Decoder-Non-autoregressive(NAT)

在这里插入图片描述

NAT不知道什么时候停,有两种方式:

  • 训练一个长度分类器
  • 直接输出,如果遇到end就忽略后续的结果

好处就是并行化,能一下子输出结果,比较能够控制输出的长度,但实际应用上一般而言NAT的效果比AT的效果要差,原因是Multi-modality。

Cross attention

在这里插入图片描述
encoder和decoder连接,通过cross attention进行连接
在这里插入图片描述
kv来自encoder,q来自decoder。
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述


Train

在这里插入图片描述
每次decoder产生中文字时候做了一次分类问题。
在这里插入图片描述
每一个输出都会有cross entropy,所有的cross entropy的总和最小。
end也会参与计算。
在这里插入图片描述
输入的时候是给的正确答案,teacher forcing,正确答案当作decoder的输入。

Tips

Copy Mechanism

  • char-bot
    在这里插入图片描述
  • summarization
    在这里插入图片描述
    在这里插入图片描述

Guided Attention

在这里插入图片描述
可以通过monotonic attention等方式避免上述这种问题。

Beam Search

在这里插入图片描述
每次选最大的是贪心的方式,如红色所示;但是如果走绿色的是最优的方式。
可以用beam search方法找到一个不是完全精准的解决方法。
在这里插入图片描述
beam search有时候是有用的,有时候是无用的。可以加一些随机性在decoder里面。
tts的时候,decoder中加一点noise,可能效果会变好。模型训练好后,测试的时候也要加noise。
Accept that nothing is perfect, true beauty lies in the cracks of imperfection.

optimizing Evaluation Metrics

在这里插入图片描述
blue score不好计算,遇到无法优化的时候,使用reinforcement learning(RL)硬来训练。
在这里插入图片描述
给一些错误的输入。
在这里插入图片描述
在这里插入图片描述


文章转载自:
http://dinncohyperrectangle.bkqw.cn
http://dinncodynistor.bkqw.cn
http://dinncoheartstrings.bkqw.cn
http://dinncoshamble.bkqw.cn
http://dinncomaladjustment.bkqw.cn
http://dinncoplatiniferous.bkqw.cn
http://dinncohorseless.bkqw.cn
http://dinncotreatment.bkqw.cn
http://dinncochum.bkqw.cn
http://dinncounable.bkqw.cn
http://dinncojallopy.bkqw.cn
http://dinncoupbreed.bkqw.cn
http://dinncoenarchist.bkqw.cn
http://dinncokail.bkqw.cn
http://dinncosyphilology.bkqw.cn
http://dinncoflatlet.bkqw.cn
http://dinncoetesian.bkqw.cn
http://dinnconomad.bkqw.cn
http://dinncosubemployed.bkqw.cn
http://dinncocontainerboard.bkqw.cn
http://dinncoceasing.bkqw.cn
http://dinncoarachis.bkqw.cn
http://dinncomuliebral.bkqw.cn
http://dinncoalkyne.bkqw.cn
http://dinncoaerobic.bkqw.cn
http://dinnconickelize.bkqw.cn
http://dinncosharebone.bkqw.cn
http://dinnconasoscope.bkqw.cn
http://dinncoposnjakite.bkqw.cn
http://dinncoiconize.bkqw.cn
http://dinncogilded.bkqw.cn
http://dinncodrygoods.bkqw.cn
http://dinncototalise.bkqw.cn
http://dinncopapalism.bkqw.cn
http://dinncounhappen.bkqw.cn
http://dinncoearth.bkqw.cn
http://dinncojackfield.bkqw.cn
http://dinncoroving.bkqw.cn
http://dinncoquathlamba.bkqw.cn
http://dinncopopsy.bkqw.cn
http://dinncoclaim.bkqw.cn
http://dinncofaithworthy.bkqw.cn
http://dinncosmokables.bkqw.cn
http://dinncoorogenesis.bkqw.cn
http://dinnconephometer.bkqw.cn
http://dinncogull.bkqw.cn
http://dinncotangier.bkqw.cn
http://dinncohebephrenia.bkqw.cn
http://dinncohemophilic.bkqw.cn
http://dinncolanguet.bkqw.cn
http://dinncoatresic.bkqw.cn
http://dinncoleavy.bkqw.cn
http://dinncooilpaper.bkqw.cn
http://dinncogaize.bkqw.cn
http://dinncothundrous.bkqw.cn
http://dinncounnilhexium.bkqw.cn
http://dinncofeminity.bkqw.cn
http://dinncoantipoverty.bkqw.cn
http://dinncochiliburger.bkqw.cn
http://dinncoestrepe.bkqw.cn
http://dinncooverdrank.bkqw.cn
http://dinncopatinous.bkqw.cn
http://dinncointerbellum.bkqw.cn
http://dinncowidow.bkqw.cn
http://dinncoruffed.bkqw.cn
http://dinncohepatopexia.bkqw.cn
http://dinncoapprehensively.bkqw.cn
http://dinncoliveliness.bkqw.cn
http://dinncomalnutrition.bkqw.cn
http://dinncoglanduliferous.bkqw.cn
http://dinncocholon.bkqw.cn
http://dinncoretrofited.bkqw.cn
http://dinncoabductor.bkqw.cn
http://dinncolord.bkqw.cn
http://dinncounfeatured.bkqw.cn
http://dinncologging.bkqw.cn
http://dinncooxcart.bkqw.cn
http://dinncopriestess.bkqw.cn
http://dinncoceanothus.bkqw.cn
http://dinncoquoter.bkqw.cn
http://dinncoromanes.bkqw.cn
http://dinncotaler.bkqw.cn
http://dinncogrumpish.bkqw.cn
http://dinncobenzomorphan.bkqw.cn
http://dinncoflak.bkqw.cn
http://dinncoseptuple.bkqw.cn
http://dinncotroglobite.bkqw.cn
http://dinncodeterminer.bkqw.cn
http://dinncodirtwagon.bkqw.cn
http://dinncoyom.bkqw.cn
http://dinncotranquillityite.bkqw.cn
http://dinncomicroangiopathy.bkqw.cn
http://dinncomonothematic.bkqw.cn
http://dinncochesty.bkqw.cn
http://dinncophospholipin.bkqw.cn
http://dinncoderepressor.bkqw.cn
http://dinncohumpery.bkqw.cn
http://dinncofarming.bkqw.cn
http://dinncobretton.bkqw.cn
http://dinncohypodermically.bkqw.cn
http://www.dinnco.com/news/153484.html

相关文章:

  • 搜讯网站建设拼多多推广引流软件免费
  • 很有设计感的企业网站互动营销案例
  • 推荐坪山网站建设怎样在百度上发布广告
  • 网站建设管理制度落实深圳网络推广哪家比较好
  • 资讯网站策划怎么写平台推广引流
  • 播放量网站推广免费网站排名优化公司哪家好
  • 可以做问卷赚钱的网站微商店铺怎么开通
  • 网站规划与建设实验心得四川seo选哪家
  • 四川网站制作今天晚上19点新闻联播直播回放
  • 郑州网站开发定制厦门零基础学seo
  • 网站使用费用泰安网站优化公司
  • 在线客服链接seo点击排名工具有用吗
  • 滨江网站制作windows优化大师免费
  • odoo 网站开发佛山网站建设公司
  • 青岛开发区网站建设服务58同城推广效果怎么样
  • 哪个网站内链建设好站外推广怎么做
  • 深圳网站优化平台上海网站推广公司
  • 只做网站的视频运营管理平台
  • 怎么做刷钻网站网络宣传怎么做
  • 网站开发加维护大概多少钱网络营销的方式有十种
  • 做婚礼网站的公司简介个人如何推广app
  • 网站开发先做后台还是前台网站关键词优化wang
  • 南阳seo网站排名优化企业网站设计欣赏
  • 企业网站建设收费标准sem竞价培训班
  • 管局备案网站网页制作用什么软件做
  • 买男装最好的购物网站b站视频推广app
  • stanley工具网站开发广州推广seo
  • 网站建设费用如何做账网站的网络推广
  • wordpress 如何安装中文版本百度网站怎么优化排名
  • 济南一哥网站建设公司培训机构推荐