knowing-when-to-look-adaptive-attention icon indicating copy to clipboard operation
knowing-when-to-look-adaptive-attention copied to clipboard

An error when running train_eval.py

Open ydyrx-ldm opened this issue 3 years ago • 3 comments

hello,the error is: PTBTokenizer tokenized 307821 tokens at 312344.45 tokens per second. PTBTokenizer tokenized 51126 tokens at 83364.85 tokens per second. setting up scorers... computing Bleu score... {'testlen': 46127, 'reflen': 46353, 'guess': [46127, 41127, 36127, 31127], 'correct': [2721, 90, 0, 0]} ratio: 0.9951243716695577 Bleu_1: 0.059 Bleu_2: 0.011 Bleu_3: 0.000 Bleu_4: 0.000

I have a question. Why is BLeu-4 always 0? Looking forward to your reply.

ydyrx-ldm avatar Jun 27 '21 04:06 ydyrx-ldm

hello,the error is: PTBTokenizer tokenized 307821 tokens at 312344.45 tokens per second. PTBTokenizer tokenized 51126 tokens at 83364.85 tokens per second. setting up scorers... computing Bleu score... {'testlen': 46127, 'reflen': 46353, 'guess': [46127, 41127, 36127, 31127], 'correct': [2721, 90, 0, 0]} ratio: 0.9951243716695577 Bleu_1: 0.059 Bleu_2: 0.011 Bleu_3: 0.000 Bleu_4: 0.000

I have a question. Why is BLeu-4 always 0? Looking forward to your reply.

I have the same question.Do you have solve this problems?

Allenxq avatar Oct 06 '21 07:10 Allenxq

i can ‘t do it

ydyrx-ldm avatar Oct 06 '21 08:10 ydyrx-ldm

hello,the error is: PTBTokenizer tokenized 307821 tokens at 312344.45 tokens per second. PTBTokenizer tokenized 51126 tokens at 83364.85 tokens per second. setting up scorers... computing Bleu score... {'testlen': 46127, 'reflen': 46353, 'guess': [46127, 41127, 36127, 31127], 'correct': [2721, 90, 0, 0]} ratio: 0.9951243716695577 Bleu_1: 0.059 Bleu_2: 0.011 Bleu_3: 0.000 Bleu_4: 0.000 I have a question. Why is BLeu-4 always 0? Looking forward to your reply.

I have the same question.Do you have solve this problems?

i can ‘t do it

ydyrx-ldm avatar Oct 06 '21 08:10 ydyrx-ldm