Transformers How to use tensorboy/layoutlm-aadhar-test with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="tensorboy/layoutlm-aadhar-test") # Load model directly
from transformers import AutoProcessor, AutoModelForTokenClassification
processor = AutoProcessor.from_pretrained("tensorboy/layoutlm-aadhar-test")
model = AutoModelForTokenClassification.from_pretrained("tensorboy/layoutlm-aadhar-test")