This fixes an issue with model saving where the concrete function cannot be matched correctly
Fixes #1217
Goals :soccer:
Enable transformer-based retrieval models can be saved an reloaded multiple times across different processes
Implementation Details :construction:
When saving and reloading and then saving a model again in a different python process, we encounder some issues with the optional arguments to the call method of the model.
Chaning these to None instead of the boolean default value of False seems to avoid the error.
Testing Details :mag:
Tested reload and save of model from gist in #1217
This fixes an issue with model saving where the concrete function cannot be matched correctly
Fixes #1217
Goals :soccer:
Enable transformer-based retrieval models can be saved an reloaded multiple times across different processes
Implementation Details :construction:
When saving and reloading and then saving a model again in a different python process, we encounder some issues with the optional arguments to the call method of the model.
Chaning these to None instead of the boolean default value of False seems to avoid the error.
Testing Details :mag:
Tested reload and save of model from gist in #1217