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

TibetanCodexAITeam
/
PechaBridgeOCR

Image-to-Text
Transformers
Safetensors
Tibetan
vision-encoder-decoder
image-text-to-text
ocr
tibetan
document-ai
trocr
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use TibetanCodexAITeam/PechaBridgeOCR 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="TibetanCodexAITeam/PechaBridgeOCR")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultimodalLM
    
    tokenizer = AutoTokenizer.from_pretrained("TibetanCodexAITeam/PechaBridgeOCR")
    model = AutoModelForMultimodalLM.from_pretrained("TibetanCodexAITeam/PechaBridgeOCR", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
PechaBridgeOCR
1.29 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 21 commits
TibetanCodexAITeam's picture
TibetanCodexAITeam
Release OCR checkpoint-184000
1d87586 verified 4 days ago
  • repro
    Release OCR checkpoint-184000 4 days ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    4.51 kB
    Release OCR checkpoint-184000 4 days ago
  • config.json
    3.18 kB
    Release OCR checkpoint-184000 4 days ago
  • generation_config.json
    1.02 kB
    Release OCR checkpoint-184000 4 days ago
  • model.safetensors
    1.29 GB
    xet
    Release OCR checkpoint-184000 4 days ago
  • preprocessor_config.json
    345 Bytes
    Release OCR checkpoint-184000 4 days ago
  • sentencepiece.model
    907 kB
    xet
    Release OCR checkpoint-184000 4 days ago
  • spiece.model
    907 kB
    xet
    Release OCR checkpoint-184000 4 days ago
  • tokenizer_config.json
    451 Bytes
    Release OCR checkpoint-184000 4 days ago