best way to deploy rednote-hilab/dots.ocr using docker
can any one please suggest best way to deploy. tried using the docker rednotehilab/dots.ocr image but no luck
I try using HF Inference endpoints, but the Playground does not work:
Sending:
{
"model": "rednote-hilab/dots.ocr",
"messages": [
{
"role": "user",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://endpoints.hf.co/media-examples/img1.png"
}
},
{
"type": "text",
"text": "Describe this image in one sentence."
}
]
}
],
"stream": false
}
... it outputs:
{
"id": "chatcmpl-gmeqti",
"object": "chat.completion",
"created": 1761381321,
"model": "rednote-hilab/dots.ocr",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"refusal": null,
"annotations": null,
"audio": null,
"function_call": null,
"tool_calls": [],
"reasoning_content": null
},
"logprobs": null,
"finish_reason": "stop",
"stop_reason": 151673,
"token_ids": null
}
],
"service_tier": null,
"system_fingerprint": null,
"usage": {
"prompt_tokens": 337,
"total_tokens": 338,
"completion_tokens": 1,
"prompt_tokens_details": null
},
"prompt_logprobs": null,
"prompt_token_ids": null,
"kv_transfer_params": null
}
Any clue?