Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
root a3f30c9cd5 | 1 year ago | |
---|---|---|
.ipynb_checkpoints | 1 year ago | |
ckpt/prevent | 1 year ago | |
data/medicine | 1 year ago | |
module | 1 year ago | |
README.md | 2 years ago | |
model.jpg | 2 years ago | |
train.py | 1 year ago |
This repository contains the source code, model file and dataset for the paper:
Tiantian Zhu, Yang Qin, Yang Xiang, Baotian Hu*, Qingcai Chen*, Weihua Peng. Distantly supervised biomedical relation extraction using piecewise attentive convolutional neural network and reinforcement learning. JAMIA.
Biomedical Relation Extraction (RE) is one of the most important tasks in bioinformatics, which plays a significant role in biomedical information extraction. Most of the existing methods are trained in a supervised manner and rely on large scale labeled data. In order to save the cost of data labeling, we propose a new method called PACNN+RL trained with distant supervision that can automatically generate labeled data. The predictor is constructed based on the Piecewise Attentive Convolutional Neural Network (PACNN) and a Reinforcement Learning (RL) agent.
This repo was tested on Python 3.6.10 and Tensorflow 1.14.0 The main requirements are:
Get pre-trained word embedding file
Download pretrained word embedding files and decompress it under data/medicine/
.
Restore weight file and finetune model
Put trained mdoel files under root dir. Finally specify the trained model path in train.py
Train data
Put Datasets under data/medicine/
,Finally specify the train data name and test data name in training process
train model
python train.py data/medicine seed train_data_name test_data_name
The command parameter seed means random seed used for model initialization parameters, like 1234.
No Description
Python Markdown
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》