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 pytorch_model.bin from imenrebhi/LayoutLMv2-model-pfe2: direct link, hf CLI and curl.
- Browser
- Download file 1.49 GB
-
https://huggingface.co/imenrebhi/LayoutLMv2-model-pfe2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://imenrebhi/LayoutLMv2-model-pfe2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/imenrebhi/LayoutLMv2-model-pfe2/resolve/main/pytorch_model.bin
1.49 GB
- Xet hash:
- 6b265d0a3b529a55bc764a799a0da2eabe42ac84b894ae507169a6bdabf8697b
- Size of remote file:
- 1.49 GB
- SHA256:
- 7c57143bb1b856ed7248862f13c630bfe92821313055874c2f146119a8631559
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.