Fix model_type
Browse filesThe model_type needs to be set to "layoutlm" in order for it to work with the DocumentQA pipeline (and hence the widget).
- config.json +1 -1
config.json
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
"layer_norm_eps": 1e-05,
|
17 |
"max_2d_position_embeddings": 1024,
|
18 |
"max_position_embeddings": 514,
|
19 |
-
"model_type": "layoutlm
|
20 |
"num_attention_heads": 12,
|
21 |
"num_hidden_layers": 12,
|
22 |
"pad_token_id": 1,
|
|
|
16 |
"layer_norm_eps": 1e-05,
|
17 |
"max_2d_position_embeddings": 1024,
|
18 |
"max_position_embeddings": 514,
|
19 |
+
"model_type": "layoutlm",
|
20 |
"num_attention_heads": 12,
|
21 |
"num_hidden_layers": 12,
|
22 |
"pad_token_id": 1,
|