Updating `safetensors` variant of this model

#8

Updating SafeTensors.

Fix to #30125 in transformers repository (https://github.com/huggingface/transformers/issues/30125)
Root cause of the issue: The existing SafeTensors in 'main' branch does not contains weights of 'embeddings.word_embeddings.weight' layer.

To load model directly from this PR, use:
model = LayoutLMModel.from_pretrained("microsoft/layoutlm-base-uncased", use_safetensors=True, revision="eed6dc69eafa39d65493fe383a003596f565e2e8")

Thanks for handling this and fixing the model weights for users!

amyeroberts changed pull request status to merged

Sign up or log in to comment