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")# pip install -U transformers accelerate # 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
Download pytorch_model.bin from kha-white/manga-ocr-base: direct link, hf CLI and curl.
- Browser
- Download file 444 MB
-
https://huggingface.co/kha-white/manga-ocr-base/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://kha-white/manga-ocr-base/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/kha-white/manga-ocr-base/resolve/main/pytorch_model.bin
444 MB
- Xet hash:
- afa79ed670bacf714676a5144a76f63456160008d8508fab62a147500028db55
- Size of remote file:
- 444 MB
- SHA256:
- c63e0bb5b3ff798c5991de18a8e0956c7ee6d1563aca6729029815eda6f5c2eb
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.