I am trying to create and endpoint for my azureml model. All the examples that I have seen for the moment use models from the library sklearn, so no problem to load the model from .pkl file.
In my case, my model is of a custom class that I wrote my self "bert_based_model".
The problem now is when compiling my score.py file, I get an error :
ModuleNotFoundError: No module named 'bert_based_model'
How can I import my custom model in azureml endpoint?
Thank you.