satbek:

Is it practically possible to parse the state_dict to reconstruct the code for the model?


If you have an idea how the model would look like, e.g. were all parameters called sequentially, you might hack a model definition. Since the forward method is unknown, I don’t think it’s a practical approach.