Instructions to use nielsr/layoutreader-readingbank with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nielsr/layoutreader-readingbank with Transformers:
# Load model directly from transformers import LayoutReaderForSeq2SeqDecoding model = LayoutReaderForSeq2SeqDecoding.from_pretrained("nielsr/layoutreader-readingbank", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Good model performance, slow inference speed is, any optimization tips?
#5
by alejandrocastaneira - opened
Hi, thanks for exporting LayoutReader to the HuggingFace Hub. Performance is quite good. However, we’re seeing slow inference speed. Are there any recommended ways to optimize or speed up inference?
Thanks a lot!