Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add seqtext_print for seqToseq demo #1784

Merged
merged 1 commit into from
Apr 14, 2017
Merged

add seqtext_print for seqToseq demo #1784

merged 1 commit into from
Apr 14, 2017

Conversation

luotao1
Copy link
Contributor

@luotao1 luotao1 commented Apr 14, 2017

  1. seqToseq能打印出生成结果如下(与v1版本的打印结果做过比对,是一样的):
src: <s> La dispute fait rage entre les grands constructeurs aéronautiques à propos de la largeur des sièges de la classe touriste sur les vols <unk> , ouvrant la voie à une confrontation <unk> lors du salon aéronautique de Dubaï qui a lieu de mois-ci . <e> 

prob = -28.117115: The dispute is between the large aviation manufacturers about the width of the tourist seats on the <unk> flights , paving the way for a <unk> confrontation at the Dubai aviation fair , which is a month . <e>
prob = -28.716934: The dispute is between the large aviation manufacturers about the width of the tourist seats on the <unk> flights , paving the way for a <unk> confrontation at the Dubai aviation fair , which takes place months . <e>
prob = -29.341486: The dispute is between the large aviation manufacturers about the width of the tourist seats on the <unk> flights , paving the way for a <unk> confrontation at the Dubai aviation fair , which takes place in month . <e>
  1. 在wmt14.py里面,增加取字典和gen数据的函数。

Copy link
Collaborator

@reyoung reyoung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent

Copy link
Member

@jacquesqiao jacquesqiao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@luotao1 luotao1 merged commit c51ab42 into PaddlePaddle:develop Apr 14, 2017
@luotao1 luotao1 deleted the beam branch April 14, 2017 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants