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

paran3xus
/
typress_ocr

Image-to-Text
Transformers
Safetensors
vision-encoder-decoder
image-text-to-text
trocr
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use paran3xus/typress_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="paran3xus/typress_ocr")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultimodalLM
    
    tokenizer = AutoTokenizer.from_pretrained("paran3xus/typress_ocr")
    model = AutoModelForMultimodalLM.from_pretrained("paran3xus/typress_ocr")
  • Notebooks
  • Google Colab
  • Kaggle
typress_ocr
118 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
paran3xus's picture
paran3xus
Update README.md
e64972b verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    841 Bytes
    Update README.md almost 2 years ago
  • config.json
    4.61 kB
    Upload 7 files almost 2 years ago
  • generation_config.json
    206 Bytes
    Upload 7 files almost 2 years ago
  • model.safetensors
    118 MB
    xet
    Upload 7 files almost 2 years ago
  • preprocessor_config.json
    450 Bytes
    Upload 7 files almost 2 years ago
  • special_tokens_map.json
    964 Bytes
    Upload 7 files almost 2 years ago
  • tokenizer.json
    40.6 kB
    Upload 7 files almost 2 years ago
  • tokenizer_config.json
    1.18 kB
    Upload 7 files almost 2 years ago