Instructions to use imenrebhi/LayoutLMv2-model-pfe2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use imenrebhi/LayoutLMv2-model-pfe2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, LayoutLMv2ForRelationExtraction processor = AutoProcessor.from_pretrained("imenrebhi/LayoutLMv2-model-pfe2") model = LayoutLMv2ForRelationExtraction.from_pretrained("imenrebhi/LayoutLMv2-model-pfe2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download optimizer.pt from imenrebhi/LayoutLMv2-model-pfe2: direct link, hf CLI and curl.
- Browser
- Download file 2.95 GB
-
https://huggingface.co/imenrebhi/LayoutLMv2-model-pfe2/resolve/main/optimizer.pt
- Command line
-
hf download hf://imenrebhi/LayoutLMv2-model-pfe2/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/imenrebhi/LayoutLMv2-model-pfe2/resolve/main/optimizer.pt
2.95 GB
- Xet hash:
- a47b59dbf0bf45a97972224d3ad10f8badfe572a33141b02eac36bbedcdec5cf
- Size of remote file:
- 2.95 GB
- SHA256:
- 310617a29413c080a8d593ac36ff1d6401f28f941d37c38f24326c1a748bfdc0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.