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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Duplicated from  sbintuitions/sarashina2.2-ocr

subhash4face
/
sarashina2.2-ocr

Image-to-Text
Transformers
Safetensors
Japanese
English
sarashina2_vision
text-generation
multimodal
ocr
document-understanding
vision-language
custom_code
Model card Files Files and versions
xet
Community

Instructions to use subhash4face/sarashina2.2-ocr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use subhash4face/sarashina2.2-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="subhash4face/sarashina2.2-ocr", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("subhash4face/sarashina2.2-ocr", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
sarashina2.2-ocr / assets
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
subhash4face's picture
subhash4face
Duplicate from sbintuitions/sarashina2.2-ocr
3c75782 12 days ago
  • sample1.jpeg
    278 kB
    xet
    Duplicate from sbintuitions/sarashina2.2-ocr 12 days ago
  • sample1_bbox.jpeg
    286 kB
    xet
    Duplicate from sbintuitions/sarashina2.2-ocr 12 days ago
  • sample1_md.png
    499 kB
    xet
    Duplicate from sbintuitions/sarashina2.2-ocr 12 days ago
  • sample2.jpeg
    786 kB
    xet
    Duplicate from sbintuitions/sarashina2.2-ocr 12 days ago
  • sample2_md.png
    753 kB
    xet
    Duplicate from sbintuitions/sarashina2.2-ocr 12 days ago
  • sample3.jpeg
    445 kB
    xet
    Duplicate from sbintuitions/sarashina2.2-ocr 12 days ago
  • sample3_md.png
    698 kB
    xet
    Duplicate from sbintuitions/sarashina2.2-ocr 12 days ago
  • sample4.jpeg
    358 kB
    xet
    Duplicate from sbintuitions/sarashina2.2-ocr 12 days ago
  • sample4_md.png
    498 kB
    xet
    Duplicate from sbintuitions/sarashina2.2-ocr 12 days ago