MCPcopy Create free account
hub / github.com/HA-Transformer/MAT / post_process_prediction

Function post_process_prediction

fairseq/utils.py:157–165  ·  view source on GitHub ↗
(hypo_tokens, src_str, alignment, align_dict, tgt_dict, remove_bpe=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

replace_unkFunction · 0.85
unk_stringMethod · 0.80
encode_lineMethod · 0.80
stringMethod · 0.45

Tested by

no test coverage detected