From d2e3807ade040bbe524f729ea851e1eccfed2051 Mon Sep 17 00:00:00 2001 From: mart-r Date: Tue, 6 May 2025 16:11:31 +0100 Subject: [PATCH 1/2] Update note regarding model automatic conversion from v1 to v2 --- .../introductory/migration/1._Migrate_v1_model_to_v2.ipynb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/notebooks/introductory/migration/1._Migrate_v1_model_to_v2.ipynb b/notebooks/introductory/migration/1._Migrate_v1_model_to_v2.ipynb index c64d617..42e91d8 100644 --- a/notebooks/introductory/migration/1._Migrate_v1_model_to_v2.ipynb +++ b/notebooks/introductory/migration/1._Migrate_v1_model_to_v2.ipynb @@ -10,9 +10,10 @@ "If you've got an existing model built and saved with MedCAT v1, it will need to be converted into MedCAT v2's new format before it can be used.\n", "\n", "PS:\n", - "Technically, one can also convert a v1 model on the fly, automatically.\n", - "Though this can be disabled by setting the enviornmental variable `MEDCAT_AUTO_CONVERT_V1_TO_V2=false`.\n", - "However, this is not always adivisible since it results in much longer load times unless the model is later saved in the new format." + "MedCAT will automatically convert a v1 model to the correct v2 format upon loading.\n", + "Though this behaviour can be disabled by setting the enviornmental variable `MEDCAT_AVOID_LECACY_CONVERSION=true`.\n", + "When automatic conversion is enabled loading v1 models directly results in much longer load times.\n", + "It is generally recommended to instead convert the v1 model manually (saving it on disk) and subsequently loading it normally." ] }, { From 97c2a530174e9dac02442c7294da13833f588499 Mon Sep 17 00:00:00 2001 From: mart-r Date: Tue, 6 May 2025 16:11:44 +0100 Subject: [PATCH 2/2] Add .keep file in migration models folder --- notebooks/introductory/migration/models/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 notebooks/introductory/migration/models/.keep diff --git a/notebooks/introductory/migration/models/.keep b/notebooks/introductory/migration/models/.keep new file mode 100644 index 0000000..e69de29