PDF Presentation in root directory
Tested on Python 3.8!
pip3 install --upgrade pip
pip3 install -r requirements.txt
gunzip -dk ./0_pubmed_data/*.gz
for f in ./0_pubmed_data/*.xml; do python3 ./scripts/extract_articles.py --input "$f" --output ./1_articles; done
See appendix
for f in ./2_annotated_articles/*; do python3 ./scripts/validate_tsv.py --input "$f" |grep "errors"; done
./scripts/create_iob.sh
# with context
./5_training/scripts/biomed_roberta_base_e.sh
./5_training/scripts/biomed_roberta_base_er.sh
./5_training/scripts/biomed_roberta_base_r.sh
./5_training/scripts/roberta_base_e.sh
./5_training/scripts/roberta_base_er.sh
./5_training/scripts/roberta_base_r.sh
./5_training/scripts/roberta_large_e.sh
./5_training/scripts/roberta_large_er.sh
./5_training/scripts/roberta_large_r.sh
# without context
./5_training/scripts/biomed_roberta_base_e_nc.sh
./5_training/scripts/biomed_roberta_base_er_nc.sh
./5_training/scripts/biomed_roberta_base_r_nc.sh
./5_training/scripts/roberta_base_e_nc.sh
./5_training/scripts/roberta_base_er_nc.sh
./5_training/scripts/roberta_base_r_nc.sh
./5_training/scripts/roberta_large_e_nc.sh
./5_training/scripts/roberta_large_er_nc.sh
./5_training/scripts/roberta_large_r_nc.sh
./scripts/create_intermediate.sh
./6_validation/scripts/pre_pipeline/*
./6_validation/scripts/pipeline/*
./6_validation/scripts/get_top_3.sh
./7_testing/scripts/pre_pipeline/*
./7_testing/scripts/pipeline/*
cd 7_testing
jupyter nbconvert --execute --clear-output summary_stats.ipynb