{"_id":"6889ec2029577a514ed82d21","id":"dots-studio/dots.ocr","private":false,"pipeline_tag":"image-text-to-text","library_name":"dots_ocr","tags":["dots_ocr","safetensors","text-generation","image-to-text","ocr","document-parse","layout","table","formula","transformers","custom_code","image-text-to-text","conversational","en","zh","multilingual","license:mit","eval-results","region:us"],"downloads":994885,"likes":1331,"modelId":"dots-studio/dots.ocr","author":"dots-studio","sha":"c0111ce6bc07803dbc267932ffef0ae3a51dc951","lastModified":"2025-10-31T08:49:31.000Z","gated":false,"disabled":false,"widgetData":[{"text":"Hi, what can you help me with?"},{"text":"What is 84 * 3 / 2?"},{"text":"Tell me an interesting fact about the universe!"},{"text":"Explain quantum computing in simple terms."}],"model-index":null,"config":{"architectures":["DotsOCRForCausalLM"],"model_type":"dots_ocr","auto_map":{"AutoConfig":"configuration_dots.DotsOCRConfig","AutoModelForCausalLM":"modeling_dots_ocr.DotsOCRForCausalLM"},"processor_config":{"chat_template":"{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{%- for m in messages %}{%- if m.role == 'system' %}{{- '<|system|>' + m.content + '<|endofsystem|>\n' }}{%- elif m.role == 'user' %}{% if m.content is string %}{{- '<|user|>' + m.content + '<|endofuser|>' }}{% else %} {% for content in m.content %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|img|><|imgpad|><|endofimg|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|img|><|video_pad|><|endofimg|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}{%- endif %}{%- elif m.role == 'assistant' %}{{- '<|assistant|>' + m.content }}{%- if not loop.last %}{{- '<|endofassistant|>' }}{%- endif %}{%- endif %}{%- endfor %}{%- if messages[-1].role != 'assistant' %}{{- '<|assistant|>' }}{%- endif %}"},"tokenizer_config":{"bos_token":null,"chat_template":"{%- for m in messages %}\n    {%- if m.role == 'system' %}\n        {{- '<|system|>' + m.content + '<|endofsystem|>\\n' }}\n    {%- elif m.role == 'user' %}\n        {{- '<|user|>' + m.content + '<|endofuser|>' }}\n    {%- elif m.role == 'assistant' %}\n        {{- '<|assistant|>' + m.content }}\n        {%- if not loop.last %}\n            {{- '<|endofassistant|>' }}\n        {%- endif %}\n    {%- endif %}\n{%- endfor %}\n{%- if messages[-1].role != 'assistant' %}\n    {{- '<|assistant|>' }}\n{%- endif %}","eos_token":"<|endoftext|>","pad_token":"[PAD]","unk_token":null}},"cardData":{"license":"mit","library_name":"dots_ocr","pipeline_tag":"image-text-to-text","tags":["image-to-text","ocr","document-parse","layout","table","formula","transformers","custom_code"],"language":["en","zh","multilingual"]},"transformersInfo":{"auto_model":"AutoModelForCausalLM","custom_class":"modeling_dots_ocr.DotsOCRForCausalLM","pipeline_tag":"text-generation"},"siblings":[{"rfilename":".gitattributes"},{"rfilename":"NOTICE"},{"rfilename":"README.md"},{"rfilename":"chat_template.json"},{"rfilename":"config.json"},{"rfilename":"configuration_dots.py"},{"rfilename":"dots.ocr LICENSE AGREEMENT"},{"rfilename":"generation_config.json"},{"rfilename":"merges.txt"},{"rfilename":"model-00001-of-00002.safetensors"},{"rfilename":"model-00002-of-00002.safetensors"},{"rfilename":"model.safetensors.index.json"},{"rfilename":"modeling_dots_ocr.py"},{"rfilename":"modeling_dots_ocr_vllm.py"},{"rfilename":"modeling_dots_vision.py"},{"rfilename":"preprocessor_config.json"},{"rfilename":"special_tokens_map.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer_config.json"},{"rfilename":"vocab.json"}],"spaces":["embedl/hfviewer","VIDraft/global-llm-leaderboard","MohamedRashad/Dots-OCR","prithivMLmods/Super-OCRs-Demo","ysharma/OPF-Image-Anonymizer","finebooks/bhl-ocr-leaderboard","trevorpfiz/VLM-playground","baohuynhbk14/Dots-mOCR_DEMO","chanukya-aiplanet/Arabic-OCR","helenai/check-optimum-intel-support","Pradeep018/Dots-OCR","Ahmed-a-Labib/Arabic-OCR","redhairedshanks1/dots-ocr","aquanode/gpu-vram-calculator","openfree/Dots-OCR","algoryn/kybocr","moahmmed1245/dots_ocra","ykxdyy/dots-ocr-demo","wjbmattingly/Dots-OCR-larger","algoryn/dots-ocr-idcard","arnabkar101/dotsocr-space","MrGo2/dots-ocr","VanguardAI/Arabic_OCR","isseygino911/dots-ocr-parser","yahtzee/Dots-OCR","phungta/dotsocr-gradio-api","Hyunsang/pdf_to_pptx","hexiydev/Dots-OCR","ZuiFengTing/Multimodal-OCR3","notiv/Super-OCRs-Demo","kaldan/Dots-OCR","openpecha/bec-dot.orc-api","giarom/Multimodal-OCR3","mrbubbaz/dots-ocr","kunal-maurya/BookLeaf-Cover-Validator","Maksim-Oncoshot/Qwen3.5-VL-Space-Sample","ysharma/OPF-Image-Anonymizer-cp","mike2505/Super-OCRs-Demo","Kietttqe/demoocr-dotsocr-ocr","zussnikita/inochi-ocr-dots","Syncre/arabic-audio-reader-worker","Karkavelraja/OCR_STUDIO","pranaysuyash/shopstack"],"createdAt":"2025-07-30T09:55:44.000Z","safetensors":{"parameters":{"BF16":3039179264},"total":3039179264},"usedStorage":6078431736}