How to use gagan3012/swin_arocr_tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="gagan3012/swin_arocr_tiny")
# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("gagan3012/swin_arocr_tiny") model = AutoModel.from_pretrained("gagan3012/swin_arocr_tiny")