# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("tanay/layoutlm-custom")
model = AutoModelForTokenClassification.from_pretrained("tanay/layoutlm-custom")Quick Links
No model card
- Downloads last month
- 13
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="tanay/layoutlm-custom")