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")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-classifier") model = AutoModelForSequenceClassification.from_pretrained("impira/layoutlm-document-classifier") - Notebooks
- Google Colab
- Kaggle
Fine tunning on custom data
#4 opened about 1 year ago
by
rohansoftices
Adding `safetensors` variant of this model
#3 opened about 3 years ago
by
SFconvertbot