NLI icon indicating copy to clipboard operation
NLI copied to clipboard

No such file or directory: 'cdata/snli/train.tok.forvocab'

Open HsiaoYetGun opened this issue 7 years ago • 1 comments

what's train.tok.forvocab ? Could i replace it as "train.txt" ?

HsiaoYetGun avatar Jul 11 '18 07:07 HsiaoYetGun

You can create train.tok.forvocab using nliutils.conver_data(), just adapting
print(' ||| '.join([text['gold_label'], text['sentence1'], text['sentence2']]), file = dout) as print(' '.join(text['sentence1'], text['sentence2']]), file = dout)

cxncu001 avatar Jul 12 '18 01:07 cxncu001