Instructions to use Mahmoud7/LayoutLMv3_diff with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mahmoud7/LayoutLMv3_diff with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Mahmoud7/LayoutLMv3_diff")# Load model directly from transformers import AutoProcessor, AutoModelForTokenClassification processor = AutoProcessor.from_pretrained("Mahmoud7/LayoutLMv3_diff") model = AutoModelForTokenClassification.from_pretrained("Mahmoud7/LayoutLMv3_diff") - Notebooks
- Google Colab
- Kaggle
Upload LayoutLMv3ForTokenClassification
Browse files- config.json +1 -1
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
| 65 |
"shape_size": 128,
|
| 66 |
"text_embed": true,
|
| 67 |
"torch_dtype": "float32",
|
| 68 |
-
"transformers_version": "4.
|
| 69 |
"type_vocab_size": 1,
|
| 70 |
"visual_embed": true,
|
| 71 |
"vocab_size": 50265
|
|
|
|
| 65 |
"shape_size": 128,
|
| 66 |
"text_embed": true,
|
| 67 |
"torch_dtype": "float32",
|
| 68 |
+
"transformers_version": "4.31.0",
|
| 69 |
"type_vocab_size": 1,
|
| 70 |
"visual_embed": true,
|
| 71 |
"vocab_size": 50265
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:790decad392441a0c4f2a0d02e870b63d447181b4f9fcbafe1cc6bac6587fc18
|
| 3 |
+
size 503784813
|