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

The results of the translate function. #176

Open
zshyang opened this issue Apr 9, 2021 · 4 comments
Open

The results of the translate function. #176

zshyang opened this issue Apr 9, 2021 · 4 comments

Comments

@zshyang
Copy link

zshyang commented Apr 9, 2021

I have trained the model for WMT'16. And the accuracy and loss are similar to what they provided.

But when I translate,

python translate.py -data_pkl m30k_deen_shr.pkl -model output/lr_mul_0.5-scale_emb/model.chkpt -output prediction.txt

what I got is the following:

<unk> <unk> their around as as <unk> to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> <unk> all around as as to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> their but as as as to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> their all around as as as to by . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> <unk> around as to . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> <unk> as around around as as as as <unk> <unk> by by . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> <unk> around as <unk> to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> <unk> quickly around as as as as as <unk> by by by . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> <unk> around as to . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> around but as around as to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> their but as as as to by . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> <unk> as as around as as as as <unk> by by by . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> <unk> around as as to to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> <unk> around around as as as as by . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> their around as to . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> <unk> around as as <unk> to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> their around as around to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<unk> <unk> <unk> but around as as as as <unk> by by . . 

I have no clue what is going on.
Could you help me with this please? Thank you.

@nuges01
Copy link

nuges01 commented Apr 22, 2021

Watching. I'm having a similar issue. I don't know if anyone monitors these issues anymore though. Were you able to solve it?

If anyone has any insights on how to get translate working, please let us know.

@eyuansu62
Copy link

you can set scale_emb_or_prj=emb, and the result would be better

@1338199
Copy link

1338199 commented Dec 7, 2021

I met the similar issue, have you solved it?

@HUIYINXUE
Copy link

I met the similar issue while trying to reproduce the result on WMT14. Has anyone solved that?

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

No branches or pull requests

5 participants