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

tiiuae
/
Falcon-OCR

Image-to-Text
Transformers
Safetensors
falcon_ocr
text-generation
falcon
ocr
vision-language
document-understanding
custom_code
Eval Results
Model card Files Files and versions
xet
Community
12

Instructions to use tiiuae/Falcon-OCR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tiiuae/Falcon-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="tiiuae/Falcon-OCR", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("tiiuae/Falcon-OCR", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Falcon-OCR
1.08 GB
Ctrl+K
Ctrl+K
  • 7 contributors
History: 34 commits
yasserDahou's picture
yasserDahou
boyang-runllama's picture
boyang-runllama
Add ParseBench evaluation results (#12)
ccc96cb 4 days ago
  • .eval_results
    Add ParseBench evaluation results (#12) 4 days ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    18.3 kB
    Update README.md about 2 months ago
  • attention.py
    4.57 kB
    update fused weight code 3 months ago
  • config.json
    746 Bytes
    update fused weights 3 months ago
  • configuration_falcon_ocr.py
    2.22 kB
    Upload folder using huggingface_hub 3 months ago
  • model.safetensors
    1.08 GB
    xet
    update fused weights 3 months ago
  • model_args.json
    822 Bytes
    update fused weights 3 months ago
  • modeling_falcon_ocr.py
    32.9 kB
    Update modeling_falcon_ocr.py (#7) about 2 months ago
  • processing_falcon_ocr.py
    15.5 kB
    Upload folder using huggingface_hub 3 months ago
  • rope.py
    4.69 kB
    Upload folder using huggingface_hub 3 months ago
  • special_tokens_map.json
    9.36 kB
    Upload folder using huggingface_hub 3 months ago
  • tokenizer.json
    5.06 MB
    update fused weights 3 months ago
  • tokenizer_config.json
    4.35 kB
    update fused weights 3 months ago