Instructions to use vikp/surya_layout3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vikp/surya_layout3 with Transformers:
# Load model directly from transformers import EfficientViTForSemanticSegmentation model = EfficientViTForSemanticSegmentation.from_pretrained("vikp/surya_layout3", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Import and Load The Model
#1
by ShalevHabany - opened
Hello
Does someone succeded to import and load the pretrained model (without using the surya ocr repo and only use this huggingface model).
I have tried to load it a lot however I get import errors about the efficient vit even when I upgrade transformers huggingface_hub and etc.