Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

arkhabbazan
/
ocr-math-captcha

Image-to-Text
Transformers
ONNX
Safetensors
vision-encoder-decoder
image-text-to-text
trocr
ocr
captcha
math-captcha
synthetic-data
Model card Files Files and versions
xet
Community

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")
    # 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
ocr-math-captcha
4.16 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 38 commits
arkhabbazan's picture
arkhabbazan
Delete some files
7c771c6 verified 5 days ago
  • assets
    Delete some files 5 days ago
  • onnx
    Add ONNX weights for transformers.js 5 days ago
  • .gitattributes
    1.52 kB
    initial commit 10 days ago
  • README.md
    2.33 kB
    Publish model card with embedded 2x2 captcha gallery 6 days ago
  • config.json
    3.17 kB
    Update trained OCR captcha model weights 6 days ago
  • generation_config.json
    229 Bytes
    Add ONNX weights for transformers.js 5 days ago
  • model.safetensors
    1.34 GB
    xet
    Update trained OCR captcha model weights 6 days ago
  • preprocessor_config.json
    351 Bytes
    Add ONNX weights for transformers.js 5 days ago
  • processor_config.json
    431 Bytes
    Upload TrOCR processor 10 days ago
  • tokenizer.json
    3.56 MB
    Upload TrOCR processor 10 days ago
  • tokenizer_config.json
    658 Bytes
    Add ONNX weights for transformers.js 5 days ago