Downloads · 30 days
30
14% of all-time downloads
octopusmegalopod/lfm-zh-ocr-plain-test-gguf
lfm-zh-ocr-plain-test-gguf is a machine learning model from octopusmegalopod. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a heavily fine-tuned variant of LFM2-VL-1.6B for OCR'ing Chinese text in images.
Downloads · 30 days
30
14% of all-time downloads
All-time downloads
221
Public
Repo size
1.2 GB
Likes
0
Public
Click a slice to open those files.
.gguf1.2 GB · 100%
From the Hugging Face model README
This is a heavily fine-tuned variant of LFM2-VL-1.6B for OCR'ing Chinese text in images.
This model expects a single-turn conversation, where the user inputs a specific text instruction followed by the image, e.g:
messages = [
{
'role': 'user',
'content': [
{
'type': 'text',
'text': "OCR the Chinese text in this image without any explanation.",
},
{
'type': 'image_url',
'image_url': {
'url': image_to_base64(image),
}
}
]
}
]
This model was NOT trained to OCR entire pages of text as-is. For best results pass in an image containing a single line of text.