Interestingly, the debug code triggers twice before crashing on the third invocation. Each time the values are different, e.g. the first time it calls embeddings() the length of weight is 52000.
It’s definitely using the config.json, that’s for sure.