fairseq-gec
fairseq-gec copied to clipboard
How should I use pretrained model to process new data
I want to use the pretrained model checkpoint9.pt directly to process the new data, how do I organize the code.(The methods I find on baidu cannot be used, so I ask you for some suggestion ,like torch.load() function)
I have exactly the same question, my main issues is that I can not find the script that preprocesses the oriinal CONLL dataset.
I want to use the pretrained model checkpoint9.pt directly to process the new data, how do I organize the code.(The methods I find on baidu cannot be used, so I ask you for some suggestion ,like torch.load() function)
You want to load the pre-trained model for evaluation, right? You should change the "--path" parameter in the generate.sh.
I have exactly the same question, my main issues is that I can not find the script that preprocesses the oriinal CONLL dataset.
We didn't release the preprocess scripts for the original CONLL dataset.
How to deal with the problem of 'command python2 not found' in the generate.sh? And how to use the m2scorer?