diff --git a/notebooks/introductory/Part_4_2_Supervised_Training_and_Meta_annotations.html b/notebooks/introductory/Part_4_2_Supervised_Training_and_Meta_annotations.html index 132a77e..0d8d8a9 100644 --- a/notebooks/introductory/Part_4_2_Supervised_Training_and_Meta_annotations.html +++ b/notebooks/introductory/Part_4_2_Supervised_Training_and_Meta_annotations.html @@ -13799,7 +13799,7 @@
To fine-tune the existing models we use the train_supervised()
method from MedCAT. The method has the following options:
To fine-tune the existing models we use the train_supervised_from_json()
method from MedCAT. The method has the following options:
data_path
- Path to the JSON file exported from MedCATtrainer
reset_cui_count
- Each cui has an internal counter that is used for weight decay, this will reset it.
cat.train_supervised(data_path=DATA_DIR + "MedCAT_Export.json",
- nepochs=1,
- reset_cui_count=False,
- print_stats=True,
- use_filters=True)
+cat.train_supervised_from_json(data_path=DATA_DIR + "MedCAT_Export.json",
+ nepochs=1,
+ reset_cui_count=False,
+ print_stats=True,
+ use_filters=True)