Open sleighsoft opened 6 years ago
@Yaoming95 I would really love to replicate your results.
@Yaoming95 I would really love to replicate your results.
Have you solved the problem? :)
No. To be honest, I stopped pursuing BLEU as a solid score.
Hello, How did you add BLEU metric to your metrics?
Same question here. @Yaoming95
@Yaoming95 I would really love to replicate your results.
Have you solved the problem? :)
Hello, I encountered the same problem as you, please tell me how you solved it?Thanks
from utils.metrics.Bleu import Bleu
if name == 'main': bleu_metric = Bleu(test_text=r'/docs/instances/seq.txt', real_text=r'data/image_coco.txt', gram=2) score = bleu_metric.get_score(is_fast=False, ignore=False) print(f"BLEU Score: {score}")
I have two questions:
How do you compute the reported BLEU scores? I see the imports of BLEU in several models but BLEU is never added to the
self.metrics
collection of any of them.When computing BLEU, which sentences are considered to be references?