├── 1st Place ├── LICENSE ├── Makefile ├── README.md ├── download_medical_abbreviations.sh ├── reports │ └── DrivenData-Competition-Winner-Documentation.pdf ├── requirements.txt └── src │ ├── make_inference_env.py │ ├── mimic_common.py │ ├── mimic_dev_main.py │ ├── mimic_postprocess_attributes.py │ ├── mimic_predict.py │ ├── mimic_submission_main.py │ ├── mimic_train.py │ ├── note_scoring.py │ ├── process_data.py │ └── scoring.py ├── 2nd Place ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── configs │ └── snom.yaml ├── docker │ └── Dockerfile ├── pyproject.toml ├── reports │ └── DrivenData-Competition-Winner-Documentation.pdf ├── src │ ├── cut_headers.py │ ├── data.py │ ├── embeds.py │ ├── main.py │ ├── model.py │ ├── preprocess.py │ ├── snomed_graph.py │ ├── static_dict.py │ └── train.py └── submission │ ├── first_stage.py │ ├── first_stage_postprocess.py │ ├── infer.py │ ├── iou.py │ ├── main.py │ ├── model.py │ ├── second_stage.py │ ├── second_stage_postprocess.py │ └── static_dict.py ├── 3rd Place ├── Finetuning-Classification.py ├── Finetuning-Entity-Recognition.py ├── LICENSE ├── README.md ├── assets │ └── prompts │ │ ├── prompt.txt │ │ ├── prompt_classification_v1.txt │ │ └── prompt_classification_v1_train.txt ├── faiss_classification_data_preparation.py ├── faiss_db_preparation.py ├── main.py ├── process_data.py ├── remove-add-lists.py ├── reports │ └── DrivenData-Competition-Winner-Documentation.pdf ├── requirements_snomed.yml ├── src │ ├── config.py │ ├── document.py │ ├── lora_merge.py │ ├── metrics.py │ ├── model │ │ └── vLLM.py │ ├── scoring.py │ ├── snomedctentitylinking.py │ └── vectorDB.py └── train.sh ├── LICENSE └── README.md /1st Place/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/LICENSE -------------------------------------------------------------------------------- /1st Place/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/Makefile -------------------------------------------------------------------------------- /1st Place/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/README.md -------------------------------------------------------------------------------- /1st Place/download_medical_abbreviations.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/download_medical_abbreviations.sh -------------------------------------------------------------------------------- /1st Place/reports/DrivenData-Competition-Winner-Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/reports/DrivenData-Competition-Winner-Documentation.pdf -------------------------------------------------------------------------------- /1st Place/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/requirements.txt -------------------------------------------------------------------------------- /1st Place/src/make_inference_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/src/make_inference_env.py -------------------------------------------------------------------------------- /1st Place/src/mimic_common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/src/mimic_common.py -------------------------------------------------------------------------------- /1st Place/src/mimic_dev_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/src/mimic_dev_main.py -------------------------------------------------------------------------------- /1st Place/src/mimic_postprocess_attributes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/src/mimic_postprocess_attributes.py -------------------------------------------------------------------------------- /1st Place/src/mimic_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/src/mimic_predict.py -------------------------------------------------------------------------------- /1st Place/src/mimic_submission_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/src/mimic_submission_main.py -------------------------------------------------------------------------------- /1st Place/src/mimic_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/src/mimic_train.py -------------------------------------------------------------------------------- /1st Place/src/note_scoring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/src/note_scoring.py -------------------------------------------------------------------------------- /1st Place/src/process_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/src/process_data.py -------------------------------------------------------------------------------- /1st Place/src/scoring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/1st Place/src/scoring.py -------------------------------------------------------------------------------- /2nd Place/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/.gitignore -------------------------------------------------------------------------------- /2nd Place/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/LICENSE -------------------------------------------------------------------------------- /2nd Place/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/Makefile -------------------------------------------------------------------------------- /2nd Place/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/README.md -------------------------------------------------------------------------------- /2nd Place/configs/snom.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/configs/snom.yaml -------------------------------------------------------------------------------- /2nd Place/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/docker/Dockerfile -------------------------------------------------------------------------------- /2nd Place/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/pyproject.toml -------------------------------------------------------------------------------- /2nd Place/reports/DrivenData-Competition-Winner-Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/reports/DrivenData-Competition-Winner-Documentation.pdf -------------------------------------------------------------------------------- /2nd Place/src/cut_headers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/src/cut_headers.py -------------------------------------------------------------------------------- /2nd Place/src/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/src/data.py -------------------------------------------------------------------------------- /2nd Place/src/embeds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/src/embeds.py -------------------------------------------------------------------------------- /2nd Place/src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/src/main.py -------------------------------------------------------------------------------- /2nd Place/src/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/src/model.py -------------------------------------------------------------------------------- /2nd Place/src/preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/src/preprocess.py -------------------------------------------------------------------------------- /2nd Place/src/snomed_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/src/snomed_graph.py -------------------------------------------------------------------------------- /2nd Place/src/static_dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/src/static_dict.py -------------------------------------------------------------------------------- /2nd Place/src/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/src/train.py -------------------------------------------------------------------------------- /2nd Place/submission/first_stage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/submission/first_stage.py -------------------------------------------------------------------------------- /2nd Place/submission/first_stage_postprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/submission/first_stage_postprocess.py -------------------------------------------------------------------------------- /2nd Place/submission/infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/submission/infer.py -------------------------------------------------------------------------------- /2nd Place/submission/iou.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/submission/iou.py -------------------------------------------------------------------------------- /2nd Place/submission/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/submission/main.py -------------------------------------------------------------------------------- /2nd Place/submission/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/submission/model.py -------------------------------------------------------------------------------- /2nd Place/submission/second_stage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/submission/second_stage.py -------------------------------------------------------------------------------- /2nd Place/submission/second_stage_postprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/submission/second_stage_postprocess.py -------------------------------------------------------------------------------- /2nd Place/submission/static_dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/2nd Place/submission/static_dict.py -------------------------------------------------------------------------------- /3rd Place/Finetuning-Classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/Finetuning-Classification.py -------------------------------------------------------------------------------- /3rd Place/Finetuning-Entity-Recognition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/Finetuning-Entity-Recognition.py -------------------------------------------------------------------------------- /3rd Place/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/LICENSE -------------------------------------------------------------------------------- /3rd Place/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/README.md -------------------------------------------------------------------------------- /3rd Place/assets/prompts/prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/assets/prompts/prompt.txt -------------------------------------------------------------------------------- /3rd Place/assets/prompts/prompt_classification_v1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/assets/prompts/prompt_classification_v1.txt -------------------------------------------------------------------------------- /3rd Place/assets/prompts/prompt_classification_v1_train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/assets/prompts/prompt_classification_v1_train.txt -------------------------------------------------------------------------------- /3rd Place/faiss_classification_data_preparation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/faiss_classification_data_preparation.py -------------------------------------------------------------------------------- /3rd Place/faiss_db_preparation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/faiss_db_preparation.py -------------------------------------------------------------------------------- /3rd Place/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/main.py -------------------------------------------------------------------------------- /3rd Place/process_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/process_data.py -------------------------------------------------------------------------------- /3rd Place/remove-add-lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/remove-add-lists.py -------------------------------------------------------------------------------- /3rd Place/reports/DrivenData-Competition-Winner-Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/reports/DrivenData-Competition-Winner-Documentation.pdf -------------------------------------------------------------------------------- /3rd Place/requirements_snomed.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/requirements_snomed.yml -------------------------------------------------------------------------------- /3rd Place/src/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/src/config.py -------------------------------------------------------------------------------- /3rd Place/src/document.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/src/document.py -------------------------------------------------------------------------------- /3rd Place/src/lora_merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/src/lora_merge.py -------------------------------------------------------------------------------- /3rd Place/src/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/src/metrics.py -------------------------------------------------------------------------------- /3rd Place/src/model/vLLM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/src/model/vLLM.py -------------------------------------------------------------------------------- /3rd Place/src/scoring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/src/scoring.py -------------------------------------------------------------------------------- /3rd Place/src/snomedctentitylinking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/src/snomedctentitylinking.py -------------------------------------------------------------------------------- /3rd Place/src/vectorDB.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/src/vectorDB.py -------------------------------------------------------------------------------- /3rd Place/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/3rd Place/train.sh -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drivendataorg/snomed-ct-entity-linking/HEAD/README.md --------------------------------------------------------------------------------