Instructions to use impira/layoutlm-document-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use impira/layoutlm-document-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="impira/layoutlm-document-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-classifier") model = AutoModelForSequenceClassification.from_pretrained("impira/layoutlm-document-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
model documentation (#2)
- model documentation (a9944e0a5bc9c364f1e0b767f27a1af16f89e5df) Co-authored-by: Nazneen Rajani <nazneen@users.noreply.huggingface.co>3f2dc7e
-
Update README.md
e07ac2c -
Update README.md
58a930c -
model documentation (#1)
- model documentation (3805bfcc355b99328a1d582b5e4bad3e4e307779) Co-authored-by: Nazneen Rajani <nazneen@users.noreply.huggingface.co>f50a1c9
-
Update README.md
cf920fd -
Initial weights
Ankur Goyalaee39fc -
Initial Commit
Ankur Goyal8cc58cc