I am trying to load pre-trained LayoutLM model. I have downloaded the pre-trained model from https://drive.google.com/open?id=1Htp3vq8y2VRoTAwpHbwKM0lzZ2ByB8xM 3. It has only the state_dict and not the model itself.
I am using the classes given on the following link for model definition transformers.models.layoutlm.modeling_layoutlm — transformers 4.5.0.dev0 documentation 7
Am I on the right path?