Kernel is dying on loading pre-trained weights

Get the model architecture

model = TransformerLM(mode=‘eval’)

Load the pre-trained weights

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?