{"_id":"691bf158b9d00158e25b2851","id":"tencent/HunyuanOCR","private":false,"pipeline_tag":"image-text-to-text","library_name":"transformers","tags":["transformers","safetensors","hunyuan_vl","image-text-to-text","ocr","vision-language-model","document-parsing","text-spotting","information-extraction","text-image-translation","conversational","multilingual","en","zh","arxiv:2607.04884","license:other","eval-results","endpoints_compatible","region:us"],"downloads":717348,"likes":824,"modelId":"tencent/HunyuanOCR","author":"tencent","sha":"47644ecc4fc854efa4f505155158831f36773ee4","lastModified":"2026-08-28T16:20:03.000Z","gated":false,"disabled":false,"model-index":null,"config":{"architectures":["HunYuanVLForConditionalGeneration"],"model_type":"hunyuan_vl","tokenizer_config":{"bos_token":"<｜hy_begin▁of▁sentence｜>","eos_token":"<｜hy_Assistant｜>","pad_token":"<｜hy_▁pad▁｜>"},"chat_template_jinja":"{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% if messages[0]['content'] is string %}{% set system_message = messages[0]['content'] %}{% else %}{% set system_message = messages[0]['content']['text'] %}{% endif %}<｜hy_begin▁of▁sentence｜>{{ system_message }}<｜hy_place▁holder▁no▁3｜>{% else %}{% set loop_messages = messages %}<｜hy_begin▁of▁sentence｜>{% endif %}{% for message in loop_messages %}{% if message['role'] == 'user' %}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}<｜hy_place▁holder▁no▁100｜><｜hy_place▁holder▁no▁102｜><｜hy_place▁holder▁no▁101｜>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}<｜hy_User｜>{% elif message['role'] == 'assistant' %}{{ message['content'] }}<｜hy_Assistant｜>{% endif %}{% endfor %}"},"cardData":{"license":"other","license_name":"tencent-hunyuan-community","license_link":"https://huggingface.co/tencent/HunyuanOCR/blob/main/LICENSE","language":["multilingual","en","zh"],"tags":["ocr","vision-language-model","document-parsing","text-spotting","information-extraction","text-image-translation"],"pipeline_tag":"image-text-to-text","library_name":"transformers"},"transformersInfo":{"auto_model":"AutoModelForMultimodalLM","pipeline_tag":"image-text-to-text","processor":"AutoProcessor"},"siblings":[{"rfilename":".gitattributes"},{"rfilename":"LICENSE"},{"rfilename":"README.md"},{"rfilename":"assets/HyOCR_1_5_teaser.png"},{"rfilename":"chat_template.jinja"},{"rfilename":"config.json"},{"rfilename":"dflash/.gitattributes"},{"rfilename":"dflash/README.md"},{"rfilename":"dflash/chat_template.jinja"},{"rfilename":"dflash/config.json"},{"rfilename":"dflash/dflash.py"},{"rfilename":"dflash/model.safetensors"},{"rfilename":"dflash/processor_config.json"},{"rfilename":"dflash/tokenizer.json"},{"rfilename":"dflash/tokenizer_config.json"},{"rfilename":"generation_config.json"},{"rfilename":"model.safetensors"},{"rfilename":"preprocessor_config.json"},{"rfilename":"special_tokens_map.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer_config.json"},{"rfilename":"v1.0/.gitattributes"},{"rfilename":"v1.0/.gitignore"},{"rfilename":"v1.0/LICENSE"},{"rfilename":"v1.0/README.md"},{"rfilename":"v1.0/config.json"},{"rfilename":"v1.0/generation_config.json"},{"rfilename":"v1.0/model-00001-of-00004.safetensors"},{"rfilename":"v1.0/model-00002-of-00004.safetensors"},{"rfilename":"v1.0/model-00003-of-00004.safetensors"},{"rfilename":"v1.0/model-00004-of-00004.safetensors"},{"rfilename":"v1.0/model.safetensors.index.json"},{"rfilename":"v1.0/preprocessor_config.json"},{"rfilename":"v1.0/special_tokens_map.json"},{"rfilename":"v1.0/tokenizer.json"},{"rfilename":"v1.0/tokenizer_config.json"},{"rfilename":"video_preprocessor_config.json"}],"spaces":["embedl/hfviewer","aquanode/gpu-vram-calculator","tencent/HunyuanOCR","victor/HunyuanOCR-EN","yakki233/lab","Edge-Quant/HunyuanOCR-ENGLISH","KarthiEz/HunyuanEz","mirix/LetzHunt","notiv/Super-OCRs-Demo","mike2505/Super-OCRs-Demo","recentechstudio/HunyuanOCR","Battlecon/HunyuanOCR","LuxeFats/pdf-to-markdown","lucashf0/HunyuanOCR","PaoHi/HunyuanOCR","Alexxu0520/HunyuanOCR-EN","GF-John/svlm-council","stevafernandes/Fine-Tuning-HunyuanOCR","thangvckeygen/OCR-Demo","Jyoti40211/HunyuanOCR"],"createdAt":"2025-11-18T04:08:56.000Z","safetensors":{"parameters":{"BF16":1119925744},"total":1119925744},"usedStorage":4597009948}