From e66f43a6aec7d7c197ab0bd1c903a322262a1931 Mon Sep 17 00:00:00 2001 From: vladd-bit Date: Tue, 2 Jul 2024 11:00:38 +0100 Subject: [PATCH] Services: updated medcat service model dl script. --- .../applications/medcat/models/download_medmen.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/nlp-services/applications/medcat/models/download_medmen.sh b/services/nlp-services/applications/medcat/models/download_medmen.sh index 5dd35511..43988cde 100644 --- a/services/nlp-services/applications/medcat/models/download_medmen.sh +++ b/services/nlp-services/applications/medcat/models/download_medmen.sh @@ -14,15 +14,15 @@ if [[ ! -f "$MODEL_CDB" || ! -f "$MODEL_VCB" ]]; then fi # download the model as described in the MedCAT repo - curl https://medcat.rosalind.kcl.ac.uk/media/vocab.dat > $MODEL_VCB - curl https://medcat.rosalind.kcl.ac.uk/media/cdb-medmen-v1_2.dat > $MODEL_CDB + curl https://cogstack-medcat-example-models.s3.eu-west-2.amazonaws.com/medcat-example-models/vocab.dat > $MODEL_VCB + curl https://cogstack-medcat-example-models.s3.eu-west-2.amazonaws.com/medcat-example-models/cdb-medmen-v1.dat > $MODEL_CDB else echo "MedMentions model already present -- skipping download" fi if [[ ! -d "$MODEL_META" ]]; then echo "Downloading meta model: status" - curl https://medcat.rosalind.kcl.ac.uk/media/mc_status.zip > $MEDMEN_DIR/mc_status.zip && \ + curl https://cogstack-medcat-example-models.s3.eu-west-2.amazonaws.com/medcat-example-models/mc_status.zip > $MEDMEN_DIR/mc_status.zip && \ (cd $MEDMEN_DIR && unzip mc_status.zip) && \ rm $MEDMEN_DIR/mc_status.zip else