model = TransformerLM(mode=‘eval’)
model.init_from_file(‘model.pkl.gz’, weights_only=True)
What should I do to resolve this?
I have the same problem. Does anyone know how to solve this?