lavis-nlp / spert

PyTorch code for SpERT: Span-based Entity and Relation Transformer
MIT License
685 stars 146 forks source link

Can't make train following the example #67

Open lxhwyj opened 2 years ago

lxhwyj commented 2 years ago

I'm, thanks for the code

I've tried to run the train mode following this: https://github.com/lavis-nlp/spert#examples.

I have downloaded the spacy model, but I get the following error: TypeError: tuple indices must be integers or slices, not str How can I solve it?