I try to train the model by using bert cell, but i find this error during the selection_loader
File "/data/young/pytorch_multi_head_selection_re/lib/dataloaders/selection_loader.py", line 69, in pad_bert
text = ['[CLS]'] + text + ['[SEP]']
TypeError: can only concatenate list (not "str") to list
any idea to fix it?
I try to train the model by using bert cell, but i find this error during the selection_loader File "/data/young/pytorch_multi_head_selection_re/lib/dataloaders/selection_loader.py", line 69, in pad_bert text = ['[CLS]'] + text + ['[SEP]'] TypeError: can only concatenate list (not "str") to list any idea to fix it?