Image-to-Text
Transformers
PyTorch
Safetensors
vision-encoder-decoder
image-text-to-text
donut
vision
Instructions to use TeeA/Horus-OCR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TeeA/Horus-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="TeeA/Horus-OCR")# Load model directly from transformers import AutoTokenizer, AutoModelForImageTextToText tokenizer = AutoTokenizer.from_pretrained("TeeA/Horus-OCR") model = AutoModelForImageTextToText.from_pretrained("TeeA/Horus-OCR") - Notebooks
- Google Colab
- Kaggle
Upload 3 files
Browse files- toa_thuoc_0.png +0 -0
- toa_thuoc_1.png +0 -0
- toa_thuoc_2.png +0 -0
toa_thuoc_0.png
ADDED
|
toa_thuoc_1.png
ADDED
|
toa_thuoc_2.png
ADDED
|