I was looking for finetuning a previously trained model because I no longer have access to the training data.
I see that Classifier have a create_base_model(filename, exists_ok=False) function. I was able to save the same model weights. But I'm not sure how to load the saved weights as a base model.
When I used something like new_model = Classifier(base_model="<model_file_name>", it tells me the base_model should be an object with "settings" rather than a string.
Or should I just load the model using new_model = Classifier.load("<model_file_name>") and do new_model.fit(train, test) directly?
Thanks!
I was looking for finetuning a previously trained model because I no longer have access to the training data.
I see that Classifier have a
create_base_model(filename, exists_ok=False)function. I was able to save the same model weights. But I'm not sure how to load the saved weights as a base model.When I used something like
new_model = Classifier(base_model="<model_file_name>", it tells me the base_model should be an object with "settings" rather than a string.Or should I just load the model using
new_model = Classifier.load("<model_file_name>")and donew_model.fit(train, test)directly?Thanks!