Louis-udm/NER-BERT-CRF

Running code ERROR

sentry0501 opened this issue · 3 comments

I think line 875 at function DataLoader, the collate_fn=pad should be collate_fn=NerDataset.pad ...

image

I have the same issue

me too

replace by "collate_fn=NerDataset.pad,"
i know ,should be changed to collate_fn=NerDataset.pad,because the author use " collate_fn=NerDataset.pad" when load other data,i guess " collate_fn=pad" may be a mistake.