Instructions to use estyle/layoutxlm-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use estyle/layoutxlm-base with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("estyle/layoutxlm-base", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
| 23 |
"max_position_embeddings": 514,
|
| 24 |
"max_rel_2d_pos": 256,
|
| 25 |
"max_rel_pos": 128,
|
| 26 |
-
"model_type": "
|
| 27 |
"num_attention_heads": 12,
|
| 28 |
"num_hidden_layers": 12,
|
| 29 |
"output_past": true,
|
|
|
|
| 23 |
"max_position_embeddings": 514,
|
| 24 |
"max_rel_2d_pos": 256,
|
| 25 |
"max_rel_pos": 128,
|
| 26 |
+
"model_type": "layout_xlm",
|
| 27 |
"num_attention_heads": 12,
|
| 28 |
"num_hidden_layers": 12,
|
| 29 |
"output_past": true,
|