Instructions to use pykale/bart-large-ocr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pykale/bart-large-ocr with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("pykale/bart-large-ocr") model = AutoModelForSeq2SeqLM.from_pretrained("pykale/bart-large-ocr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature8e17861 -
Upload tokenizer
Verified signaturea3c5035 -
Upload BartForConditionalGeneration
Verified signature8443c62 -
initial commit
Verified signaturecbef943