Function for loading models created with 'aifeducation'.
load_ai_model(model_dir, ml_framework = aifeducation_config$get_framework())
Returns an object of class TextEmbeddingClassifierNeuralNet or TextEmbeddingModel.
Path to the directory where the model is stored.
string
Determines the machine learning framework
for using the model. Possible are ml_framework="pytorch"
for 'pytorch',
ml_framework="tensorflow"
for 'tensorflow', and ml_framework="auto"
.
for using the framework used when saving the model.
Other Saving and Loading:
save_ai_model()