├── LICENSE ├── README.md ├── aug_utils.py ├── balanced_loss_utils.py ├── baselines.py ├── data ├── medical_records │ ├── dermatology │ │ ├── all_label2id.json │ │ ├── all_label2text.json │ │ ├── label2count.json │ │ └── label2id.json │ ├── gastroenterology │ │ ├── all_label2id.json │ │ ├── all_label2text.json │ │ ├── label2count.json │ │ └── label2id.json │ └── inpatient │ │ ├── all_label2id.json │ │ ├── all_label2text.json │ │ ├── label2count.json │ │ └── label2id.json ├── mimic3-top50 │ ├── all_label2id.json │ ├── all_label2text.json │ ├── icd9label.txt │ ├── icd9label.txt.out │ ├── icd9to10.py │ ├── icd9to10dictionary.txt │ ├── label2count.json │ └── label2id.json └── pubmed_multilabel │ ├── all_label2id.json │ ├── all_label2text.json │ ├── label2count.json │ └── label2id.json ├── data_preprocess.py ├── data_utils.py ├── graph.py ├── htc_baselines ├── hgclr │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── eval.py │ ├── model │ │ ├── contrast.py │ │ ├── graph.py │ │ ├── hier.py │ │ └── optim.py │ ├── test.py │ ├── test_hgclr_baseline.py │ ├── train.py │ ├── train_hgclr_baseline.py │ └── utils.py └── hpt │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── convert_datasets.ipynb │ ├── eval.py │ ├── hpt_preprocess.py │ ├── mymodels │ ├── attention.py │ ├── graph.py │ ├── loss.py │ └── prompt.py │ ├── test.py │ ├── train.py │ └── utils.py ├── label_embeddings.py ├── losses.py ├── mimic_utils.py ├── model_utils.py ├── requirements.txt ├── run_experiment ├── dermatology │ ├── dbloss │ │ └── grid_search.sh │ ├── finetune │ │ └── grid_search.sh │ ├── focal │ │ └── grid_search.sh │ ├── hgclr │ │ └── grid_search.sh │ ├── hpt │ │ └── grid_search.sh │ ├── mixup │ │ └── grid_search.sh │ ├── selfcon │ │ └── grid_search.sh │ ├── supcon │ │ └── grid_search.sh │ └── text2tree │ │ └── grid_search.sh ├── gastroenterology │ ├── dbloss │ │ └── grid_search.sh │ ├── finetune │ │ └── grid_search.sh │ ├── focal │ │ └── grid_search.sh │ ├── hgclr │ │ └── grid_search.sh │ ├── hpt │ │ └── grid_search.sh │ ├── mixup │ │ └── grid_search.sh │ ├── selfcon │ │ └── grid_search.sh │ ├── supcon │ │ └── grid_search.sh │ └── text2tree │ │ └── grid_search.sh ├── inpatient │ ├── dbloss │ │ └── grid_search.sh │ ├── finetune │ │ └── grid_search.sh │ ├── focal │ │ └── grid_search.sh │ ├── hgclr │ │ └── grid_search.sh │ ├── hpt │ │ └── grid_search.sh │ ├── mixup │ │ └── grid_search.sh │ ├── selfcon │ │ └── grid_search.sh │ ├── supcon │ │ └── grid_search.sh │ └── text2tree │ │ └── grid_search.sh ├── mimic3-top50 │ ├── dbloss │ │ └── grid_search.sh │ ├── finetune │ │ └── grid_search.sh │ ├── focal │ │ └── grid_search.sh │ ├── hgclr │ │ └── grid_search.sh │ ├── hpt │ │ └── grid_search.sh │ ├── mixup │ │ └── grid_search.sh │ ├── selfcon │ │ └── grid_search.sh │ ├── supcon │ │ └── grid_search.sh │ └── text2tree │ │ └── grid_search.sh └── pubmed_multilabel │ ├── dbloss │ └── grid_search.sh │ ├── finetune │ └── grid_search.sh │ ├── focal │ └── grid_search.sh │ ├── hgclr │ └── grid_search.sh │ ├── hpt │ └── grid_search.sh │ ├── mixup │ └── grid_search.sh │ ├── selfcon │ └── grid_search.sh │ ├── supcon │ └── grid_search.sh │ └── text2tree │ └── grid_search.sh └── trainer_utils.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/README.md -------------------------------------------------------------------------------- /aug_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/aug_utils.py -------------------------------------------------------------------------------- /balanced_loss_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/balanced_loss_utils.py -------------------------------------------------------------------------------- /baselines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/baselines.py -------------------------------------------------------------------------------- /data/medical_records/dermatology/all_label2id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/medical_records/dermatology/all_label2id.json -------------------------------------------------------------------------------- /data/medical_records/dermatology/all_label2text.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/medical_records/dermatology/all_label2text.json -------------------------------------------------------------------------------- /data/medical_records/dermatology/label2count.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/medical_records/dermatology/label2count.json -------------------------------------------------------------------------------- /data/medical_records/dermatology/label2id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/medical_records/dermatology/label2id.json -------------------------------------------------------------------------------- /data/medical_records/gastroenterology/all_label2id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/medical_records/gastroenterology/all_label2id.json -------------------------------------------------------------------------------- /data/medical_records/gastroenterology/all_label2text.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/medical_records/gastroenterology/all_label2text.json -------------------------------------------------------------------------------- /data/medical_records/gastroenterology/label2count.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/medical_records/gastroenterology/label2count.json -------------------------------------------------------------------------------- /data/medical_records/gastroenterology/label2id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/medical_records/gastroenterology/label2id.json -------------------------------------------------------------------------------- /data/medical_records/inpatient/all_label2id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/medical_records/inpatient/all_label2id.json -------------------------------------------------------------------------------- /data/medical_records/inpatient/all_label2text.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/medical_records/inpatient/all_label2text.json -------------------------------------------------------------------------------- /data/medical_records/inpatient/label2count.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/medical_records/inpatient/label2count.json -------------------------------------------------------------------------------- /data/medical_records/inpatient/label2id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/medical_records/inpatient/label2id.json -------------------------------------------------------------------------------- /data/mimic3-top50/all_label2id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/mimic3-top50/all_label2id.json -------------------------------------------------------------------------------- /data/mimic3-top50/all_label2text.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/mimic3-top50/all_label2text.json -------------------------------------------------------------------------------- /data/mimic3-top50/icd9label.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/mimic3-top50/icd9label.txt -------------------------------------------------------------------------------- /data/mimic3-top50/icd9label.txt.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/mimic3-top50/icd9label.txt.out -------------------------------------------------------------------------------- /data/mimic3-top50/icd9to10.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/mimic3-top50/icd9to10.py -------------------------------------------------------------------------------- /data/mimic3-top50/icd9to10dictionary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/mimic3-top50/icd9to10dictionary.txt -------------------------------------------------------------------------------- /data/mimic3-top50/label2count.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/mimic3-top50/label2count.json -------------------------------------------------------------------------------- /data/mimic3-top50/label2id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/mimic3-top50/label2id.json -------------------------------------------------------------------------------- /data/pubmed_multilabel/all_label2id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/pubmed_multilabel/all_label2id.json -------------------------------------------------------------------------------- /data/pubmed_multilabel/all_label2text.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/pubmed_multilabel/all_label2text.json -------------------------------------------------------------------------------- /data/pubmed_multilabel/label2count.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/pubmed_multilabel/label2count.json -------------------------------------------------------------------------------- /data/pubmed_multilabel/label2id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data/pubmed_multilabel/label2id.json -------------------------------------------------------------------------------- /data_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data_preprocess.py -------------------------------------------------------------------------------- /data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/data_utils.py -------------------------------------------------------------------------------- /graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/graph.py -------------------------------------------------------------------------------- /htc_baselines/hgclr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/.gitignore -------------------------------------------------------------------------------- /htc_baselines/hgclr/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/LICENSE -------------------------------------------------------------------------------- /htc_baselines/hgclr/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/README.md -------------------------------------------------------------------------------- /htc_baselines/hgclr/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/eval.py -------------------------------------------------------------------------------- /htc_baselines/hgclr/model/contrast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/model/contrast.py -------------------------------------------------------------------------------- /htc_baselines/hgclr/model/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/model/graph.py -------------------------------------------------------------------------------- /htc_baselines/hgclr/model/hier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/model/hier.py -------------------------------------------------------------------------------- /htc_baselines/hgclr/model/optim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/model/optim.py -------------------------------------------------------------------------------- /htc_baselines/hgclr/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/test.py -------------------------------------------------------------------------------- /htc_baselines/hgclr/test_hgclr_baseline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/test_hgclr_baseline.py -------------------------------------------------------------------------------- /htc_baselines/hgclr/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/train.py -------------------------------------------------------------------------------- /htc_baselines/hgclr/train_hgclr_baseline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/train_hgclr_baseline.py -------------------------------------------------------------------------------- /htc_baselines/hgclr/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hgclr/utils.py -------------------------------------------------------------------------------- /htc_baselines/hpt/.gitignore: -------------------------------------------------------------------------------- 1 | checkpoints/ 2 | .idea/ -------------------------------------------------------------------------------- /htc_baselines/hpt/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hpt/LICENSE -------------------------------------------------------------------------------- /htc_baselines/hpt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hpt/README.md -------------------------------------------------------------------------------- /htc_baselines/hpt/convert_datasets.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hpt/convert_datasets.ipynb -------------------------------------------------------------------------------- /htc_baselines/hpt/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hpt/eval.py -------------------------------------------------------------------------------- /htc_baselines/hpt/hpt_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hpt/hpt_preprocess.py -------------------------------------------------------------------------------- /htc_baselines/hpt/mymodels/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hpt/mymodels/attention.py -------------------------------------------------------------------------------- /htc_baselines/hpt/mymodels/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hpt/mymodels/graph.py -------------------------------------------------------------------------------- /htc_baselines/hpt/mymodels/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hpt/mymodels/loss.py -------------------------------------------------------------------------------- /htc_baselines/hpt/mymodels/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hpt/mymodels/prompt.py -------------------------------------------------------------------------------- /htc_baselines/hpt/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hpt/test.py -------------------------------------------------------------------------------- /htc_baselines/hpt/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hpt/train.py -------------------------------------------------------------------------------- /htc_baselines/hpt/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/htc_baselines/hpt/utils.py -------------------------------------------------------------------------------- /label_embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/label_embeddings.py -------------------------------------------------------------------------------- /losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/losses.py -------------------------------------------------------------------------------- /mimic_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/mimic_utils.py -------------------------------------------------------------------------------- /model_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/model_utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_experiment/dermatology/dbloss/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/dermatology/dbloss/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/dermatology/finetune/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/dermatology/finetune/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/dermatology/focal/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/dermatology/focal/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/dermatology/hgclr/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/dermatology/hgclr/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/dermatology/hpt/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/dermatology/hpt/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/dermatology/mixup/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/dermatology/mixup/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/dermatology/selfcon/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/dermatology/selfcon/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/dermatology/supcon/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/dermatology/supcon/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/dermatology/text2tree/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/dermatology/text2tree/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/gastroenterology/dbloss/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/gastroenterology/dbloss/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/gastroenterology/finetune/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/gastroenterology/finetune/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/gastroenterology/focal/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/gastroenterology/focal/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/gastroenterology/hgclr/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/gastroenterology/hgclr/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/gastroenterology/hpt/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/gastroenterology/hpt/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/gastroenterology/mixup/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/gastroenterology/mixup/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/gastroenterology/selfcon/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/gastroenterology/selfcon/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/gastroenterology/supcon/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/gastroenterology/supcon/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/gastroenterology/text2tree/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/gastroenterology/text2tree/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/inpatient/dbloss/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/inpatient/dbloss/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/inpatient/finetune/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/inpatient/finetune/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/inpatient/focal/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/inpatient/focal/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/inpatient/hgclr/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/inpatient/hgclr/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/inpatient/hpt/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/inpatient/hpt/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/inpatient/mixup/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/inpatient/mixup/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/inpatient/selfcon/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/inpatient/selfcon/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/inpatient/supcon/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/inpatient/supcon/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/inpatient/text2tree/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/inpatient/text2tree/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/mimic3-top50/dbloss/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/mimic3-top50/dbloss/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/mimic3-top50/finetune/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/mimic3-top50/finetune/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/mimic3-top50/focal/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/mimic3-top50/focal/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/mimic3-top50/hgclr/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/mimic3-top50/hgclr/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/mimic3-top50/hpt/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/mimic3-top50/hpt/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/mimic3-top50/mixup/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/mimic3-top50/mixup/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/mimic3-top50/selfcon/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/mimic3-top50/selfcon/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/mimic3-top50/supcon/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/mimic3-top50/supcon/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/mimic3-top50/text2tree/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/mimic3-top50/text2tree/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/pubmed_multilabel/dbloss/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/pubmed_multilabel/dbloss/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/pubmed_multilabel/finetune/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/pubmed_multilabel/finetune/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/pubmed_multilabel/focal/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/pubmed_multilabel/focal/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/pubmed_multilabel/hgclr/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/pubmed_multilabel/hgclr/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/pubmed_multilabel/hpt/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/pubmed_multilabel/hpt/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/pubmed_multilabel/mixup/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/pubmed_multilabel/mixup/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/pubmed_multilabel/selfcon/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/pubmed_multilabel/selfcon/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/pubmed_multilabel/supcon/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/pubmed_multilabel/supcon/grid_search.sh -------------------------------------------------------------------------------- /run_experiment/pubmed_multilabel/text2tree/grid_search.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/run_experiment/pubmed_multilabel/text2tree/grid_search.sh -------------------------------------------------------------------------------- /trainer_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jyansir/Text2Tree/HEAD/trainer_utils.py --------------------------------------------------------------------------------