Image-to-Text
Transformers
PyTorch
TensorBoard
English
vision-encoder-decoder
image-text-to-text
Generated from Trainer
Instructions to use DunnBC22/trocr-base-printed_captcha_ocr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DunnBC22/trocr-base-printed_captcha_ocr with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("image-to-text", model="DunnBC22/trocr-base-printed_captcha_ocr")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("DunnBC22/trocr-base-printed_captcha_ocr") model = AutoModelForMultimodalLM.from_pretrained("DunnBC22/trocr-base-printed_captcha_ocr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature77ad8d7
-
Update README.md
52f7d20
-
Update README.md
321557b
-
update model card README.md
7cc8af5 -
All Dunn!!!
a66a6da -
Training in progress, epoch 3
c0145d1 -
Training in progress, epoch 2
dd11744 -
Training in progress, epoch 1
c1a564a -
initial commit
84a696e