Image-to-Text
Transformers
ONNX
Safetensors
vision-encoder-decoder
image-text-to-text
trocr
ocr
captcha
math-captcha
synthetic-data
Instructions to use arkhabbazan/ocr-math-captcha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arkhabbazan/ocr-math-captcha 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="arkhabbazan/ocr-math-captcha")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("arkhabbazan/ocr-math-captcha") model = AutoModelForMultimodalLM.from_pretrained("arkhabbazan/ocr-math-captcha", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Delete some files
Verified signature7c771c6 -
Delete assets/captcha-omex-37-plus-13.png
Verified signaturec2c4eb7 -
Add ONNX weights for transformers.js
Verified signature10c8e5e
-
Publish model card with embedded 2x2 captcha gallery
Verified signature38970db -
Publish model card with embedded 2x2 captcha gallery
Verified signature999e887 -
Upload four embedded 290x90 captcha samples
Verified signaturece6d03b -
Publish model card with embedded 2x2 captcha gallery
Verified signature2660d90 -
Update trained OCR captcha model weights
Verified signature61d79ea
-
Upload four embedded 290x90 captcha samples
Verified signature4a2a534 -
Publish model card with embedded 2x2 captcha gallery
Verified signaturef79af62 -
Publish model card with embedded 2x2 captcha gallery
Verified signature874a801 -
Upload four embedded 290x90 captcha samples
Verified signature06b1f52 -
Update model card with representative captcha samples
Verified signaturef34e5e9 -
Publish model card with spaced 2x2 captcha gallery
Verified signaturef38ece4 -
Upload four uniform 290x90 captcha model-card examples
Verified signature46ada65 -
Update model card with representative captcha samples
Verified signature58a71d1 -
Update model card with representative captcha samples
Verified signature7aaf27f -
Add representative captcha samples to model card
Verified signature7195045 -
Publish complete model card with 2x2 captcha gallery
Verified signatureb26ec8b -
Add uniform 300x100 captcha gallery assets
Verified signature1d837bf -
Display four captcha examples side by side
Verified signaturedd672cf -
Resize model-card captcha gallery to 300x100
Verified signaturebb47da4 -
Update model card with representative captcha samples
Verified signature612e211 -
Update model card with representative captcha samples
Verified signature3c7d384 -
Remove renamed model-card asset assets/omex-new-2.jpeg
Verified signature3d954f9 -
Remove renamed model-card asset assets/math-2.png
Verified signature1635f57 -
Remove renamed model-card asset assets/math-1.png
Verified signature3e80eac -
Add representative captcha samples to model card
Verified signaturec4f1431 -
Update model card with representative captcha samples
Verified signatured3aebdf -
Add representative captcha samples to model card
Verified signatureff2bea8 -
Replace generated model card with V12 documentation
Verified signature43bca1d -
Replace generated model card with V12 documentation
Verified signature84126d1 -
Replace generated model card with V12 documentation
Verified signaturefec5e03 -
Replace generated model card with V12 documentation
Verified signature2aa95f9 -
Update TrOCR processor files
Verified signaturee05ad55 -
Upload TrOCR processor
AlirezaVerified signature1ecee73 -
Upload trained OCR captcha model
AlirezaVerified signature4aaceba -
initial commit
AlirezaVerified signature2799323