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

gg4ever
/
trOCR-final

Image-to-Text
Transformers
PyTorch
Korean
vision-encoder-decoder
image-text-to-text
Model card Files Files and versions
xet
Community
1

Instructions to use gg4ever/trOCR-final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use gg4ever/trOCR-final 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="gg4ever/trOCR-final")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultimodalLM
    
    tokenizer = AutoTokenizer.from_pretrained("gg4ever/trOCR-final")
    model = AutoModelForMultimodalLM.from_pretrained("gg4ever/trOCR-final")
  • Notebooks
  • Google Colab
  • Kaggle
trOCR-final
441 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
70bb854 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    1.75 kB
    Update README.md almost 3 years ago
  • config.json
    4.88 kB
    Upload folder using huggingface_hub almost 3 years ago
  • generation_config.json
    273 Bytes
    Upload folder using huggingface_hub almost 3 years ago
  • merges.txt
    738 kB
    Upload folder using huggingface_hub almost 3 years ago
  • model.safetensors
    218 MB
    xet
    Adding `safetensors` variant of this model almost 3 years ago
  • pytorch_model.bin
    218 MB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • special_tokens_map.json
    280 Bytes
    Upload folder using huggingface_hub almost 3 years ago
  • tokenizer.json
    2.67 MB
    Upload folder using huggingface_hub almost 3 years ago
  • tokenizer_config.json
    379 Bytes
    Upload folder using huggingface_hub almost 3 years ago
  • training_args.bin
    3.71 kB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • vocab.json
    1.08 MB
    Upload folder using huggingface_hub almost 3 years ago