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

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 / resources /fonts
25.5 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
puhuilab's picture
puhuilab
Upload folder using huggingface_hub
f75ac71 verified 12 months ago
  • FZYTK.TTF
    3.24 MB
    xet
    Upload folder using huggingface_hub 12 months ago
  • cyrillic.ttf
    56.2 kB
    Upload folder using huggingface_hub 12 months ago
  • japan.ttc
    3.48 MB
    xet
    Upload folder using huggingface_hub 12 months ago
  • korean.ttf
    1.22 MB
    xet
    Upload folder using huggingface_hub 12 months ago
  • 方正宋黑.TTF
    17.5 MB
    xet
    Upload folder using huggingface_hub 12 months ago