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