-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/cbert_precomputed_10stratified_f…
…olds_multitask'
- Loading branch information
Showing
34 changed files
with
10,407 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cat /backup/UMLS/2020AA/META/MRCONSO.RRF | grep -E "\|ICD9CM" | cut -d "|" -f 12,13,14,15 --output-delimiter="|" >> /backup/joaofsilva/PatientTM/data/extended/preprocessing/icd9FromUMLS.txt | ||
cat /backup/UMLS/2020AA/META/MRCONSO.RRF | grep -E "\|ICD9CM" | cut -d "|" -f 12,13,14,15 --output-delimiter="|" >> /backup/joaofsilva/clinicalBERT/data/extended/preprocessing/icd9FromUMLS.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cat /backup/UMLS/2020AA/META/MRSAT.RRF | grep -E "\|NDC\|RXNORM" | cut -d "|" -f 1,9,10,11 >> /backup/joaofsilva/PatientTM/data/extended/preprocessing/ndcsFromUMLS.txt | ||
cat /backup/UMLS/2020AA/META/MRSAT.RRF | grep -E "\|NDC\|RXNORM" | cut -d "|" -f 1,9,10,11 >> /backup/joaofsilva/clinicalBERT/data/extended/preprocessing/ndcsFromUMLS.txt |
2 changes: 1 addition & 1 deletion
2
data/extended/preprocessing/subScripts/4-precompute_text_embeddings.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
CUDA_VISIBLE_DEVICES=0 python3 ./cbert_precomputation.py --task_name readmission --readmission_mode discharge --data_dir /PatientTM/data/extended/discharge/ --bert_model /PatientTM/model/discharge_readmission --max_seq_length 512 --output_dir /PatientTM/results/result_discharge | ||
CUDA_VISIBLE_DEVICES=0 python3 ./cbert_precomputation.py --task_name readmission --readmission_mode discharge --data_dir /clinicalBERT/data/extended/discharge/ --bert_model /clinicalBERT/model/discharge_readmission --max_seq_length 512 --output_dir /clinicalBERT/results/result_discharge |
8 changes: 4 additions & 4 deletions
8
data/extended_folds/preprocessing/precompute_text_embeddings.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
CUDA_VISIBLE_DEVICES=0 python3 ./cbert_precomputation.py --task_name readmission --readmission_mode discharge --data_dir /PatientTM/data/extended_folds/discharge/ --bert_model /PatientTM/model/pretraining --max_seq_length 512 --output_dir /PatientTM/results/result_discharge | ||
CUDA_VISIBLE_DEVICES=0 python3 ./cbert_precomputation.py --task_name readmission --readmission_mode discharge --data_dir /PatientFM/data/extended_folds/discharge/ --bert_model /PatientFM/model/pretraining --max_seq_length 512 --output_dir /PatientFM/results/result_discharge | ||
|
||
CUDA_VISIBLE_DEVICES=0 python3 ./cbert_precomputation.py --task_name readmission --readmission_mode early --data_dir /PatientTM/data/extended_folds/early/ --bert_model /PatientTM/model/pretraining --max_seq_length 512 --output_dir /PatientTM/results/result_early | ||
CUDA_VISIBLE_DEVICES=0 python3 ./cbert_precomputation.py --task_name readmission --readmission_mode early --data_dir /PatientFM/data/extended_folds/early/ --bert_model /PatientFM/model/pretraining --max_seq_length 512 --output_dir /PatientFM/results/result_early | ||
|
||
|
||
|
||
CUDA_VISIBLE_DEVICES=0 python3 ./cbert_precomputation.py --task_name readmission --readmission_mode discharge_subjectsplit --data_dir /PatientTM/data/extended_folds/discharge_subjectsplit/ --bert_model /PatientTM/model/pretraining --max_seq_length 512 --output_dir /PatientTM/results/result_discharge | ||
CUDA_VISIBLE_DEVICES=0 python3 ./cbert_precomputation.py --task_name readmission --readmission_mode discharge_subjectsplit --data_dir /PatientFM/data/extended_folds/discharge_subjectsplit/ --bert_model /PatientFM/model/pretraining --max_seq_length 512 --output_dir /PatientFM/results/result_discharge | ||
|
||
CUDA_VISIBLE_DEVICES=0 python3 ./cbert_precomputation.py --task_name readmission --readmission_mode early_subjectsplit --data_dir /PatientTM/data/extended_folds/early_subjectsplit/ --bert_model /PatientTM/model/pretraining --max_seq_length 512 --output_dir /PatientTM/results/result_early | ||
CUDA_VISIBLE_DEVICES=0 python3 ./cbert_precomputation.py --task_name readmission --readmission_mode early_subjectsplit --data_dir /PatientFM/data/extended_folds/early_subjectsplit/ --bert_model /PatientFM/model/pretraining --max_seq_length 512 --output_dir /PatientFM/results/result_early |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.