Instructions to use microsoft/layoutlm-base-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/layoutlm-base-uncased with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/layoutlm-base-uncased", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
| 10 |
"layer_norm_eps": 1e-12,
|
| 11 |
"max_position_embeddings": 512,
|
| 12 |
"max_2d_position_embeddings": 1024,
|
| 13 |
-
"model_type": "
|
| 14 |
"num_attention_heads": 12,
|
| 15 |
"num_hidden_layers": 12,
|
| 16 |
"num_labels": 2,
|
|
|
|
| 10 |
"layer_norm_eps": 1e-12,
|
| 11 |
"max_position_embeddings": 512,
|
| 12 |
"max_2d_position_embeddings": 1024,
|
| 13 |
+
"model_type": "layoutlm",
|
| 14 |
"num_attention_heads": 12,
|
| 15 |
"num_hidden_layers": 12,
|
| 16 |
"num_labels": 2,
|