princeton-nlp / LM-BFF

[ACL 2021] LM-BFF: Better Few-shot Fine-tuning of Language Models https://arxiv.org/abs/2012.15723

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in FewShotDataset module when accessing TextClassificationProcessor

ramakanth-pasunuru opened this issue · comments

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.

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?

Oh sorry for that... It seems that I forgot to push the commit. It should work now.