f305086031fc31a838d5b6c06eec35fd5cd16038,scripts/score_moe.py,,merge,#Any#Any#Any#Any#Any#,79

Before Change


            f.write(t)
            f.write("\n")
            for h, lp in zip(hs, lps):
                f.write("%f\t" % lp + h)
            f.write("------------------------------------------------------\n")

def corpus_bleu(ref, hypo):
    scorer.reset()

After Change


            f.write(t + "\n")
            f.write("\n")
            for h, lp in zip(hs, lps):
                f.write("\t%f\t%s\n" % (lp, h.strip()))
            f.write("------------------------------------------------------\n")


def corpus_bleu(sys_stream, ref_streams):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: elbayadm/attn2d
Commit Name: f305086031fc31a838d5b6c06eec35fd5cd16038
Time: 2019-03-19
Author: myleott@fb.com
File Name: scripts/score_moe.py
Class Name:
Method Name: merge


Project Name: facebookresearch/ParlAI
Commit Name: 9b8d5f3516b68250c0e43d348e7ec88abfb3fa13
Time: 2018-10-30
Author: roller@fb.com
File Name: docs/source/generate_zoo_list.py
Class Name:
Method Name: