Instructions to use BadreddineHug/LayoutLM_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BadreddineHug/LayoutLM_2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="BadreddineHug/LayoutLM_2")# Load model directly from transformers import AutoProcessor, AutoModelForTokenClassification processor = AutoProcessor.from_pretrained("BadreddineHug/LayoutLM_2") model = AutoModelForTokenClassification.from_pretrained("BadreddineHug/LayoutLM_2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
fd8267f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:19ffa1f33fe2c133e016ab9677b52aa5f091b05a7a78b97b87f58b78d6b7dc82
size 3963
|