Hi again,
The model_max_len default seems to be initialized in the modelling class itself. See for example Retribert 1 and how it gets set in the tokenizer for the official HF models, known models and their registered paths. Because the path of my model is not registered with the HF codebase this value does not get set.
Which leaves me confused about how to set model_max_len value even more? 
Vladimir