NDLOCR-Lite-HF
77
—
by
u-haru
Code Model
OTHER
New
77 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
使い方pythontransformers
from transformers import AutoModel, pipeline
model = AutoModel.from_pretrained("u-haru/NDLOCR-Lite-HF", trust_remote_code=True)
result = model.predict("/path/to/image.png")
print(result["text"])
batch_result = model.predict(["/path/to/image1.png", "/path/to/image2.png"])
print(batch_result[0]["text"])
ocr = pipeline(
task="ndlocr",
model="u-haru/NDLOCR-Lite-HF",
trust_remote_code=True,
)
print(ocr("/path/to/image.png")["text"])
print(ocr(["/path/to/image1.png", "/path/to/image2.png"])[0]["text"])Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.