The pre-training code for distantly supervised data is identical to the one in this repo for the train set data.
Just pass the DocRED distant data file, set your training hyper-parameters, and start your training~
Although there is one note: there exists one instance from DocRED distant that contains NO entity, you would want to remove it first before traning, or there will be index error.
The pre-training code for distantly supervised data is identical to the one in this repo for the train set data. Just pass the DocRED distant data file, set your training hyper-parameters, and start your training~
Although there is one note: there exists one instance from DocRED distant that contains NO entity, you would want to remove it first before traning, or there will be index error.