This repository is being prepared for information extraction/relation extraction between the entities that appear in Wet-lab Protocols. Wet-lab Protocols are the instruction that researchers follow while conducting an experiment in biological or chemical laboratory.
This repository is being prepared for relation extraction between the entities that appear in Wet-lab Protocols. Wet-lab Protocols are the instruction that researchers follow while conducting an experiment in biological or chemical laboratory. This work is intended to enable the researchers to get structured knowledge on the relationships between taken actions and scientific objects present in text of scientific protocols. As a result, they can get insights and make valuable decisions. The dataset being used for this task is free-sourced developed by (Chaitanya Kulkarni, Wei Xu, Alan Ritter, Raghu Machiraju) and available at: https://github.com/chaitanya2334/WLP-Dataset
chmod +x download.sh; ./download.sh
Then prepare vocabulary and initial word vectors with:
python prepare_vocab.py dataset/wetlab dataset/vocab --glove_dir dataset/glove
bash train_gcn.sh 0
Model checkpoints and logs will be saved to ./saved_models/00.
For evaluation on test set, run;
python eval.py saved_models/00 --dataset test
bash train_cgcn.sh 1
Model checkpoints and logs will be saved to ./saved_models/01.
For evaluation on test set, run;
python eval.py saved_models/01 --dataset test