Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

ddobokki
/
ko-trocr

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

Instructions to use ddobokki/ko-trocr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ddobokki/ko-trocr 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="ddobokki/ko-trocr")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForImageTextToText
    
    tokenizer = AutoTokenizer.from_pretrained("ddobokki/ko-trocr")
    model = AutoModelForImageTextToText.from_pretrained("ddobokki/ko-trocr")
  • Notebooks
  • Google Colab
  • Kaggle
ko-trocr
855 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
ddobokki's picture
ddobokki
Update README.md
fe4f13c verified over 1 year ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    2.17 kB
    Update README.md over 1 year ago
  • config.json
    4.73 kB
    init about 3 years ago
  • model.safetensors
    427 MB
    xet
    Adding `safetensors` variant of this model (#1) over 2 years ago
  • preprocessor_config.json
    364 Bytes
    init about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.LongStorage",
    • "torch.HalfStorage"

    What is a pickle import?

    427 MB
    xet
    init about 3 years ago
  • special_tokens_map.json
    125 Bytes
    init about 3 years ago
  • tokenizer.json
    358 kB
    init about 3 years ago
  • tokenizer_config.json
    475 Bytes
    init about 3 years ago
  • vocab.txt
    104 kB
    init about 3 years ago