Bug in FewShotDataset module when accessing TextClassificationProcessor
ramakanth-pasunuru opened this issue · comments
Ramakanth Pasunuru commented
Hi, there is a bug in this line. For the text classification datasets (mr, sst-5, subj, trec, cr, mpqa), the processor module requires the task name as input. Right now the above line throws error.
Tianyu Gao commented
Hi thanks for the report. I remember that it has been fixed in a previous commit and I didn't encounter the problem using the latest one. Can you pull the latest commit and try again?
Tianyu Gao commented
Oh sorry for that... It seems that I forgot to push the commit. It should work now.
Ramakanth Pasunuru commented
Thanks.