Typhoon OCR 1.5 2B 8位模型社区资源从哪里获取支持与贡献代码【免费下载链接】typhoon-ocr1.5-2b-8bit项目地址: https://ai.gitcode.com/hf_mirrors/mlx-community/typhoon-ocr1.5-2b-8bitTyphoon OCR 1.5 2B 8位模型是基于Qwen3-VL的视觉语言模型专为泰语和英语文档理解设计能生成结构化输出如Markdown文本、HTML表格、LaTeX公式等。对于使用该模型的新手和普通用户来说了解如何获取社区支持以及贡献代码至关重要。 模型基础与核心功能Typhoon OCR 1.5 2B 8位模型是从typhoon-ai/typhoon-ocr1.5-2b转换为MLX格式的量化模型采用8位量化组大小64 affine模式约9.94位每权重视觉编码器保持较高精度在大致减半模型大小约2.5 GB的同时保留了OCR准确性专为Apple Silicon设计。该模型是文档提取模型非聊天模型需要近乎确定性的解码以避免字符幻觉或表格单元格重复循环。推荐的生成参数如下参数推荐值说明temperature0.0贪婪确定性提取始终选择最自信的令牌SCB10X也发布0.1作为替代repetition_penalty1.1防止模型在密集表格中重复破折号/空白单元格循环通过--repetition-penalty暴露max_tokens4096为完整、密集的页面提供空间top_p0.6仅当temperature 0如0.1时生效mlx_vlm.generateCLI未暴露若提高温度可通过Python采样器或mlx_vlm.server请求体设置 安装与使用指南一键安装步骤要使用该模型首先需要安装mlx-vlm可通过以下命令快速安装pip install -U mlx-vlm最快配置方法安装完成后使用以下命令运行模型python -m mlx_vlm.generate \ --model mlx-community/typhoon-ocr1.5-2b-8bit \ --image page.jpg \ --prompt $(cat prompt.txt) \ --max-tokens 4096 \ --temperature 0.0 \ --repetition-penalty 1.1其中prompt.txt需包含官方提示内容如下Extract all text from the image. Instructions: - Only return the clean Markdown. - Do not include any explanation or extra text. - You must include all information on the page. Formatting Rules: - Tables: Render tables using table.../table in clean HTML format. - Equations: Render equations using LaTeX syntax with inline ($...$) and block ($$...$$). - Images/Charts/Diagrams: Wrap any clearly defined visual areas (e.g. charts, diagrams, pictures) in: figure Describe the images main elements (people, objects, text), note any contextual clues (place, event, culture), mention visible text and its meaning, provide deeper analysis when relevant (especially for financial charts, graphs, or documents), comment on style or architecture if relevant, then give a concise overall summary. Describe in Thai. /figure - Page Numbers: Wrap page numbers in page_number.../page_number (e.g., page_number14/page_number). - Checkboxes: Use the unchecked / checked box characters as appropriate. 获取社区支持虽然项目当前文档中未明确提及专门的社区支持渠道但作为基于MLX格式和Qwen3-VL的模型你可以通过以下途径获取支持官方文档参考项目的README.md文件详细介绍了模型的安装、使用、推荐参数和转换方法等内容是获取基础支持的重要资源。相关工具社区由于模型使用了mlx-vlm工具进行转换和运行你可以关注mlx-vlm的相关社区如GitHub仓库的issue讨论区等获取与工具使用相关的支持。 贡献代码的途径模型转换与优化如果你对模型量化或转换有研究可以参考项目中的转换命令尝试优化转换过程或探索其他量化方式python -m mlx_vlm convert \ --hf-path typhoon-ai/typhoon-ocr1.5-2b \ --mlx-path typhoon-ocr1.5-2b-8bit \ -q --q-bits 8 --q-group-size 64提交改进建议如果你在使用模型过程中发现问题或有改进建议可以通过相关代码仓库的issue功能提交帮助模型不断完善。 许可证信息该模型遵循Apache-2.0许可证继承自基础模型typhoon-ai/typhoon-ocr1.5-2b在使用和贡献代码时需遵守相应的许可条款。要开始使用Typhoon OCR 1.5 2B 8位模型可通过以下命令克隆仓库git clone https://gitcode.com/hf_mirrors/mlx-community/typhoon-ocr1.5-2b-8bit希望本文能帮助你更好地了解Typhoon OCR 1.5 2B 8位模型的社区资源顺利获取支持并参与代码贡献 【免费下载链接】typhoon-ocr1.5-2b-8bit项目地址: https://ai.gitcode.com/hf_mirrors/mlx-community/typhoon-ocr1.5-2b-8bit创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考