chentao1999 / MedicalRelationExtraction

The depository support training and testing BERT-CNN model on three medical relation extraction corpora: BioCreative V CDR task corpus, traditional Chinese medicine literature corpus, and i2b2 temporal relation corpus.
MIT License
72 stars 20 forks source link

KeyError: 1\r #7

Open ZMD177 opened 2 years ago

ZMD177 commented 2 years ago

text_model.py lable_id = label_map[example.label]