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

puhuilab
/
PHOCR

Image-to-Text
Transformers
ONNX
ocr
Model card Files Files and versions
xet
Community

Instructions to use puhuilab/PHOCR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use puhuilab/PHOCR 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="puhuilab/PHOCR")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("puhuilab/PHOCR", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
PHOCR
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
puhuilab's picture
puhuilab
Upload folder using huggingface_hub
942ab45 verified 10 months ago
  • onnx
    Upload folder using huggingface_hub 10 months ago
  • resources
    Upload folder using huggingface_hub 10 months ago
  • .gitattributes
    3.15 kB
    Upload folder using huggingface_hub 10 months ago
  • LICENSE
    1.32 kB
    Upload folder using huggingface_hub 10 months ago
  • README.md
    7.63 kB
    Upload folder using huggingface_hub 10 months ago
  • README_CN.md
    7.51 kB
    Upload folder using huggingface_hub 10 months ago
  • config.json
    0 Bytes
    Upload folder using huggingface_hub 10 months ago
  • configuration.json
    36 Bytes
    Upload folder using huggingface_hub 10 months ago
  • vis.gif
    1.4 MB
    xet
    Upload folder using huggingface_hub 10 months ago