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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("ddobokki/ko-trocr") model = AutoModelForMultimodalLM.from_pretrained("ddobokki/ko-trocr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signaturefe4f13c
-
Update README.md
Verified signature1a6780e
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (ce3d0fe76a0bf80dfa73a476dfce9114a7659424) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>1ffc8e7
-
Update README.md
9da0500 -
edit: model card
eba9b9d -
Create README.md
b4a5c42 -
Create README.md
80bc7f3 -
init
6eedaec -
initial commit
1d4cb9d