Instructions to use kha-white/manga-ocr-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kha-white/manga-ocr-base 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="kha-white/manga-ocr-base")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("kha-white/manga-ocr-base") model = AutoModelForMultimodalLM.from_pretrained("kha-white/manga-ocr-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Fix dead link (#1)
Browse files- Fix dead link (dae5dcb5cf328ca65281b360ed95099d76dcebdc)
Co-authored-by: Abdulrazzaq Alhendi <aalhendi@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -11,7 +11,7 @@ datasets:
|
|
| 11 |
|
| 12 |
Optical character recognition for Japanese text, with the main focus being Japanese manga.
|
| 13 |
|
| 14 |
-
It uses [Vision Encoder Decoder](https://huggingface.co/docs/transformers/model_doc/
|
| 15 |
|
| 16 |
Manga OCR can be used as a general purpose printed Japanese OCR, but its main goal was to provide a high quality
|
| 17 |
text recognition, robust against various scenarios specific to manga:
|
|
|
|
| 11 |
|
| 12 |
Optical character recognition for Japanese text, with the main focus being Japanese manga.
|
| 13 |
|
| 14 |
+
It uses [Vision Encoder Decoder](https://huggingface.co/docs/transformers/model_doc/vision-encoder-decoder) framework.
|
| 15 |
|
| 16 |
Manga OCR can be used as a general purpose printed Japanese OCR, but its main goal was to provide a high quality
|
| 17 |
text recognition, robust against various scenarios specific to manga:
|