lavis-nlp / spert

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

HELP #69

Open cxj01 opened 2 years ago

cxj01 commented 2 years ago

Why relation_types=input_reader.relation_type_count - 1 ? Why need - 1?Instead of relation_types=input_reader.relation_type_count!

mobashgr commented 1 year ago

I have the same question. Any reply @markus-eberts, please?