fairseq-detect-hallucination icon indicating copy to clipboard operation
fairseq-detect-hallucination copied to clipboard

How to run xsum_wordnet.py script

Open RibinMTC opened this issue 1 year ago • 0 comments

The xsum_wordnet.py script reads the "pos" files on lines 148-149:

tgt_tok_sents, tgt_tok_pos_tags = read_pos_tags_and_tokenizations(os.path.join(root, prefix.lower()+"target.pos")) 
src_tok_sents, src_tok_pos_tags = read_pos_tags_and_tokenizations(os.path.join(root, prefix.lower()+"source.pos"))

How where these files generated? Best

RibinMTC avatar Mar 08 '23 10:03 RibinMTC