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