id: 31960380172c4955aa34a00ab03acaa7
parent_id: 
item_type: 1
item_id: 499d0e677e3b44e8a78ecfeb1b0d14b0
item_updated_time: 1764345643899
title_diff: "[{\"diffs\":[[1,\"DeepSeek-OCR刷爆全网，已开源！\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":21}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>DeepSeek-OCR刷爆全网，已开源！</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"content-class\\\" content=\\\"yinxiang.peso.superNote\\\"/>\\\r\\\n  <meta name=\\\"application-data:yinxiang.noteLayout\\\" content=\\\"{\\\"lineSpace\\\":\\\"recommend\\\",\\\"paragraphSpace\\\":\\\"recommend\\\"}\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"47463\\\"></a>\\\r\\\n<h1>DeepSeek-OCR刷爆全网，已开源！</h1>\\\r\\\n\\\r\\\n<div><span style=\\\"margin:0px;\\\"><div style=\\\"padding:8px 0px;margin:8px auto;max-width:700px;\\\"> <div><span></span></div>\\\n<p></p>\\\n<div style=\\\"--en-blockquote:true;box-sizing: border-box; padding-left: 19px; padding-top: 6px; padding-bottom: 6px; border-left: 3px solid #b4c0cc; background-position: initial initial; background-repeat: initial initial; margin-top: 6px\\\"><div>原文链接: <a href=\\\"https://mp.weixin.qq.com/s?__biz=MzIxODg1OTk1MA==&amp;mid=2247545896&amp;idx=1&amp;sn=deb695dfc8be983467c6ad2c6f512fe4&amp;chksm=96985ca7f152a951cecb2c515cda7f34cbbb8fbca72a9df6fd14875fae961b4954b2dc5b7a89&amp;mpshare=1&amp;scene=1&amp;srcid=1021PiwYJUY5WLzzysRJY8xp&amp;sharer_shareinfo=5c1705e942004a29b6e9fcaa01d0c86b&amp;sharer_shareinfo_first=5c1705e942004a29b6e9fcaa01d0c86b#rd\\\"><span>https://mp.weixin.qq.com/s?__biz=MzIxODg1OTk1MA==&amp;mid=224754...</span></a></div></div>\\\n<p></p>\\\n<div><span></span></div>\\\n<div style=\\\"-webkit-tap-highlight-color:transparent;\\\"><div style=\\\"-webkit-tap-highlight-color:transparent;\\\"><div style=\\\"-webkit-tap-highlight-color:transparent;\\\"><h1 style=\\\"margin:0;-webkit-tap-highlight-color:transparent\\\"> DeepSeek-OCR刷爆全网，已开源！</h1><div style=\\\"-webkit-tap-highlight-color:transparent;\\\"><span style=\\\"position:relative;-webkit-tap-highlight-color:transparent\\\">原创</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"> JackCui </span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><a style=\\\"position:relative;-webkit-tap-highlight-color:transparent\\\"> JackCui </a></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><em style=\\\"-webkit-tap-highlight-color:transparent\\\"></em></span></div><div style=\\\"-webkit-tap-highlight-color:transparent;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:10px;padding-right:10px;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;font-family:PingFangSC-regular,sans-serif;font-size:16px;color:rgb(0,0,0);line-height:1.5em;word-spacing:0;letter-spacing:0;word-break:break-word;overflow-wrap:break-word;text-align:left\\\"><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">DeepSeek 又双叒叕出圈了！</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">最新发布的 </span><strong style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(239,112,96);font-weight:bold;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;height:auto;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">DeepSeek-OCR</span></strong><span style=\\\"-webkit-tap-highlight-color:transparent\\\"> 刷爆外网，直接冲上 X 热搜。</span></p><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/9f8511d565854c4b8dcf012994014431\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">网友们已经夸疯了。</span></p><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/06fa65e4f8a445498189fb95c8f27dcf\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/93df207ff63d4d3e9fc3af82f2273f39\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/c03a535b9129454a94a2a8c29366d836\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/f0eea47430eb4c969e39f99a9b2e65e3\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/6fbf7d218ea14c9a947be7a3f9eda6a5\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">卡神 Andrej Karpathy 发帖评价：</span></p><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/c45819f7e4464f1f9ac141deed0a7423\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">老马也闪现他的评论区加入讨论：</span></p><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/e440d6952a7b4f4abb26dce9ba68e5d1\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">不到 24 小时，GitHub 星标就突破 </span><strong style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(239,112,96);font-weight:bold;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;height:auto;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">4.3k</span></strong><span style=\\\"-webkit-tap-highlight-color:transparent\\\"> ，还在快速增长中。</span></p><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/4d4872f10663486ebfe52b946a874056\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">不得不说，过去一年来的 OCR 领域就跟下面的表情包一样。</span></p><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/11fbe6546ca6402ca24a8c234e480e6e\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">那这次爆火的 DeepSeek-OCR 究竟有什么不同？</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">指路链接：</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">GitHub ：</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">https://github.com/deepseek-ai/DeepSeek-OCR</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">Hugging Face ：</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">https://huggingface.co/deepseek-ai/DeepSeek-OCR</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">论文链接：</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">https://github.com/deepseek-ai/DeepSeek-OCR/blob/main/DeepSeek_OCR_paper.pdf</span></p><h1 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:24px;color:rgb(0,0,0);line-height:1.5em;letter-spacing:0;text-align:left;font-weight:bold;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">一、上下文光学压缩</span></span></h1><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/3437dc9a74f74ba0baa12e359fe4e7d0\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">DeepSeek-OCR 是一个从 LLM 出发，研究视觉编码器作用的模型，旨在探索</span><strong style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(239,112,96);font-weight:bold;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;height:auto;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">视觉文本压缩</span></strong><span style=\\\"-webkit-tap-highlight-color:transparent\\\">的边界。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">核心目标是：用视觉模态（图像）来压缩长文本上下文，从而解决 LLM 处理长文本时计算量过大的问题。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">这种“光学上下文压缩”可以让模型用更少的 token 保留长文本信息。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">类似于模型可以像看图一样去“看”文字，不用再一行行去“读”。</span></p><h2 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;background-color:rgb(251,251,251);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(255,255,255);background-color:rgb(33,33,34);line-height:2.4em;letter-spacing:0;padding-top:0;padding-bottom:0;padding-left:15px;padding-right:30px;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:40px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;box-shadow:none;display:inline-block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">取得的成效</span></span></h2><blockquote style=\\\"-webkit-tap-highlight-color:transparent;margin-top:20px;margin-bottom:20px;margin-left:0;margin-right:0;padding-top:10px;padding-bottom:10px;padding-left:20px;padding-right:10px;border-top-style:none;border-bottom-style:none;border-left-style:solid;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0.05);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;height:auto;box-shadow:rgba(0,0,0,0) 0 0 0 0;display:block;overflow-x:auto;overflow-y:auto\\\"><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;font-weight:normal;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">用更少的视觉token达到更高精度。</span></p></blockquote><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">实验数据表明：当文本 token 数量在视觉 token 的 10 倍以内（即压缩率 &lt;10×）时，模型可以实现 </span><strong style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(239,112,96);font-weight:bold;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;height:auto;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">97%</span></strong><span style=\\\"-webkit-tap-highlight-color:transparent\\\"> 的解码（OCR）精度。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">即使在 20× 的压缩比下，OCR 精度仍保持在 60% 左右。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">除此之外，DeepSeek-OCR 还展现出很高的实用价值。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">在 OmniDocBench 基准测试上，它仅使用 100 个视觉 token 就超过了 GOT-OCR2.0（256 个 token /页）。使用不到 800 个视觉 token 就优于 MinerU2.0（平均每页 6000+ 个 token ）。</span></p><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/c55c4057793e45e7863793c22afddb57\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">在实际生产中，单张 A100-40G GPU 每天可生成超过 20 万页的 LLM/VLM 训练数据。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">这些数据有力地证明了：把图像作为大模型的“信息压缩介质”，可以实现 7–20× 级别的上下文压缩。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">该结果在 LLM 上的</span><strong style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(239,112,96);font-weight:bold;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;height:auto;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">历史长上下文压缩</span></strong><span style=\\\"-webkit-tap-highlight-color:transparent\\\">和</span><strong style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(239,112,96);font-weight:bold;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;height:auto;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">记忆遗忘机制</span></strong><span style=\\\"-webkit-tap-highlight-color:transparent\\\">等研究领域显示出相当大的前景。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">接下来，一起来看看 DeepSeek-OCR 是怎么做到的。</span></p><h1 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:24px;color:rgb(0,0,0);line-height:1.5em;letter-spacing:0;text-align:left;font-weight:bold;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">二、论文细解</span></span></h1><h2 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;background-color:rgb(251,251,251);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(255,255,255);background-color:rgb(33,33,34);line-height:2.4em;letter-spacing:0;padding-top:0;padding-bottom:0;padding-left:15px;padding-right:30px;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:40px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;box-shadow:none;display:inline-block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">架构</span></span></h2><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/2677a10409f04dd1846d15cf2045ea7c\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">DeepSeek-OCR 使用由编码器和解码器组成的统一端到端 VLM 架构。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><strong style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(239,112,96);font-weight:bold;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;height:auto;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">DeepSeek-OCR = DeepEncoder + DeepSeek3B-MoE</span></strong></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">DeepEncoder 负责提取图像特征并将其压缩为视觉 token。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">解码器用于根据视觉 token 和提示生成所需的结果。</span></p><h3 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;border-top-color:rgb(33,33,34);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:2px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:flex;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(89,89,89);border-top-color:rgb(34,34,34);line-height:1.8em;letter-spacing:0;padding-top:4px;padding-bottom:0;padding-left:6px;padding-right:6px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:2px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">参数规模</span></span></h3><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">DeepEncoder 的参数约为 </span><strong style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(239,112,96);font-weight:bold;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;height:auto;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">380M</span></strong><span style=\\\"-webkit-tap-highlight-color:transparent\\\"> ，主要由一个 80M 大小的 SAM-base 和一个 300M 规模的 CLIP-large 串联组成。解码器采用 3B MoE 架构，激活参数为 570M 。</span></p><h2 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;background-color:rgb(251,251,251);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(255,255,255);background-color:rgb(33,33,34);line-height:2.4em;letter-spacing:0;padding-top:0;padding-bottom:0;padding-left:15px;padding-right:30px;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:40px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;box-shadow:none;display:inline-block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">训练流程</span></span></h2><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">主要包括两个阶段：</span></p><ul style=\\\"margin:0;-webkit-tap-highlight-color:transparent;list-style-type:disc;margin-top:8px;margin-bottom:8px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:25px;padding-right:0;color:rgb(0,0,0)\\\"><li style=\\\"-webkit-tap-highlight-color:transparent\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-top:5px;margin-bottom:5px;color:rgb(1,1,1);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;font-weight:normal\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">独立训练 DeepEncoder</span></span></li><li style=\\\"-webkit-tap-highlight-color:transparent\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin-top:5px;margin-bottom:5px;color:rgb(1,1,1);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;font-weight:normal\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">训练 DeepSeek-OCR</span></span></li></ul><h3 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;border-top-color:rgb(33,33,34);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:2px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:flex;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(89,89,89);border-top-color:rgb(34,34,34);line-height:1.8em;letter-spacing:0;padding-top:4px;padding-bottom:0;padding-left:6px;padding-right:6px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:2px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">训练 DeepEncoder</span></span></h3><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">遵循 Vary 方法，团队采用了一个紧凑的语言模型并且使用下一个 Token 预测的框架来进行训练。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">所有数据共训练 2 个 epoch ，使用带有余弦退火调度器的 AdamW 优化器进行训练，批处理大小为 1280 ，学习率为 5e-5 。训练序列长度为 4096 。</span></p><h3 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;border-top-color:rgb(33,33,34);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:2px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:flex;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(89,89,89);border-top-color:rgb(34,34,34);line-height:1.8em;letter-spacing:0;padding-top:4px;padding-bottom:0;padding-left:6px;padding-right:6px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:2px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">训练 DeepSeek-OCR</span></span></h3><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">接着在 HAI-LLM 平台上采用了流水线并行（ PP ）训练整个模型，一共分为了 4 部分。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">对于 DeepEncoder，团队将 SAM 和压缩器视为视觉 Tokenizer，放在 PP0 上并冻结其参数；同时将 CLIP 部分视为输入嵌入层，放置在具有未冻结权重的 PP1 中进行训练。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">对于语言模型部分，由于 DeepSeek3B-MoE 有 12 层，团队在 PP2 和 PP3 上各放置 6 层。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">模型一共使用了 20 个节点 (每个节点配备了 8 个 A100-40G GPU ) 进行训练，数据并行 ( DP ) 度为 40，全局批处理大小为 640 。优化器仍然使用的是 AdamW，配合基于步进的调度器，初始学习率为 3e-5。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">对于纯文本数据，训练速度为 90B token /天。对于多模态数据，训练速度为 70B token /天。</span></p><h2 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;background-color:rgb(251,251,251);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(255,255,255);background-color:rgb(33,33,34);line-height:2.4em;letter-spacing:0;padding-top:0;padding-bottom:0;padding-left:15px;padding-right:30px;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:40px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;box-shadow:none;display:inline-block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">实验结果</span></span></h2><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">在视觉文本压缩能力方面，团队选择了 Fox 基准测试进行评估。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">对于 Fox 的英文文档部分，团队使用 DeepSeek-OCR 的分词器对基本实况文本进行标记化（词汇量约为 129k ），并选择具有 600-1300 个 token 的文档进行测试。由于文本标记的数量不大，团队只需要在 Tiny 和 Small 模式下测试性能，其中 Tiny 模式对应 64 个 token ，Small 模式对应 100 个 token 。</span></p><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/1b7617c230e44a8d9534bc7fcaf3cd7a\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">可以看到，在 10×的压缩比内，模型的解码精度可以达到 97%左右。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">论文认为：未来，通过文本到图像的方法，或许可以实现近 10×无损上下文压缩。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">当压缩比超过 10×时，性能开始下降，论文认为背后的原因可能有两个：一是长文档的布局变得更加复杂，另一个原因可能是长文本在 512×512 或 640×640 分辨率时变得模糊。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">第一个问题可以通过将文本渲染到单个布局页面上来解决，而第二个问题将成为遗忘机制的一个特征。该遗忘机制在后文会进行介绍。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">当将代币压缩近 20× 时，精度仍然可以接近 60% 。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">这些结果表明，光学上下文压缩是一个非常有前途和值得研究的方向，这种方法不会带来任何开销，因为它可以利用 VLM 基础设施，多模态系统本质上需要一个额外的视觉编码器。</span></p><h2 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;background-color:rgb(251,251,251);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(255,255,255);background-color:rgb(33,33,34);line-height:2.4em;letter-spacing:0;padding-top:0;padding-bottom:0;padding-left:15px;padding-right:30px;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:40px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;box-shadow:none;display:inline-block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">定性研究</span></span></h2><h3 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;border-top-color:rgb(33,33,34);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:2px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:flex;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(89,89,89);border-top-color:rgb(34,34,34);line-height:1.8em;letter-spacing:0;padding-top:4px;padding-bottom:0;padding-left:6px;padding-right:6px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:2px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">深度解析</span></span></h3><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">深度解析是指 DeepSeek-OCR 模型同时具备布局和 OCR 2.0 功能，使其能够通过辅助模型调用进一步解析文档中的图像，包括图表、几何、化学式甚至自然图像。</span></p><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/1a2fcf5620454d5682f26dff80093412\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/0fa54619922141ad9ed2a81e2da7c2cd\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/966d2d4454f846bcb597b12c590aa947\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/e497c32ab12145018c46ebd63eda56f6\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><h3 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;border-top-color:rgb(33,33,34);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:2px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:flex;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(89,89,89);border-top-color:rgb(34,34,34);line-height:1.8em;letter-spacing:0;padding-top:4px;padding-bottom:0;padding-left:6px;padding-right:6px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:2px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">多语言识别</span></span></h3><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">对于 PDF 文档，DeepSeek-OCR 可以处理近 </span><strong style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(239,112,96);font-weight:bold;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;height:auto;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">100</span></strong><span style=\\\"-webkit-tap-highlight-color:transparent\\\"> 种语言。并且多语言文档同样支持布局和非布局 OCR 格式。</span></p><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/2186e064acd74df9b8413565342e254c\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/914f0405414a419b898d59b1a4385426\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><h3 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;border-top-color:rgb(33,33,34);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:2px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:flex;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(89,89,89);border-top-color:rgb(34,34,34);line-height:1.8em;letter-spacing:0;padding-top:4px;padding-bottom:0;padding-left:6px;padding-right:6px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:2px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">通用视觉理解</span></span></h3><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">DeepSeek-OCR 保留了在一般视觉理解方面的能力，主要包括图像描述、物体检测等。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">同时，由于包含纯文本数据，DeepSeek-OCR 的语言功能也得以保留。注意，由于模型训练不包括 SFT（监督微调）阶段，因此该模型不是聊天机器人，某些功能需要完成提示才能激活。</span></p><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/a9e5ae84d4db4642976f835a97aee635\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><h2 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;background-color:rgb(251,251,251);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(255,255,255);background-color:rgb(33,33,34);line-height:2.4em;letter-spacing:0;padding-top:0;padding-bottom:0;padding-left:15px;padding-right:30px;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:40px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;box-shadow:none;display:inline-block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">“光学遗忘机制”</span></span></h2><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">人类记忆会随时间衰减，视觉感知会随空间距离下降，两者都表现出类似的渐进式信息丢失模式。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">论文受这样的自然平行关系启发，提出对于较旧的上下文，可以逐步缩小渲染图像的大小，以进一步减少令牌消耗。</span></p><div style=\\\"-webkit-tap-highlight-color:transparent;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><img src=\\\":/8abcea8d1adf4cefaa8a490988791bc4\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;-webkit-tap-highlight-color:transparent;display:block;margin-top:0;margin-right:auto;margin-bottom:0;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0,0,0,0.4);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;object-fit:fill;box-shadow:rgba(0,0,0,0) 0 0 0 0\\\"/></span></div><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">通过结合这些机制，上下文光学压缩方法实现了一种反映生物遗忘曲线的记忆衰减形式，其中最新信息保持高保真度，而遥远的记忆会随着压缩比的增加而自然消失。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">该方法提出了一条通往理论上无限上下文架构的途径，有待开展进一步的研究。</span></p><h1 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:24px;color:rgb(0,0,0);line-height:1.5em;letter-spacing:0;text-align:left;font-weight:bold;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">三、快速上手</span></span></h1><h2 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;background-color:rgb(251,251,251);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(255,255,255);background-color:rgb(33,33,34);line-height:2.4em;letter-spacing:0;padding-top:0;padding-bottom:0;padding-left:15px;padding-right:30px;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:40px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;box-shadow:none;display:inline-block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">安装</span></span></h2><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">团队使用的环境是 cuda11.8+torch2.6.0 。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">克隆此存储库并导航到 DeepSeek-OCR 文件夹：</span></p><pre style=\\\"-webkit-tap-highlight-color:transparent;border-radius:5px;box-shadow:rgba(0,0,0,0.55) 0 2px 10px;text-align:left;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;display:block;background:none;height:30px;width:100%;background-size:40px;background-repeat:no-repeat;background-color:#282c34;margin-bottom:-7px;border-radius:5px;background-position:10px 10px;background-image:url(https://mmbiz.qpic.cn/mmbiz_svg/3Lqm1xHojtZHrZL6ibKCzaCqEe9Zu5iaPp83sT5FhSW7pK5uT2AoFQIxlRkceVjibfd9G3YPoGoGVGhmLQPibmt4gbpibylicniatOl/640?wx_fmt=svg&amp;from=appmsg)\\\"></span><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">git </span><span style=\\\"-webkit-tap-highlight-color:transparent;color:#e6c07b;line-height:26px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">clone</span></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"> https://github.com/deepseek-ai/DeepSeek-OCR.git</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span></div></pre><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">建立虚拟环境并激活：</span></p><pre style=\\\"-webkit-tap-highlight-color:transparent;border-radius:5px;box-shadow:rgba(0,0,0,0.55) 0 2px 10px;text-align:left;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;display:block;background:none;height:30px;width:100%;background-size:40px;background-repeat:no-repeat;background-color:#282c34;margin-bottom:-7px;border-radius:5px;background-position:10px 10px;background-image:url(https://mmbiz.qpic.cn/mmbiz_svg/3Lqm1xHojtZHrZL6ibKCzaCqEe9Zu5iaPp83sT5FhSW7pK5uT2AoFQIxlRkceVjibfd9G3YPoGoGVGhmLQPibmt4gbpibylicniatOl/640?wx_fmt=svg&amp;from=appmsg)\\\"></span><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">conda create -n deepseek-ocr python=3.12.9 -y</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">conda activate deepseek-ocr</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span></div></pre><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">下载 vllm-0.8.5 whl ：</span></p><pre style=\\\"-webkit-tap-highlight-color:transparent;border-radius:5px;box-shadow:rgba(0,0,0,0.55) 0 2px 10px;text-align:left;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;display:block;background:none;height:30px;width:100%;background-size:40px;background-repeat:no-repeat;background-color:#282c34;margin-bottom:-7px;border-radius:5px;background-position:10px 10px;background-image:url(https://mmbiz.qpic.cn/mmbiz_svg/3Lqm1xHojtZHrZL6ibKCzaCqEe9Zu5iaPp83sT5FhSW7pK5uT2AoFQIxlRkceVjibfd9G3YPoGoGVGhmLQPibmt4gbpibylicniatOl/640?wx_fmt=svg&amp;from=appmsg)\\\"></span><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu118</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">pip install vllm-0.8.5+cu118-cp38-abi3-manylinux1_x86_64.whl</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">pip install -r requirements.txt</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">pip install flash-attn==2.7.3 --no-build-isolation</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span></div></pre><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">注意： 如果希望 vLLM 和 transformers 代码在同一个环境中运行，则无需担心此安装错误，例如：vllm 0.8.5+cu118 需要 transformers&gt;=4.51.1</span></p><h2 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;background-color:rgb(251,251,251);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(255,255,255);background-color:rgb(33,33,34);line-height:2.4em;letter-spacing:0;padding-top:0;padding-bottom:0;padding-left:15px;padding-right:30px;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-top-color:rgb(0,0,0);border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:40px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;box-shadow:none;display:inline-block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">vLLM-推理</span></span></h2><h3 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;border-top-color:rgb(33,33,34);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:2px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:flex;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(89,89,89);border-top-color:rgb(34,34,34);line-height:1.8em;letter-spacing:0;padding-top:4px;padding-bottom:0;padding-left:6px;padding-right:6px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:2px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">VLLM</span></span></h3><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">注意： 更改 </span><code style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(239,112,96);font-size:14px;line-height:1.8em;letter-spacing:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(27,31,35,0.05);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;height:auto;margin-top:0;margin-bottom:0;margin-left:2px;margin-right:2px;padding-top:2px;padding-bottom:2px;padding-left:4px;padding-right:4px;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgb(0,0,0);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;overflow-wrap:break-word;font-family:'Operator Mono',Consolas,Monaco,Menlo,monospace;word-break:break-all\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">DeepSeek-OCR-master/DeepSeek-OCR-vllm/config.py</span></code><span style=\\\"-webkit-tap-highlight-color:transparent\\\"> 中的 </span><code style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(239,112,96);font-size:14px;line-height:1.8em;letter-spacing:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(27,31,35,0.05);background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;width:auto;height:auto;margin-top:0;margin-bottom:0;margin-left:2px;margin-right:2px;padding-top:2px;padding-bottom:2px;padding-left:4px;padding-right:4px;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgb(0,0,0);border-bottom-color:rgba(0,0,0,0.4);border-left-color:rgba(0,0,0,0.4);border-right-color:rgba(0,0,0,0.4);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;overflow-wrap:break-word;font-family:'Operator Mono',Consolas,Monaco,Menlo,monospace;word-break:break-all\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">INPUT_PATH/OUTPUT_PATH</span></code><span style=\\\"-webkit-tap-highlight-color:transparent\\\"> 和其他设置。</span></p><pre style=\\\"-webkit-tap-highlight-color:transparent;border-radius:5px;box-shadow:rgba(0,0,0,0.55) 0 2px 10px;text-align:left;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;display:block;background:none;height:30px;width:100%;background-size:40px;background-repeat:no-repeat;background-color:#282c34;margin-bottom:-7px;border-radius:5px;background-position:10px 10px;background-image:url(https://mmbiz.qpic.cn/mmbiz_svg/3Lqm1xHojtZHrZL6ibKCzaCqEe9Zu5iaPp83sT5FhSW7pK5uT2AoFQIxlRkceVjibfd9G3YPoGoGVGhmLQPibmt4gbpibylicniatOl/640?wx_fmt=svg&amp;from=appmsg)\\\"></span><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;color:#e6c07b;line-height:26px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">cd</span></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"> DeepSeek-OCR-master/DeepSeek-OCR-vllm</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span></div></pre><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">图像：流输出</span></p><pre style=\\\"-webkit-tap-highlight-color:transparent;border-radius:5px;box-shadow:rgba(0,0,0,0.55) 0 2px 10px;text-align:left;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;display:block;background:none;height:30px;width:100%;background-size:40px;background-repeat:no-repeat;background-color:#282c34;margin-bottom:-7px;border-radius:5px;background-position:10px 10px;background-image:url(https://mmbiz.qpic.cn/mmbiz_svg/3Lqm1xHojtZHrZL6ibKCzaCqEe9Zu5iaPp83sT5FhSW7pK5uT2AoFQIxlRkceVjibfd9G3YPoGoGVGhmLQPibmt4gbpibylicniatOl/640?wx_fmt=svg&amp;from=appmsg)\\\"></span><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">python run_dpsk_ocr_image.py</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span></div></pre><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">pdf：并发性~2500tokens/s（A100-40G）</span></p><pre style=\\\"-webkit-tap-highlight-color:transparent;border-radius:5px;box-shadow:rgba(0,0,0,0.55) 0 2px 10px;text-align:left;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;display:block;background:none;height:30px;width:100%;background-size:40px;background-repeat:no-repeat;background-color:#282c34;margin-bottom:-7px;border-radius:5px;background-position:10px 10px;background-image:url(https://mmbiz.qpic.cn/mmbiz_svg/3Lqm1xHojtZHrZL6ibKCzaCqEe9Zu5iaPp83sT5FhSW7pK5uT2AoFQIxlRkceVjibfd9G3YPoGoGVGhmLQPibmt4gbpibylicniatOl/640?wx_fmt=svg&amp;from=appmsg)\\\"></span><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">python run_dpsk_ocr_pdf.py</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span></div></pre><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">基准的批量评估：</span></p><pre style=\\\"-webkit-tap-highlight-color:transparent;border-radius:5px;box-shadow:rgba(0,0,0,0.55) 0 2px 10px;text-align:left;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;display:block;background:none;height:30px;width:100%;background-size:40px;background-repeat:no-repeat;background-color:#282c34;margin-bottom:-7px;border-radius:5px;background-position:10px 10px;background-image:url(https://mmbiz.qpic.cn/mmbiz_svg/3Lqm1xHojtZHrZL6ibKCzaCqEe9Zu5iaPp83sT5FhSW7pK5uT2AoFQIxlRkceVjibfd9G3YPoGoGVGhmLQPibmt4gbpibylicniatOl/640?wx_fmt=svg&amp;from=appmsg)\\\"></span><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">python run_dpsk_ocr_eval_batch.py</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span></div></pre><h3 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;border-top-color:rgb(33,33,34);margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:1px;border-bottom-width:2px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:flex;flex-direction:unset;float:unset;height:auto;justify-content:unset;line-height:1.5em;overflow-x:unset;overflow-y:unset;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;text-align:left;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:18px;color:rgb(89,89,89);border-top-color:rgb(34,34,34);line-height:1.8em;letter-spacing:0;padding-top:4px;padding-bottom:0;padding-left:6px;padding-right:6px;align-items:unset;background-attachment:scroll;background-clip:border-box;background-color:unset;background-image:none;background-origin:padding-box;background-position-x:0;background-position-y:0;background-repeat:no-repeat;background-size:auto;border-top-style:solid;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:2px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;border-bottom-color:rgb(0,0,0);border-left-color:rgb(0,0,0);border-right-color:rgb(0,0,0);border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;display:block;font-weight:bold;flex-direction:unset;float:unset;height:auto;justify-content:unset;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;overflow-x:unset;overflow-y:unset;text-align:left;text-indent:0;text-shadow:none;transform:none;width:auto;-webkit-box-reflect:unset\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">Transformers-推理</span></span></h3><pre style=\\\"-webkit-tap-highlight-color:transparent;border-radius:5px;box-shadow:rgba(0,0,0,0.55) 0 2px 10px;text-align:left;margin-top:10px;margin-bottom:10px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;display:block;background:none;height:30px;width:100%;background-size:40px;background-repeat:no-repeat;background-color:#282c34;margin-bottom:-7px;border-radius:5px;background-position:10px 10px;background-image:url(https://mmbiz.qpic.cn/mmbiz_svg/3Lqm1xHojtZHrZL6ibKCzaCqEe9Zu5iaPp83sT5FhSW7pK5uT2AoFQIxlRkceVjibfd9G3YPoGoGVGhmLQPibmt4gbpibylicniatOl/640?wx_fmt=svg&amp;from=appmsg)\\\"></span><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">from transformers import AutoModel, AutoTokenizer</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">import torch</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">import os</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">os.environ[</span><span style=\\\"-webkit-tap-highlight-color:transparent;color:#98c379;line-height:26px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">&quot;CUDA_VISIBLE_DEVICES&quot;</span></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">] = </span><span style=\\\"-webkit-tap-highlight-color:transparent;color:#98c379;line-height:26px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">'0'</span></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">model_name = </span><span style=\\\"-webkit-tap-highlight-color:transparent;color:#98c379;line-height:26px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">'deepseek-ai/DeepSeek-OCR'</span></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">model = AutoModel.from_pretrained(model_name, _attn_implementation=</span><span style=\\\"-webkit-tap-highlight-color:transparent;color:#98c379;line-height:26px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">'flash_attention_2'</span></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">, trust_remote_code=True, use_safetensors=True)</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">model = model.eval().cuda().to(torch.bfloat16)</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent;color:#5c6370;font-style:italic;line-height:26px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\"># prompt = &quot;&lt;image&gt;\\\\\nFree OCR. &quot;</span></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">prompt = </span><span style=\\\"-webkit-tap-highlight-color:transparent;color:#98c379;line-height:26px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">&quot;&lt;image&gt;\\\\\n&lt;|grounding|&gt;Convert the document to markdown. &quot;</span></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">image_file = </span><span style=\\\"-webkit-tap-highlight-color:transparent;color:#98c379;line-height:26px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">'your_image.jpg'</span></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">output_path = </span><span style=\\\"-webkit-tap-highlight-color:transparent;color:#98c379;line-height:26px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">'your/output/dir'</span></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span><span style=\\\"-webkit-tap-highlight-color:transparent\\\">res = model.infer(tokenizer, prompt=prompt, image_file=image_file, output_path = output_path, base_size = 1024, image_size = 640, crop_mode=True, save_results = True, test_compress = True)</span><span style=\\\"-webkit-tap-highlight-color:transparent\\\"><br style=\\\"-webkit-tap-highlight-color:transparent\\\"/></span></div></pre><h1 style=\\\"margin:0;-webkit-tap-highlight-color:transparent;margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;font-size:24px;color:rgb(0,0,0);line-height:1.5em;letter-spacing:0;text-align:left;font-weight:bold;display:block\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">四、最后</span></span></h1><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">DeepSeek-OCR 模型成功验证了上下文光学压缩的可行性，可以有效地从少量的视觉标记中解码出数量超过 10 倍的文本标记，大力促进未来 VLM 和 LLM 的发展。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">未来团队还将进行数字光学文本交错预训练、needle-in-a-haystack 测试以及其他评估。</span></p><p style=\\\"margin:0;-webkit-tap-highlight-color:transparent;color:rgb(0,0,0);font-size:15px;line-height:1.8em;letter-spacing:0;text-align:left;text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0\\\"><span style=\\\"-webkit-tap-highlight-color:transparent\\\">这篇论文真挺有看头的，有兴趣的小伙伴抓紧去看看吧~</span></p></span><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0 8px 8px;padding:0;outline:0;max-width:100%;box-sizing:border-box !important;overflow-wrap:break-word !important;background-color:rgb(255,255,255);clear:both;min-height:1em;color:rgb(163,163,163);font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;orphans:2;text-align:left;text-indent:0;text-transform:none;widows:2;word-spacing:0;-webkit-text-stroke-width:0;white-space:normal;text-decoration-thickness:initial;text-decoration-style:initial;text-decoration-color:initial;font-family:&quot;PingFang SC&quot;,system-ui,-apple-system,BlinkMacSystemFont,&quot;Helvetica Neue&quot;,&quot;Hiragino Sans GB&quot;,&quot;Microsoft YaHei UI&quot;,&quot;Microsoft YaHei&quot;,Arial,sans-serif;letter-spacing:0.544px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:0;padding:0;outline:0;max-width:100%;box-sizing:border-box !important;overflow-wrap:break-word !important;background-color:rgb(255,255,255);text-decoration-color:rgba(0,0,0,0.9);color:rgb(178,178,178);font-family:&quot;PingFang SC&quot;,system-ui,-apple-system,BlinkMacSystemFont,&quot;Helvetica Neue&quot;,&quot;Hiragino Sans GB&quot;,&quot;Microsoft YaHei UI&quot;,&quot;Microsoft YaHei&quot;,Arial,sans-serif;text-align:left;text-decoration-style:solid;letter-spacing:0.578px;font-size:12px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:0;padding:0;outline:0;max-width:100%;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(136,136,136)\\\">&gt;/ 本期作者：Tashi</span></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:0;padding:0;outline:0;max-width:100%;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(136,136,136)\\\"> </span></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:0;padding:0;outline:0;max-width:100%;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(136,136,136)\\\"> &amp; JackCui</span></span></span></p><p style=\\\"-webkit-tap-highlight-color:transparent;margin:0 8px;padding:0;outline:0;max-width:100%;box-sizing:border-box !important;overflow-wrap:break-word !important;background-color:rgb(255,255,255);clear:both;min-height:1em;color:rgb(163,163,163);font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;orphans:2;text-align:left;text-indent:0;text-transform:none;widows:2;word-spacing:0;-webkit-text-stroke-width:0;white-space:normal;text-decoration-thickness:initial;text-decoration-style:initial;text-decoration-color:initial;font-family:&quot;PingFang SC&quot;,system-ui,-apple-system,BlinkMacSystemFont,&quot;Helvetica Neue&quot;,&quot;Hiragino Sans GB&quot;,&quot;Microsoft YaHei UI&quot;,&quot;Microsoft YaHei&quot;,Arial,sans-serif;letter-spacing:0.544px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:0;padding:0;outline:0;max-width:100%;box-sizing:border-box !important;overflow-wrap:break-word !important;text-decoration-color:rgba(0,0,0,0.9);color:rgb(178,178,178);text-decoration-style:solid;letter-spacing:0.578px;font-size:12px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:0;padding:0;outline:0;max-width:100%;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(136,136,136)\\\">&gt;/ JackCui：AI领域从业者，毕业于东北大学，</span></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:0;padding:0;outline:0;max-width:100%;box-sizing:border-box !important;overflow-wrap:break-word !important;text-decoration-color:rgba(0,0,0,0.9);color:rgb(178,178,178);text-decoration-style:solid;letter-spacing:0.578px;font-size:12px\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;margin:0;padding:0;outline:0;max-width:100%;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(136,136,136)\\\">大厂</span></span><span style=\\\"-webkit-tap-highlight-color:transparent;margin:0;padding:0;outline:0;max-width:100%;box-sizing:border-box !important;overflow-wrap:break-word !important\\\"><span style=\\\"-webkit-tap-highlight-color:transparent;color:rgb(136,136,136)\\\">算法工程师，热爱技术分享。</span></span></span></span></p></div></div></div></div></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":129179}]"
metadata_diff: {"new":{"id":"499d0e677e3b44e8a78ecfeb1b0d14b0","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348818137,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:03:24.019Z
created_time: 2025-11-28T21:03:24.019Z
type_: 13