Image-to-Text
Transformers
Safetensors
dots_ocr
text-generation
ocr
document-parse
layout
table
formula
quantized
4-bit precision
custom_code
bitsandbytes
Instructions to use helizac/dots.ocr-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use helizac/dots.ocr-4bit 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="helizac/dots.ocr-4bit", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("helizac/dots.ocr-4bit", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature4186cee -
Update README.md
Verified signature2b87f07 -
Update README.md
Verified signaturee2b53a5 -
Update README.md
Verified signature642ff82 -
Update modeling_dots_vision.py
Verified signatureafbffaa -
Update modeling_dots_ocr_vllm.py
Verified signature787ae1a -
Update modeling_dots_ocr.py
Verified signature811b71a -
Update modeling_dots_ocr_vllm.py
Verified signaturecb5730d -
Update modeling_dots_vision.py
Verified signatured0d0587 -
Update modeling_dots_ocr.py
Verified signature08ca116 -
Update README.md
Verified signaturef1055a1 -
Update README.md
Verified signature47dead2 -
Upload README.md
Verified signatureac861f4 -
Upload 15 files
Verified signature93dfd4e -
initial commit
Verified signature9e77f53