Instructions to use microsoft/layoutxlm-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/layoutxlm-base with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/layoutxlm-base", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config to new API for different files
Browse files- config.json +4 -0
config.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
{
|
| 2 |
"attention_probs_dropout_prob": 0.1,
|
| 3 |
"bos_token_id": 0,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"coordinate_size": 128,
|
| 5 |
"eos_token_id": 2,
|
| 6 |
"fast_qkv": false,
|
|
|
|
| 1 |
{
|
| 2 |
"attention_probs_dropout_prob": 0.1,
|
| 3 |
"bos_token_id": 0,
|
| 4 |
+
"configuration_files": [
|
| 5 |
+
"config.json",
|
| 6 |
+
"config.4.13.0.json"
|
| 7 |
+
],
|
| 8 |
"coordinate_size": 128,
|
| 9 |
"eos_token_id": 2,
|
| 10 |
"fast_qkv": false,
|