{"id":110455,"date":"2026-09-28T17:56:43","date_gmt":"2026-09-28T09:56:43","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/110455.html"},"modified":"2026-09-28T17:56:43","modified_gmt":"2026-09-28T09:56:43","slug":"%e9%87%8d%e7%a3%85%ef%bc%81%e4%bb%a5%e5%85%ac%e8%b7%af%e4%ba%a4%e9%80%9a%e4%ba%8b%e4%bb%b6%e6%a3%80%e6%b5%8b%e5%90%8e%e5%a4%84%e7%bd%ae%e5%88%86%e7%ba%a7%e4%b8%ba%e4%be%8b%ef%bc%8c%e5%b0%9d%e9%b2%9c","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/110455.html","title":{"rendered":"\u91cd\u78c5\uff01\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b\uff0c\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev\uff01"},"content":{"rendered":"<h2>\u91cd\u78c5&#xff01;\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b&#xff0c;\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev&#xff01;<\/h2>\n<p>\u4e00\u53e5\u8bdd\u5267\u900f&#xff1a;\u90a3\u4e2a&#034;\u53ea\u5224\u65ad\u3001\u4e0d\u5199\u4f5c\u6587&#034;\u7684 AI \u6a21\u578b Jev&#xff0c;\u5b98\u65b9 API \u672a\u5411\u4e2d\u56fd\u5927\u9646\u5f00\u653e\u3001\u4e5f\u6ca1\u5f00\u6e90\u2014\u2014\u4f46\u5f00\u6e90\u793e\u533a\u4e09\u5929\u5c31\u4ea4\u51fa\u4e86 Apache-2.0 \u7684\u5b8c\u6574\u590d\u523b Laya\u3002\u672c\u6587\u4e0d\u804a\u6982\u5ff5&#xff08;\u6982\u5ff5\u770b\u8fd9\u7bc7 &#x1f449; \u300a\u706b\u7206\u5168\u7f51\u7684 Jev&#xff0c;\u516c\u8def\u4ea4\u901a\u5230\u5e95\u80fd\u62ff\u6765\u5e72\u561b&#xff1f;\u300b&#xff09;&#xff0c;\u76f4\u63a5\u5e26\u4f60\u5728\u81ea\u5df1\u7535\u8111\u4e0a\u628a Laya \u8dd1\u8d77\u6765&#xff0c;\u62ff&#034;\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7&#034;\u8fd9\u4e2a\u771f\u5b9e\u4e1a\u52a1\u573a\u666f&#xff0c;\u4ece\u5934\u5230\u5c3e\u8d70\u4e00\u904d&#xff1a;\u88c5\u73af\u5883\u3001\u5199\u4ee3\u7801\u3001\u8dd1\u6570\u636e\u3001\u770b\u7ed3\u679c\u3001\u8e29\u5751\u3001\u518d\u5230\u5b89\u5168\u515c\u5e95\u3002\u6240\u6709\u6570\u5b57\u90fd\u662f\u6211\u672c\u673a\u5b9e\u6d4b&#xff0c;\u4e0d\u662f\u6284\u5b98\u65b9\u5ba3\u4f20\u3002<\/p>\n<p>\u5148\u6254\u4e24\u4e2a\u94a9\u5b50&#xff0c;\u4f60\u731c\u731c\u770b&#xff1a;<\/p>\n<ul>\n<li>Laya \u5728\u672c\u673a Mac \u4e0a&#xff0c;\u5355\u6b21\u51b3\u7b56\u53ea\u8981 \u7ea6 47 \u6beb\u79d2&#xff0c;\u6bd4\u5b98\u65b9\u4e91\u7aef API&#xff08;\u7f51\u7edc\u5f80\u8fd4\u4e3b\u5bfc&#xff09;\u5feb\u4e00\u4e2a\u6570\u91cf\u7ea7&#xff1b;<\/li>\n<li>\u4f46\u96f6\u6837\u672c\u76f4\u63a5\u62ff\u53bb\u5224&#034;\u2160\/\u2161\/\u2162\/\u2163 \u7ea7\u5904\u7f6e&#034;&#xff0c;\u51c6\u786e\u7387\u5c45\u7136\u548c&#034;\u95ed\u773c\u5168\u9009\u2163\u7ea7&#034;\u4e00\u6837\u2014\u2014\u8fd9\u80cc\u540e\u85cf\u7740\u51b3\u7b56\u6a21\u578b\u843d\u5730\u7684\u6700\u5927\u771f\u76f8\u3002<\/li>\n<\/ul>\n<p>\u8bfb\u5b8c\u8fd9\u7bc7&#xff0c;\u4f60\u4f1a\u5f97\u5230\u4e00\u4e2a\u80fd\u76f4\u63a5\u590d\u5236\u7c98\u8d34\u7684\u5b8c\u6574 Demo&#xff0c;\u548c\u4e00\u4e2a&#034;\u54ea\u4e9b\u6d3b\u80fd\u4ea4\u7ed9\u5b83\u3001\u54ea\u4e9b\u6d3b\u6253\u6b7b\u4e0d\u80fd&#034;\u7684\u6e05\u9192\u5224\u65ad\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u5148\u4ea4\u4ee3&#xff1a;\u4e3a\u4ec0\u4e48\u6211\u4eec\u53ea\u80fd\u73a9&#034;\u5f00\u6e90\u7248 Jev&#034;<\/h3>\n<p>\u5148\u5bf9\u9f50\u4e00\u4e2a\u57fa\u672c\u76d8\u3002<\/p>\n<p>Jev \u662f\u65e7\u91d1\u5c71 TypeSafe AI \u5728 2026 \u5e74 9 \u6708 15 \u65e5\u53d1\u5e03\u7684&#034;System One \u51b3\u7b56\u6a21\u578b&#034;&#xff1a;\u5b83\u4e0d\u751f\u6210\u6587\u672c&#xff0c;\u53ea\u8fd4\u56de\u7ed3\u6784\u5316\u7684\u5224\u65ad\u2014\u2014Choice&#xff08;\u9009\u9879\u91cc\u6311\u4e00\u4e2a&#xff09;\u3001Score&#xff08;\u6309\u6807\u51c6\u6253\u5206&#xff09;\u3001Noul&#xff08;\u662f\/\u5426\u6982\u7387&#xff09;\u3002\u8f93\u5165\u7ea6 $0.042 \/ \u767e\u4e07 token&#xff0c;\u8f93\u51fa\u514d\u8d39\u3002<\/p>\n<p>\u4f46\u5b83\u6709\u4e24\u4e2a\u5bf9\u6211\u4eec\u6765\u8bf4\u5f88\u8981\u547d\u7684\u73b0\u5b9e&#xff1a;<\/p>\n<li>\u95ed\u6e90&#xff1a;\u67b6\u6784\u3001\u53c2\u6570\u91cf\u3001\u8bad\u7ec3\u7ec6\u8282\u4e00\u6982\u4e0d\u516c\u5f00&#xff1b;<\/li>\n<li>\u53ea\u6709\u4e91\u7aef API&#xff0c;\u4e14\u672a\u5411\u4e2d\u56fd\u5927\u9646\u5f00\u653e\u3002<\/li>\n<p>\u5bf9\u516c\u8def\u4ea4\u901a\u8fd9\u79cd\u8981&#034;\u8fb9\u7f18\u3001\u672c\u5730\u3001\u6570\u636e\u4e0d\u51fa\u673a\u623f&#034;\u7684\u573a\u666f\u6765\u8bf4&#xff0c;\u8fd9\u4e24\u6761\u7b49\u4e8e\u628a\u5b83\u6321\u5728\u4e86\u95e8\u5916\u3002\u597d\u5728\u2014\u20149 \u6708 18 \u65e5&#xff0c;\u4e5f\u5c31\u662f Jev \u53d1\u5e03\u4e09\u5929\u540e&#xff0c;\u793e\u533a\u72ec\u7acb\u7814\u7a76\u8005 Nandakishor M&#xff08;Convai Innovations&#xff09;\u4ea4\u51fa\u4e86\u5f00\u6e90\u590d\u523b Laya&#xff1a;<\/p>\n<table>\n<tr>JevLaya<\/tr>\n<tbody>\n<tr>\n<td>\u5382\u5546<\/td>\n<td>TypeSafe AI<\/td>\n<td>Convai Innovations&#xff08;\u793e\u533a&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u53d1\u5e03\u65f6\u95f4<\/td>\n<td>2026-09-15<\/td>\n<td>2026-09-18&#xff08;3 \u5929\u540e&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u534f\u8bae<\/td>\n<td>\u95ed\u6e90&#xff0c;\u4ec5 API<\/td>\n<td>Apache-2.0&#xff08;\u4ee3\u7801&#043;\u6743\u91cd\u5168\u5f00&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u67b6\u6784<\/td>\n<td>\u672a\u516c\u5f00<\/td>\n<td>\u975e\u81ea\u56de\u5f52&#xff0c;\u5355\u6b21\u524d\u5411&#xff0c;\u96f6\u8f93\u51fa token<\/td>\n<\/tr>\n<tr>\n<td>\u6743\u91cd<\/td>\n<td>\u65e0<\/td>\n<td>Hugging Face \u5168\u91cf\u5f00\u6e90<\/td>\n<\/tr>\n<tr>\n<td>\u8d39\u7528<\/td>\n<td>$0.042\/\u767e\u4e07 token<\/td>\n<td>\u672c\u5730\u514d\u8d39<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Laya \u6709\u4e09\u4e2a checkpoint&#xff0c;\u5185\u7f6e\u8def\u7531\u5668\u6309&#034;\u6587\u5b57\u811a\u672c&#034;\u81ea\u52a8\u6311\u4e00\u4e2a&#xff1a;<\/p>\n<table>\n<tr>checkpoint\u5e95\u5ea7\u53c2\u6570\u4e0a\u4e0b\u6587\u7528\u9014<\/tr>\n<tbody>\n<tr>\n<td>convaiinnovations\/laya<\/td>\n<td>ModernBERT-large<\/td>\n<td>421M<\/td>\n<td>512<\/td>\n<td>\u82f1\u6587<\/td>\n<\/tr>\n<tr>\n<td>convaiinnovations\/laya-multilingual<\/td>\n<td>mmBERT-base<\/td>\n<td>322M<\/td>\n<td>1024&#xff08;\u53ef\u5230 8192&#xff09;<\/td>\n<td>100&#043; \u8bed\u8a00&#xff0c;\u542b\u4e2d\u6587<\/td>\n<\/tr>\n<tr>\n<td>convaiinnovations\/laya-typed-decisions<\/td>\n<td>ModernBERT-large<\/td>\n<td>421M<\/td>\n<td>1024<\/td>\n<td>typed-decisions \u5fae\u8c03\u7248<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u26a0\ufe0f \u5212\u91cd\u70b9&#xff1a;\u4e2d\u6587\u4e1a\u52a1\u5fc5\u987b\u8d70 laya-multilingual\u3002\u82f1\u6587 checkpoint \u5bf9\u975e\u62c9\u4e01\u811a\u672c\u76f4\u63a5\u6446\u70c2&#xff08;\u4e0b\u6587\u6709\u5b9e\u6d4b&#xff09;&#xff0c;\u597d\u5728 Router \u4f1a\u81ea\u52a8\u8bc6\u522b\u4e2d\u6587\u5e76\u8def\u7531\u8fc7\u53bb&#xff0c;\u4f60\u4e0d\u7528\u624b\u52a8\u5207\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u4e3a\u4ec0\u4e48&#034;\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7&#034;\u662f\u51b3\u7b56\u6a21\u578b\u7684\u7edd\u914d&#xff1f;<\/h3>\n<p>\u5199\u4ee3\u7801\u524d&#xff0c;\u5148\u628a\u4e1a\u52a1\u8bb2\u660e\u767d\u2014\u2014\u5426\u5219\u4f60\u4f1a\u4e0d\u77e5\u9053\u8fd9\u4e9b&#034;\u9009\u9879&#034;\u8be5\u600e\u4e48\u8bbe\u8ba1\u3002<\/p>\n<h4>2.1 \u516c\u8def\u4ea4\u901a\u7a81\u53d1\u4e8b\u4ef6\u7684&#034;\u5904\u7f6e\u5206\u7ea7&#034;\u662f\u95e8\u6709\u56fd\u6807\u7684\u624b\u827a<\/h4>\n<p>\u6309\u300a\u516c\u8def\u4ea4\u901a\u7a81\u53d1\u4e8b\u4ef6\u5e94\u6025\u9884\u6848\u300b&#xff0c;\u4e8b\u4ef6\u8981\u4f9d\u636e\u6027\u8d28\u3001\u7c7b\u578b\u3001\u4e25\u91cd\u7a0b\u5ea6\u3001\u53ef\u63a7\u6027\u3001\u5f71\u54cd\u8303\u56f4\u5206\u7ea7\u54cd\u5e94&#xff0c;\u5171\u56db\u6863&#xff1a;<\/p>\n<table>\n<tr>\u7b49\u7ea7\u540d\u79f0\u989c\u8272\u5173\u952e\u89e6\u53d1\u6761\u4ef6&#xff08;\u793a\u4f8b&#xff09;\u54cd\u5e94\u4e3b\u4f53<\/tr>\n<tbody>\n<tr>\n<td>\u2160\u7ea7<\/td>\n<td>\u7279\u522b\u91cd\u5927<\/td>\n<td>&#x1f534; \u7ea2<\/td>\n<td>\u4ea4\u901a\u4e2d\u65ad 48h \u4ee5\u4e0a \/ \u6b7b\u4ea1\u5931\u8e2a 30 \u4eba\u4ee5\u4e0a \/ \u8de8\u7701\u4fdd\u969c<\/td>\n<td>\u4ea4\u901a\u8fd0\u8f93\u90e8<\/td>\n<\/tr>\n<tr>\n<td>\u2161\u7ea7<\/td>\n<td>\u91cd\u5927<\/td>\n<td>&#x1f7e0; \u6a59<\/td>\n<td>\u4e2d\u65ad 24h \u4ee5\u4e0a \/ \u6b7b\u4ea1\u5931\u8e2a 10~30 \u4eba \/ \u8de8\u5e02\u4fdd\u969c<\/td>\n<td>\u7701\u7ea7<\/td>\n<\/tr>\n<tr>\n<td>\u2162\u7ea7<\/td>\n<td>\u8f83\u5927<\/td>\n<td>&#x1f7e1; \u9ec4<\/td>\n<td>\u4e2d\u65ad 6h \u4ee5\u4e0a \/ \u6b7b\u4ea1\u5931\u8e2a 3~10 \u4eba \/ \u8de8\u53bf\u4fdd\u969c<\/td>\n<td>\u5e02\u7ea7<\/td>\n<\/tr>\n<tr>\n<td>\u2163\u7ea7<\/td>\n<td>\u4e00\u822c<\/td>\n<td>&#x1f535; \u84dd<\/td>\n<td>\u4e2d\u65ad 12h \u5185 \/ \u6b7b\u4ea1\u5931\u8e2a 3 \u4eba\u4ee5\u4e0b \/ \u53bf\u57df\u5185<\/td>\n<td>\u53bf\u7ea7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>2.2 \u4e3a\u4ec0\u4e48\u8fd9\u4ef6\u4e8b\u5929\u751f\u9002\u5408\u51b3\u7b56\u6a21\u578b&#xff1f;<\/h4>\n<p>\u6ce8\u610f\u770b\u4e0a\u9762\u90a3\u5217&#034;\u5173\u952e\u89e6\u53d1\u6761\u4ef6&#034;\u2014\u2014\u6bcf\u4e00\u7ea7\u90fd\u662f&#034;\u9884\u8bbe\u9009\u9879 &#043; \u660e\u786e\u5224\u636e&#034;\u3002\u8fd9\u610f\u5473\u7740&#034;\u7ed9\u4e00\u6bb5\u4e8b\u4ef6\u63cf\u8ff0&#xff0c;\u5224\u5b83\u5c5e\u4e8e\u54ea\u4e00\u6863&#034;\u8fd9\u4ef6\u4e8b&#xff0c;\u672c\u8d28\u662f&#xff1a;<\/p>\n<ul>\n<li>\u4e8b\u4ef6\u7c7b\u578b&#xff08;\u629b\u951a\/\u4e8b\u6545\/\u629b\u6d12\u7269\/\u6076\u52a3\u5929\u6c14\u2026&#xff09;\u2192 \u4e00\u4e2a Choice&#xff1b;<\/li>\n<li>\u5904\u7f6e\u7b49\u7ea7&#xff08;\u2160\/\u2161\/\u2162\/\u2163&#xff09;\u2192 \u4e00\u4e2a Choice&#xff1b;<\/li>\n<li>\u4e25\u91cd\u7a0b\u5ea6&#xff08;\u7528\u4e8e\u591a\u4e8b\u4ef6\u6392\u961f\u8c03\u5ea6&#xff09;\u2192 \u4e00\u4e2a Score&#xff1b;<\/li>\n<li>\u662f\u5426\u63d0\u7ea7\u54cd\u5e94&#xff08;\u8282\u5047\u65e5\/\u91cd\u8981\u8def\u6bb5\/\u53ef\u80fd\u6076\u5316&#xff09;\u2192 \u4e00\u4e2a Noul\u3002<\/li>\n<\/ul>\n<p>\u8fd9\u6b63\u662f\u51b3\u7b56\u6a21\u578b\u7684\u4e3b\u573a&#xff0c;\u4e5f\u6b63\u662f\u5927\u6a21\u578b&#034;\u5199\u4e00\u5927\u6bb5\u6587\u5b57&#034;\u6700\u9e21\u808b\u7684\u5730\u65b9\u3002\u6574\u4f53\u6d41\u6c34\u7ebf\u957f\u8fd9\u6837&#xff1a;<\/p>\n<p>  #mermaid-svg-n0nzA9g2JLZVICWj{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-n0nzA9g2JLZVICWj .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-n0nzA9g2JLZVICWj .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-n0nzA9g2JLZVICWj .error-icon{fill:#552222;}#mermaid-svg-n0nzA9g2JLZVICWj .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-n0nzA9g2JLZVICWj .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-n0nzA9g2JLZVICWj .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-n0nzA9g2JLZVICWj .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-n0nzA9g2JLZVICWj .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-n0nzA9g2JLZVICWj .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-n0nzA9g2JLZVICWj .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-n0nzA9g2JLZVICWj .marker{fill:#333333;stroke:#333333;}#mermaid-svg-n0nzA9g2JLZVICWj .marker.cross{stroke:#333333;}#mermaid-svg-n0nzA9g2JLZVICWj svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-n0nzA9g2JLZVICWj p{margin:0;}#mermaid-svg-n0nzA9g2JLZVICWj .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-n0nzA9g2JLZVICWj .cluster-label text{fill:#333;}#mermaid-svg-n0nzA9g2JLZVICWj .cluster-label span{color:#333;}#mermaid-svg-n0nzA9g2JLZVICWj .cluster-label span p{background-color:transparent;}#mermaid-svg-n0nzA9g2JLZVICWj .label text,#mermaid-svg-n0nzA9g2JLZVICWj span{fill:#333;color:#333;}#mermaid-svg-n0nzA9g2JLZVICWj .node rect,#mermaid-svg-n0nzA9g2JLZVICWj .node circle,#mermaid-svg-n0nzA9g2JLZVICWj .node ellipse,#mermaid-svg-n0nzA9g2JLZVICWj .node polygon,#mermaid-svg-n0nzA9g2JLZVICWj .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-n0nzA9g2JLZVICWj .rough-node .label text,#mermaid-svg-n0nzA9g2JLZVICWj .node .label text,#mermaid-svg-n0nzA9g2JLZVICWj .image-shape .label,#mermaid-svg-n0nzA9g2JLZVICWj .icon-shape .label{text-anchor:middle;}#mermaid-svg-n0nzA9g2JLZVICWj .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-n0nzA9g2JLZVICWj .rough-node .label,#mermaid-svg-n0nzA9g2JLZVICWj .node .label,#mermaid-svg-n0nzA9g2JLZVICWj .image-shape .label,#mermaid-svg-n0nzA9g2JLZVICWj .icon-shape .label{text-align:center;}#mermaid-svg-n0nzA9g2JLZVICWj .node.clickable{cursor:pointer;}#mermaid-svg-n0nzA9g2JLZVICWj .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-n0nzA9g2JLZVICWj .arrowheadPath{fill:#333333;}#mermaid-svg-n0nzA9g2JLZVICWj .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-n0nzA9g2JLZVICWj .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-n0nzA9g2JLZVICWj .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-n0nzA9g2JLZVICWj .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-n0nzA9g2JLZVICWj .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-n0nzA9g2JLZVICWj .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-n0nzA9g2JLZVICWj .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-n0nzA9g2JLZVICWj .cluster text{fill:#333;}#mermaid-svg-n0nzA9g2JLZVICWj .cluster span{color:#333;}#mermaid-svg-n0nzA9g2JLZVICWj div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-n0nzA9g2JLZVICWj .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-n0nzA9g2JLZVICWj rect.text{fill:none;stroke-width:0;}#mermaid-svg-n0nzA9g2JLZVICWj .icon-shape,#mermaid-svg-n0nzA9g2JLZVICWj .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-n0nzA9g2JLZVICWj .icon-shape p,#mermaid-svg-n0nzA9g2JLZVICWj .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-n0nzA9g2JLZVICWj .icon-shape .label rect,#mermaid-svg-n0nzA9g2JLZVICWj .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-n0nzA9g2JLZVICWj .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-n0nzA9g2JLZVICWj .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-n0nzA9g2JLZVICWj :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u662f<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u5426<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u4e8b\u4ef6\u68c0\u6d4bCV\/\u96f7\u8fbe\/\u4eba\u5de5\u4e0a\u62a5<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u4e8b\u4ef6\u63cf\u8ff0\u6587\u672c<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>Laya \u51b3\u7b56\u6a21\u578b<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>event_type\u4e8b\u4ef6\u7c7b\u578b \u00b7 Choice<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>disposal_level\u5904\u7f6e\u7b49\u7ea7 \u00b7 Choice<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>severity\u4e25\u91cd\u5ea6 \u00b7 Score<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>need_escalation\u63d0\u7ea7 \u00b7 Noul<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u7f6e\u4fe1\u5ea6 \u2265 \u9608\u503c?<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u81ea\u52a8\u6d3e\u5355\/\u8054\u52a8\u5904\u7f6e<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u8f6c\u4eba\u5de5\u590d\u6838\u515c\u5e95<\/p>\n<p><\/span><\/p>\n<p>\u4e00\u4e2a\u8ba4\u77e5\u5148\u7acb\u4f4f&#xff1a;\u611f\u77e5\u4ea4\u7ed9 CV \u53bb&#034;\u770b\u8def&#034;&#xff0c;\u51b3\u7b56\u4ea4\u7ed9 Laya \u53bb&#034;\u62cd\u677f&#034;&#xff0c;\u89c4\u5219\u548c\u4eba\u5de5\u53bb&#034;\u515c\u5e95&#034;\u3002Laya \u4e0d\u5403\u56fe\u7247\u89c6\u9891&#xff0c;\u5b83\u53ea\u5403&#034;\u90a3\u6bb5\u7ed3\u6784\u5316\u7684\u4e8b\u4ef6\u6587\u5b57&#034;\u2014\u2014\u6240\u4ee5\u4e0a\u6e38&#034;\u611f\u77e5\u2192\u6587\u672c&#034;\u8fd9\u534a\u6b65\u505a\u5f97\u597d\u4e0d\u597d&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e0b\u6e38\u5224\u65ad\u7684\u8d28\u91cf\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u73af\u5883\u51c6\u5907\u4e0e\u5b89\u88c5&#xff08;\u542b\u4e24\u4e2a\u771f\u5b9e\u8e29\u5751&#xff09;<\/h3>\n<h4>3.1 \u57fa\u7840\u8981\u6c42<\/h4>\n<ul>\n<li>Python 3.10&#043;&#xff08;\u6211\u672c\u673a\u662f 3.12.7&#xff09;<\/li>\n<li>\u65e0 GPU \u786c\u6027\u8981\u6c42&#xff0c;\u672c\u673a CPU \/ M \u7cfb\u5217\u82af\u7247\u5373\u53ef&#xff08;\u6211\u5168\u7a0b\u5728 Apple Silicon (arm64) Mac \u4e0a\u8dd1&#xff09;<\/li>\n<\/ul>\n<h4>3.2 \u5b89\u88c5<\/h4>\n<p>python <span class=\"token parameter variable\">-m<\/span> pip <span class=\"token function\">install<\/span> laya<\/p>\n<p>\u5b83\u4f1a\u81ea\u52a8\u5e26\u4e0a torch\u3001transformers\u3001huggingface_hub \u7b49\u4f9d\u8d56&#xff08;\u6211\u88c5\u5230\u7684\u662f laya-0.3.21 &#043; torch-2.14.0 &#043; transformers-5.17.0&#xff09;\u3002<\/p>\n<h4>3.3 \u8e29\u5751 1&#xff1a;Hugging Face \u8d85\u65f6<\/h4>\n<p>\u88c5\u5b8c\u4e00\u8dd1&#xff0c;\u7b2c\u4e00\u4e2a\u62a5\u9519\u5c31\u6765\u4e86\u2014\u2014huggingface.co \u8fde\u63a5\u8d85\u65f6&#xff0c;\u6a21\u578b\u6743\u91cd\u4e0b\u4e0d\u4e0b\u6765\u3002\u8fd9\u662f\u5927\u9646\u73af\u5883\u7684\u9ad8\u9891\u5751&#xff0c;\u89e3\u6cd5\u662f\u8d70\u955c\u50cf&#xff1a;<\/p>\n<p><span class=\"token builtin class-name\">export<\/span> <span class=\"token assign-left variable\">HF_ENDPOINT<\/span><span class=\"token operator\">&#061;<\/span>https:\/\/hf-mirror.com<\/p>\n<h4>3.4 \u8e29\u5751 2&#xff1a;Xet \u5b58\u50a8\u540e\u7aef 401&#xff08;\u6bd4\u8f83\u9690\u853d&#xff09;<\/h4>\n<p>\u6362\u6210\u955c\u50cf\u540e&#xff0c;\u4f60\u53ef\u80fd\u8fd8\u4f1a\u649e\u4e0a\u7b2c\u4e8c\u4e2a\u66f4\u9690\u853d\u7684\u62a5\u9519&#xff1a;<\/p>\n<p>RuntimeError: CAS Client Error: HTTP status client error (401 Unauthorized),<br \/>\ndomain: https:\/\/cas-server.xethub.hf.co\/v2\/reconstructions\/&#8230;<\/p>\n<p>\u539f\u56e0\u662f\u65b0\u7248 huggingface_hub \u9ed8\u8ba4\u8d70 Xet \u5b58\u50a8\u540e\u7aef&#xff0c;\u800c Xet \u7684 CAS \u670d\u52a1\u5668\u4e0d\u5728\u955c\u50cf\u8986\u76d6\u8303\u56f4\u5185\u3002\u89e3\u6cd5\u662f\u663e\u5f0f\u7981\u7528 Xet&#xff0c;\u8d70\u666e\u901a HTTP \u4e0b\u8f7d&#xff1a;<\/p>\n<p><span class=\"token builtin class-name\">export<\/span> <span class=\"token assign-left variable\">HF_HUB_DISABLE_XET<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">1<\/span><\/p>\n<p>\u8fd9\u4e24\u4e2a\u73af\u5883\u53d8\u91cf\u4e00\u8d77\u8bbe&#xff0c;\u6743\u91cd\u5c31\u80fd\u4ece\u955c\u50cf\u7a33\u7a33\u4e0b\u4e0b\u6765\u3002\u5efa\u8bae\u76f4\u63a5\u5199\u8fdb\u4f60\u7684 ~\/.zshrc \u6216\u542f\u52a8\u811a\u672c\u91cc&#xff0c;\u522b\u6bcf\u6b21\u73b0\u8bbe\u3002<\/p>\n<hr \/>\n<h3>\u56db\u3001Hello Laya&#xff1a;30 \u79d2\u8dd1\u901a\u4e09\u79cd\u51b3\u7b56\u539f\u8bed<\/h3>\n<p>\u5148\u8dd1\u4e2a\u6700\u5c0f\u7684&#xff0c;\u786e\u8ba4\u73af\u5883 OK&#xff0c;\u987a\u4fbf\u770b\u61c2 choice \/ score \/ noul \u4e09\u79cd\u8fd4\u56de\u957f\u5565\u6837&#xff1a;<\/p>\n<p><span class=\"token keyword\">import<\/span> os<br \/>\nos<span class=\"token punctuation\">.<\/span>environ<span class=\"token punctuation\">.<\/span>setdefault<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;HF_ENDPOINT&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;https:\/\/hf-mirror.com&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\nos<span class=\"token punctuation\">.<\/span>environ<span class=\"token punctuation\">.<\/span>setdefault<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;HF_HUB_DISABLE_XET&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;1&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">from<\/span> laya <span class=\"token keyword\">import<\/span> Router<\/p>\n<p>router <span class=\"token operator\">&#061;<\/span> Router<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span>   <span class=\"token comment\"># \u61d2\u52a0\u8f7d&#xff1a;\u9996\u6b21\u4f7f\u7528\u65f6\u624d\u4e0b\u8f7d\u5bf9\u5e94 checkpoint<\/span><\/p>\n<p>state <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;G4\u4eac\u6e2f\u6fb3\u9ad8\u901fK123\u5904&#xff0c;\u4e00\u8f86\u5c0f\u8f7f\u8f66\u4e0e\u8d27\u8f66\u8ffd\u5c3e&#xff0c;\u5360\u7528\u8d85\u8f66\u9053&#xff0c;1\u4eba\u53d7\u4f24&#xff0c;\u4ea4\u8b66\u5df2\u5230\u573a\u3002&#034;<\/span><\/p>\n<p>questions <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;event_type&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;type&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;choice&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;instructions&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u8fd9\u662f\u4ec0\u4e48\u7c7b\u578b\u7684\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6&#xff1f;&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n                   <span class=\"token string\">&#034;criteria&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;\u4ea4\u901a\u4e8b\u6545&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u8f66\u8f86\u78b0\u649e\u3001\u8ffd\u5c3e\u3001\u522e\u64e6&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n                                <span class=\"token string\">&#034;\u8f66\u8f86\u6545\u969c&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u629b\u951a\u3001\u7206\u80ce\u3001\u6545\u969c\u505c\u8f66&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n                                <span class=\"token string\">&#034;\u629b\u6d12\u7269&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u8def\u9762\u969c\u788d\u7269\u3001\u6563\u843d\u7269&#034;<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;severity&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;type&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;score&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;instructions&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u4e8b\u4ef6\u4e25\u91cd\u7a0b\u5ea6&#xff0c;0\u6700\u8f7b4\u6700\u91cd&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n                 <span class=\"token string\">&#034;criteria&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;\u53ef\u5feb\u901f\u5904\u7f6e&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;\u4e00\u822c(\u2163\u7ea7)&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;\u8f83\u5927(\u2162\u7ea7)&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;\u91cd\u5927(\u2161\u7ea7)&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;\u7279\u522b\u91cd\u5927(\u2160\u7ea7)&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;need_escalation&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;type&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;noul&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;instructions&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u662f\u5426\u9700\u8981\u63d0\u7ea7\u54cd\u5e94&#xff1f;&#034;<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>result <span class=\"token operator\">&#061;<\/span> router<span class=\"token punctuation\">.<\/span>predict<span class=\"token punctuation\">(<\/span>state<span class=\"token punctuation\">,<\/span> questions<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span>result<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;routing&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;model&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span>               <span class=\"token comment\"># -&gt; multilingual&#xff08;\u81ea\u52a8\u8bc6\u522b\u4e2d\u6587&#xff09;<\/span><br \/>\n<span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span>result<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;answers&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;event_type&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;choice&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token comment\"># -&gt; \u4ea4\u901a\u4e8b\u6545<\/span><\/p>\n<p>\u771f\u5b9e\u8f93\u51fa&#xff08;\u622a\u53d6\u5173\u952e\u5b57\u6bb5&#xff09;&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;event_type&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;type&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;choice&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;choice&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;\u4ea4\u901a\u4e8b\u6545&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;probabilities&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string-property property\">&#034;\u4ea4\u901a\u4e8b\u6545&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0.9998<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string-property property\">&#034;\u8f66\u8f86\u6545\u969c&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0.0001<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string-property property\">&#034;\u629b\u6d12\u7269&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0.0<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;answer_confidence&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0.9998<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;severity&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;type&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;score&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;score&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0.819<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;probabilities&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string-property property\">&#034;0&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0.2227<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string-property property\">&#034;1&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0.7491<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string-property property\">&#034;2&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0.0187<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string-property property\">&#034;3&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0.0054<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string-property property\">&#034;4&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0.004<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;answer_confidence&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0.7491<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;need_escalation&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string-property property\">&#034;type&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;noul&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string-property property\">&#034;noul&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0.0<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string-property property\">&#034;confidence&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">1.0<\/span><span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u4e09\u4e2a\u8981\u70b9&#xff1a;<\/p>\n<li>\u81ea\u52a8\u8def\u7531&#xff1a;\u4e2d\u6587\u6587\u672c\u88ab Router \u81ea\u52a8\u9001\u5230 multilingual checkpoint&#xff0c;\u4f60\u4e0d\u7528\u64cd\u5fc3&#xff1b;<\/li>\n<li>\u5f3a\u7c7b\u578b &#043; \u5168\u6982\u7387&#xff1a;choice \u76f4\u63a5\u7ed9\u5b57\u7b26\u4e32&#xff0c;\u4e0d\u7528\u6b63\u5219\u89e3\u6790\u6587\u672c&#xff1b;\u6bcf\u4e2a\u7b54\u6848\u90fd\u5e26\u5b8c\u6574\u6982\u7387\u5206\u5e03\u548c answer_confidence&#xff1b;<\/li>\n<li>\u96f6\u8f93\u51fa token&#xff1a;\u5b83\u6ca1\u6709&#034;\u751f\u6210&#034;\u8fc7\u7a0b&#xff0c;\u5355\u6b21\u524d\u5411\u5c31\u51fa\u7ed3\u679c\u2014\u2014\u8fd9\u5c31\u662f\u5b83\u5feb\u7684\u6839\u672c\u539f\u56e0\u3002<\/li>\n<hr \/>\n<h3>\u4e94\u3001\u6838\u5fc3\u5b9e\u6218&#xff1a;\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6&#034;\u68c0\u6d4b \u2192 \u5904\u7f6e\u5206\u7ea7&#034;\u5168\u94fe\u8def<\/h3>\n<p>\u73b0\u5728\u8fdb\u5165\u6b63\u9898\u3002\u6211\u628a\u4e1a\u52a1\u62c6\u6210\u56db\u4e2a\u51b3\u7b56 &#043; \u4e00\u4e2a\u515c\u5e95&#xff1a;<\/p>\n<p>QUESTIONS <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token comment\"># \u51b3\u7b56\u2460&#xff1a;\u4e8b\u4ef6\u7c7b\u578b&#xff08;\u68c0\u6d4b\u7ed3\u679c\u5f52\u7c7b&#xff09;<\/span><br \/>\n    <span class=\"token string\">&#034;event_type&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;type&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;choice&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;instructions&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u8be5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u5c5e\u4e8e\u54ea\u79cd\u7c7b\u578b&#xff1f;&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;criteria&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            <span class=\"token string\">&#034;\u4ea4\u901a\u4e8b\u6545&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u8f66\u8f86\u78b0\u649e\u3001\u8ffd\u5c3e\u3001\u4fa7\u7ffb\u3001\u8d77\u706b&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;\u8f66\u8f86\u6545\u969c&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u629b\u951a\u3001\u7206\u80ce\u3001\u6545\u969c\u505c\u8f66&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;\u629b\u6d12\u7269\u969c\u788d&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u8def\u9762\u6563\u843d\u7269\u3001\u969c\u788d\u7269\u3001\u843d\u77f3&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;\u6076\u52a3\u5929\u6c14&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u66b4\u96e8\u3001\u51b0\u96ea\u3001\u5927\u96fe\u3001\u5c71\u6d2a&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;\u65bd\u5de5\u5360\u9053&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u517b\u62a4\u65bd\u5de5\u3001\u5360\u9053\u4f5c\u4e1a&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;\u7ed3\u6784\u7269\u635f\u6bc1&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u6865\u6881\u3001\u96a7\u9053\u3001\u8fb9\u5761\u57ae\u584c&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;\u884c\u4eba\u52a8\u7269\u95ef\u5165&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u884c\u4eba\u3001\u52a8\u7269\u8fdb\u5165\u884c\u8f66\u9053&#034;<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token comment\"># \u51b3\u7b56\u2461&#xff1a;\u5904\u7f6e\u7b49\u7ea7&#xff08;\u2160\/\u2161\/\u2162\/\u2163&#xff0c;\u5224\u636e\u76f4\u63a5\u6765\u81ea\u56fd\u6807&#xff09;<\/span><br \/>\n    <span class=\"token string\">&#034;disposal_level&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;type&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;choice&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;instructions&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u6309\u5e94\u6025\u9884\u6848\u5b9a\u5904\u7f6e\u54cd\u5e94\u7b49\u7ea7&#xff1f;&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;criteria&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            <span class=\"token string\">&#034;\u2160\u7ea7\u7279\u522b\u91cd\u5927&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u4e2d\u65ad48h\u4ee5\u4e0a\u6216\u6b7b\u4ea1\u5931\u8e2a30\u4eba\u4ee5\u4e0a&#xff0c;\u8de8\u7701&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;\u2161\u7ea7\u91cd\u5927&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u4e2d\u65ad24h\u4ee5\u4e0a\u6216\u6b7b\u4ea1\u5931\u8e2a10-30\u4eba&#xff0c;\u8de8\u5e02&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;\u2162\u7ea7\u8f83\u5927&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u4e2d\u65ad6h\u4ee5\u4e0a\u6216\u6b7b\u4ea1\u5931\u8e2a3-10\u4eba&#xff0c;\u8de8\u53bf&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;\u2163\u7ea7\u4e00\u822c&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u4e2d\u65ad12h\u5185\u6216\u6b7b\u4ea1\u5931\u8e2a3\u4eba\u4ee5\u4e0b&#xff0c;\u53bf\u57df\u5185&#034;<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token comment\"># \u51b3\u7b56\u2462&#xff1a;\u4e25\u91cd\u5ea6\u8bc4\u5206&#xff08;\u591a\u4e8b\u4ef6\u6392\u961f\u8c03\u5ea6\u7684\u8fde\u7eed\u91cf&#xff09;<\/span><br \/>\n    <span class=\"token string\">&#034;severity&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;type&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;score&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;instructions&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u4e25\u91cd\u7a0b\u5ea6\u8bc4\u5206&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;criteria&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;\u53ef\u5feb\u901f\u5904\u7f6e&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;\u4e00\u822c&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;\u8f83\u5927&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;\u91cd\u5927&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;\u7279\u522b\u91cd\u5927&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token comment\"># \u51b3\u7b56\u2463&#xff1a;\u662f\u5426\u63d0\u7ea7&#xff08;\u515c\u5e95\u4fe1\u53f7&#xff09;<\/span><br \/>\n    <span class=\"token string\">&#034;need_escalation&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;type&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;noul&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;instructions&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u662f\u5426\u5728\u91cd\u8981\u533a\u57df\/\u91cd\u5927\u6d3b\u52a8\u671f\u95f4\u6216\u53ef\u80fd\u6076\u5316&#xff0c;\u9700\u63d0\u7ea7\u54cd\u5e94&#xff1f;&#034;<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u770b\u5230\u6ca1&#xff1f;\u7b54\u6848\u7a7a\u95f4\u5b8c\u5168\u7531\u4f60\u7ed9\u7684 criteria \u51b3\u5b9a\u3002\u5224\u636e\u5199\u5f97\u8d8a\u50cf\u56fd\u6807\u539f\u6587&#xff0c;\u6a21\u578b\u8d8a\u597d\u53d1\u6325&#xff1b;\u5199\u5f97\u8d8a\u7cca&#xff0c;\u6a21\u578b\u8d8a\u778e\u731c\u3002\u8fd9\u5c31\u662f\u51b3\u7b56\u6a21\u578b\u548c&#034;\u5168\u77e5\u5168\u80fd&#034;LLM \u6700\u5927\u7684\u533a\u522b\u3002<\/p>\n<p>\u6211\u6784\u9020\u4e86 8 \u6761\u771f\u5b9e\u98ce\u683c\u7684\u4e8b\u4ef6\u63cf\u8ff0&#xff0c;\u8986\u76d6 \u2160~\u2163 \u5168\u6863 &#043; \u591a\u79cd\u4e8b\u4ef6\u7c7b\u578b&#xff0c;\u9010\u6761\u8dd1&#xff0c;\u4eba\u5de5\u6807\u6ce8\u4e86 ground truth\u3002\u4e0b\u9762\u662f\u672c\u673a\u5b9e\u6d4b\u7684\u9010\u6761\u7ed3\u679c&#xff08;\u2713\/\u2717 \u662f\u76f8\u5bf9\u4eba\u5de5\u6807\u6ce8\u7684\u5bf9\u9519&#xff09;&#xff1a;<\/p>\n<table>\n<tr>#\u573a\u666f&#xff08;\u771f\u5b9e\u7b49\u7ea7&#xff09;\u4e8b\u4ef6\u7c7b\u578b\u00b7\u9884\u6d4b(\u7f6e\u4fe1)\u5904\u7f6e\u7b49\u7ea7\u00b7\u9884\u6d4b(\u7f6e\u4fe1)\u4e25\u91cd\u5ea6\u63d0\u7ea7noul\u5ef6\u8fdf<\/tr>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>\u7279\u5927\u6865\u57ae\u584c&#xff08;\u2160\u7ea7&#xff09;<\/td>\n<td>\u4ea4\u901a\u4e8b\u6545(0.87) \u2717<\/td>\n<td>\u2163\u7ea7(0.51) \u2717<\/td>\n<td>1.89<\/td>\n<td>0.73<\/td>\n<td>52ms<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u5c71\u6d2a\u6865\u57ae&#xff08;\u2161\u7ea7&#xff09;<\/td>\n<td>\u7ed3\u6784\u7269\u635f\u6bc1(0.78) \u2713<\/td>\n<td>\u2161\u7ea7(0.56) \u2713<\/td>\n<td>1.26<\/td>\n<td>0.96<\/td>\n<td>48ms<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>\u5371\u5316\u54c1\u6cc4\u6f0f&#xff08;\u2162\u7ea7&#xff09;<\/td>\n<td>\u4ea4\u901a\u4e8b\u6545(0.99) \u2713<\/td>\n<td>\u2163\u7ea7(0.94) \u2717<\/td>\n<td>1.52<\/td>\n<td>0.97<\/td>\n<td>47ms<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>\u8fb9\u5761\u584c\u65b9&#xff08;\u2163\u7ea7&#xff09;<\/td>\n<td>\u65bd\u5de5\u5360\u9053(0.24) \u2717<\/td>\n<td>\u2163\u7ea7(0.74) \u2713<\/td>\n<td>1.13<\/td>\n<td>0.17<\/td>\n<td>47ms<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>\u8f7b\u5fae\u8ffd\u5c3e&#xff08;\u2163\u7ea7&#xff09;<\/td>\n<td>\u4ea4\u901a\u4e8b\u6545(1.00) \u2713<\/td>\n<td>\u2163\u7ea7(0.59) \u2713<\/td>\n<td>1.07<\/td>\n<td>0.19<\/td>\n<td>45ms<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>\u629b\u6d12\u7269&#xff08;\u2163\u7ea7&#xff09;<\/td>\n<td>\u4ea4\u901a\u4e8b\u6545(0.56) \u2717<\/td>\n<td>\u2163\u7ea7(0.42) \u2713<\/td>\n<td>0.92<\/td>\n<td>0.02<\/td>\n<td>43ms<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>\u8f66\u8f86\u629b\u951a&#xff08;\u2163\u7ea7&#xff09;<\/td>\n<td>\u8f66\u8f86\u6545\u969c(1.00) \u2713<\/td>\n<td>\u2163\u7ea7(0.57) \u2713<\/td>\n<td>1.29<\/td>\n<td>0.06<\/td>\n<td>47ms<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>\u884c\u4eba\u95ef\u5165&#xff08;\u2163\u7ea7&#xff09;<\/td>\n<td>\u884c\u4eba\u52a8\u7269\u95ef\u5165(0.60) \u2713<\/td>\n<td>\u2163\u7ea7(0.55) \u2713<\/td>\n<td>1.14<\/td>\n<td>0.66<\/td>\n<td>43ms<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6c47\u603b&#xff1a;\u4e8b\u4ef6\u7c7b\u578b 5\/8&#xff08;0.625&#xff09;&#xff0c;\u5904\u7f6e\u7b49\u7ea7 6\/8&#xff08;0.75&#xff09;\u3002<\/p>\n<h4>5.1 \u5904\u7f6e\u7b49\u7ea7&#xff1a;\u770b\u8d77\u6765 0.75 \u4e0d\u9519&#xff0c;\u5176\u5b9e\u662f\u4e2a\u5927\u5751<\/h4>\n<p>\u5148\u522b\u9ad8\u5174\u3002\u770b\u8fd9\u5f20\u6df7\u6dc6\u77e9\u9635\u2014\u2014\u6a21\u578b\u51e0\u4e4e\u628a\u6240\u6709\u4e8b\u4ef6\u90fd\u5224\u6210\u4e86 \u2163\u7ea7&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260928095640-6aba39d8d5567.png\" alt=\"\u5904\u7f6e\u7b49\u7ea7\u6df7\u6dc6\u77e9\u9635\" \/> \u6211\u7684 8 \u6761\u6837\u672c\u91cc&#xff0c;\u672c\u6765\u5c31\u6709 6 \u6761\u662f \u2163\u7ea7\u3002\u6240\u4ee5&#034;\u95ed\u773c\u5168\u9009\u2163\u7ea7&#034;\u8fd9\u4e2a\u591a\u6570\u7c7b\u57fa\u7ebf&#xff0c;\u51c6\u786e\u7387\u4e5f\u662f 0.75\u3002\u4e5f\u5c31\u662f\u8bf4&#xff1a;\u6a21\u578b\u7684 0.75 \u548c\u778e\u731c\u591a\u6570\u7c7b\u6253\u5e73&#xff0c;\u5b83\u5176\u5b9e\u6ca1\u6709\u5b66\u4f1a\u5206\u7ea7\u2014\u2014\u6700\u81f4\u547d\u7684\u662f&#xff0c;\u6700\u8be5\u547d\u4e2d\u7684 \u2160 \u7ea7\u7279\u5927\u6865\u57ae\u584c&#xff0c;\u5b83\u53cd\u800c\u5224\u6210\u4e86 \u2163 \u7ea7&#xff08;\u7b2c 1 \u884c&#xff09;\u3002<\/p>\n<p>\u8fd9\u4e0d\u662f\u6211\u6570\u636e\u95ee\u9898&#xff0c;\u662f Laya \u7684\u5df2\u77e5\u77ed\u677f&#xff1a;\u96f6\u6837\u672c\u57fa\u51c6\u4e0a&#xff0c;laya-typed-decisions \u53ea\u6709 0.362&#xff0c;\u751a\u81f3\u4f4e\u4e8e\u591a\u6570\u7c7b\u57fa\u7ebf 0.461&#xff1b;\u5bf9\u6bd4 Jev \u7684 0.727 \u5dee\u8ddd\u660e\u663e\u3002\u51b3\u7b56\u6a21\u578b\u9ed8\u8ba4\u662f&#034;\u62ff\u6765\u5fae\u8c03\u7684\u5e95\u5ea7&#xff0c;\u4e0d\u662f\u5f00\u7bb1\u5373\u7528\u7684\u5206\u7ea7\u5f15\u64ce&#034;&#xff08;\u5b98\u65b9 model card \u539f\u8bdd\u7cbe\u795e&#xff09;\u3002<\/p>\n<h4>5.2 \u4e25\u91cd\u5ea6\u8bc4\u5206&#xff1a;\u88ab&#034;\u538b\u7f29&#034;\u5728\u4f4e\u4f4d<\/h4>\n<p>\u4e25\u91cd\u5ea6\u6211\u8bbe\u8ba1\u7684\u662f 0~4&#xff0c;\u4f46\u6a21\u578b\u8f93\u51fa\u5168\u538b\u5728 0.9~1.9 \u4e4b\u95f4&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260928095641-6aba39d9982da.png\" alt=\"\u4e25\u91cd\u5ea6\u8bc4\u5206\u538b\u7f29\" \/><\/p>\n<p>\u7279\u5927\u6865\u57ae\u584c\u8fd9\u79cd \u2160 \u7ea7\u4e8b\u6545&#xff0c;\u7406\u8bba\u4e0a\u8be5\u7ed9 4 \u5206&#xff0c;\u5b9e\u6d4b\u53ea\u7ed9 1.89\u2014\u2014\u6709&#034;\u5b83\u66f4\u4e25\u91cd&#034;\u7684\u5fae\u5f31\u4fe1\u53f7&#xff0c;\u4f46\u91cf\u7ea7\u5b8c\u5168\u4e0d\u6562\u5f80\u9ad8\u91cc\u6253\u3002\u8fd9\u662f\u5178\u578b\u7684&#034;\u6982\u7387\/\u6253\u5206\u6821\u51c6\u5dee&#034;&#xff0c;\u4e0b\u6587\u7b2c\u516b\u8282\u4f1a\u5c55\u5f00\u3002<\/p>\n<h4>5.3 \u610f\u5916\u7684\u60ca\u559c&#xff1a;\u63d0\u7ea7\u4fe1\u53f7 noul \u53cd\u800c\u5f88\u9760\u8c31<\/h4>\n<p>\u6700\u8ba9\u6211\u610f\u5916\u7684\u662f\u7b2c \u2463 \u4e2a\u51b3\u7b56\u3002\u628a 8 \u6761\u6309 noul&#xff08;\u63d0\u7ea7\u6982\u7387&#xff09;\u4ece\u9ad8\u5230\u4f4e\u6392&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260928095641-6aba39d9e2882.png\" alt=\"\u63d0\u7ea7\u4fe1\u53f7 noul\" \/><\/p>\n<p>\u5f97\u5206\u6700\u9ad8\u7684\u4e09\u6761&#xff0c;\u6070\u597d\u5c31\u662f\u4e09\u6761\u771f\u6b63\u5371\u9669\u7684\u4e8b\u4ef6&#xff08;\u5371\u5316\u54c1\u6cc4\u6f0f 0.97\u3001\u5c71\u6d2a\u6865\u57ae 0.96\u3001\u7279\u5927\u6865\u57ae 0.73&#xff09;\u3002\u4e5f\u5c31\u662f\u8bf4&#xff1a;&#034;\u662f\/\u5426&#034;\u8fd9\u79cd\u4e8c\u503c\u5224\u65ad&#xff0c;\u96f6\u6837\u672c\u4e0b\u6bd4\u7cbe\u7ec6\u7684\u56db\u7ea7\u5206\u7ea7\u9760\u8c31\u5f97\u591a\u3002\u8fd9\u8ddf\u5c0f\u6a21\u578b&#034;\u4e8c\u503c\u6bd4\u591a\u7c7b\u7a33&#034;\u7684\u666e\u904d\u89c4\u5f8b\u4e00\u81f4\u3002<\/p>\n<p>\u843d\u5730\u542b\u4e49&#xff1a;\u96f6\u6837\u672c\u76f4\u63a5\u4e0a\u7ebf\u7684\u59ff\u52bf&#xff0c;\u662f\u5148\u7528 noul \u505a&#034;\u5371\u9669\u4e8b\u4ef6\u521d\u7b5b\/\u544a\u8b66&#034;&#xff0c;\u800c\u4e0d\u662f\u76f4\u63a5\u4fe1\u4efb disposal_level \u7684\u56db\u7ea7\u7ed3\u679c\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001\u6027\u80fd\u5b9e\u6d4b&#xff1a;\u672c\u5730\u5230\u5e95\u6709\u591a\u5feb&#xff1f;<\/h3>\n<p>\u8fd9\u662f&#034;\u672c\u5730\u90e8\u7f72&#034;\u6700\u6838\u5fc3\u7684\u5356\u70b9&#xff0c;\u6211\u505a\u4e86\u5b9e\u6d4b&#xff08;Apple Silicon&#xff0c;\u672c\u5730 CPU\/MPS&#xff0c;\u6743\u91cd\u5df2\u9884\u70ed&#xff09;&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260928095642-6aba39da38d56.png\" alt=\"\u5355\u6761\u51b3\u7b56\u5ef6\u8fdf\" \/><\/p>\n<ul>\n<li>\u5355\u6761\u51b3\u7b56\u5ef6\u8fdf&#xff1a;42.6 ~ 51.9 ms&#xff0c;\u4e2d\u4f4d 47.2 ms&#xff1b;<\/li>\n<li>\u9996\u6b21\u8c03\u7528&#xff08;\u542b\u6743\u91cd\u4e0b\u8f7d &#043; \u52a0\u8f7d&#xff09;\u7ea6 3.4 \u79d2&#xff0c;\u4e4b\u540e\u7a33\u5b9a\u5728\u51e0\u5341\u6beb\u79d2&#xff1b;<\/li>\n<li>\u6279\u91cf predict_batch&#xff1a;8 \u6761\u5171 794 ms&#xff0c;\u7ea6 99 ms\/\u6761\u2014\u2014\u5c0f\u6279\u91cf\u77ed\u6587\u672c\u5728 CPU \u4e0a\u53cd\u800c\u66f4\u6162&#xff08;\u8def\u7531\u5206\u7ec4\u5f00\u9500 &gt; \u524d\u5411\u6536\u76ca&#xff09;&#xff0c;\u6279\u91cf\u4f18\u52bf\u8981\u5230\u5927 batch &#043; GPU \u541e\u5410\u65f6\u624d\u4f1a\u4f53\u73b0&#xff1b;<\/li>\n<li>\u5cf0\u503c\u5185\u5b58&#xff1a;torch \u7248\u5b9e\u6d4b\u7ea6 2.8 GiB&#xff08;\u542b PyTorch \u8fd0\u884c\u65f6 &#043; mmBERT fp32 \u6743\u91cd&#xff09;&#xff1b;\u793e\u533a MLX \u7248\u4ec5\u7ea6 0.7 GiB&#xff08;\u591a\u8bed\u8a00 checkpoint 687.6 MiB&#xff09;\u3002<\/li>\n<\/ul>\n<p>\u5bf9\u6bd4\u4e00\u4e0b&#034;\u4e91\u7aef API&#034;\u7684\u5904\u5883&#xff1a;\u5b98\u65b9 Jev API \u5355\u6b21\u51b3\u7b56\u7684\u7f51\u7edc\u5f80\u8fd4\u5c31\u4e3b\u5bfc\u4e86\u5ef6\u8fdf&#xff08;\u6570\u767e\u6beb\u79d2\u7ea7&#xff09;&#xff0c;\u800c\u4e14\u6570\u636e\u8981\u51fa\u672c\u673a\u3002\u5bf9\u96a7\u9053\u3001\u5c71\u533a\u3001\u957f\u4e0b\u5761\u8fd9\u7c7b\u5f31\u7f51\/\u65ad\u7f51\u573a\u666f&#xff0c;\u672c\u5730 47ms &#043; \u6570\u636e\u4e0d\u51fa\u673a\u623f&#xff0c;\u624d\u662f\u5173\u952e\u3002<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u5b89\u5168\u515c\u5e95&#xff1a;min_confidence \u5f03\u6743&#xff08;\u4ea4\u901a\u573a\u666f\u7684\u751f\u547d\u7ebf&#xff09;<\/h3>\n<p>\u4ea4\u901a\u662f\u5b89\u5168\u5173\u952e\u884c\u4e1a&#xff0c;\u6a21\u578b\u53ef\u4ee5&#034;\u7b54\u4e0d\u51fa&#034;&#xff0c;\u4f46\u4e0d\u80fd&#034;\u9519\u5f97\u81ea\u4fe1&#034;\u3002Laya \u63d0\u4f9b\u4e86\u4e00\u4e2a\u5173\u952e\u673a\u5236 min_confidence&#xff1a;\u7f6e\u4fe1\u5ea6\u4f4e\u4e8e\u9608\u503c\u65f6&#xff0c;\u7ed9\u7ed3\u679c\u6253\u4e0a low_confidence \u6807\u8bb0&#xff0c;\u628a\u51b3\u7b56\u6743\u4ea4\u56de\u7ed9\u4eba\u3002<\/p>\n<p>\u7528\u7b2c 1 \u6761&#034;\u7279\u5927\u6865\u57ae\u584c&#034;&#xff08;\u6a21\u578b\u9519\u5224\u6210 \u2163\u7ea7\u3001\u7f6e\u4fe1\u5ea6\u53ea\u6709 0.51&#xff09;\u6765\u6f14\u793a&#xff1a;<\/p>\n<p><span class=\"token keyword\">for<\/span> mc <span class=\"token keyword\">in<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token boolean\">None<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">0.7<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">0.9<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    r <span class=\"token operator\">&#061;<\/span> router<span class=\"token punctuation\">.<\/span>predict<span class=\"token punctuation\">(<\/span>catastrophic<span class=\"token punctuation\">,<\/span> QUESTIONS<span class=\"token punctuation\">,<\/span> min_confidence<span class=\"token operator\">&#061;<\/span>mc<span class=\"token punctuation\">)<\/span><br \/>\n    a <span class=\"token operator\">&#061;<\/span> r<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;answers&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;disposal_level&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span>mc<span class=\"token punctuation\">,<\/span> a<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;choice&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> a<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;answer_confidence&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> a<span class=\"token punctuation\">.<\/span>get<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;low_confidence&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>\u771f\u5b9e\u8f93\u51fa&#xff1a;<\/p>\n<p>None -&gt; \u2163\u7ea7\u4e00\u822c  0.5061  None      # \u4e0d\u8bbe\u9608\u503c&#xff1a;\u76f4\u63a5\u5410\u51fa\u9519\u8bef\u7b54\u6848<br \/>\n0.7  -&gt; \u2163\u7ea7\u4e00\u822c  0.5061  True      # \u2705 \u7f6e\u4fe1\u5ea6\u4e0d\u8db3 \u2192 \u6807\u8bb0\u8f6c\u4eba\u5de5<br \/>\n0.9  -&gt; \u2163\u7ea7\u4e00\u822c  0.5061  True      # \u2705 \u66f4\u4e25 \u2192 \u540c\u6837\u62e6\u622a<\/p>\n<p>\u8fd9\u5c31\u662f&#034;\u515c\u5e95&#034;\u7684\u6b63\u786e\u59ff\u52bf&#xff1a;\u6a21\u578b\u5927\u80c6\u7ed9\u5224\u65ad&#xff0c;\u4f46\u4f60\u5fc5\u987b\u7ed9\u5b83\u5957\u4e00\u4e2a&#034;\u7f6e\u4fe1\u5ea6\u95f8\u95e8&#034;&#xff0c;\u4f4e\u4e8e\u9608\u503c\u4e00\u5f8b\u8f6c\u4eba\u5de5\u590d\u6838\u3002\u4e00\u6761\u539f\u5219\u8bf7\u523b\u8fdb\u8111\u95e8&#xff1a;<\/p>\n<p>\u5bf9\u5b89\u5168\u5173\u952e\u573a\u666f&#xff0c;\u7f6e\u4fe1\u5ea6\u4f4e \u2260 \u6ca1\u5224\u65ad&#xff0c;\u5b83\u6070\u6070\u662f\u6a21\u578b\u5728\u8bf4&#034;\u8fd9\u4e8b\u6211\u6ca1\u628a\u63e1&#034;\u3002\u8fd9\u65f6\u5019\u7684\u4eba\u5de5\u590d\u6838\u4e0d\u662f\u6d6a\u8d39&#xff0c;\u662f\u5728\u7ed9\u81ea\u52a8\u5316\u515c\u5e95\u3002<\/p>\n<hr \/>\n<h3>\u516b\u3001\u8981\u843d\u5730&#xff0c;\u4f60\u5fc5\u987b\u77e5\u9053\u7684\u4e09\u4e2a\u771f\u76f8&#xff08;\u8e29\u5751\u7bc7&#xff09;<\/h3>\n<p>\u6211\u628a\u8fd9\u6b21\u5b9e\u6d4b &#043; \u793e\u533a\u8bc4\u6d4b\u91cc\u6700\u53cd\u76f4\u89c9\u3001\u6700\u5bb9\u6613\u7ffb\u8f66\u7684\u70b9&#xff0c;\u6d53\u7f29\u6210\u4e09\u6761&#xff1a;<\/p>\n<h4>8.1 \u96f6\u6837\u672c\u522b\u60f3\u76f4\u63a5\u4e0a\u7ebf&#xff0c;\u5fae\u8c03\u662f\u521a\u9700<\/h4>\n<ul>\n<li>\u96f6\u6837\u672c\u5206\u7ea7&#xff1a;Laya 0.362&#xff08;\u4f4e\u4e8e\u591a\u6570\u7c7b\u57fa\u7ebf&#xff09;\u2192 \u5728 typed-decisions \u4e0a\u5fae\u8c03\u540e 0.766&#xff0c;\u53cd\u8d85 Jev \u7684 0.727&#xff1b;<\/li>\n<li>\u4e2d\u6587\u5206\u7ea7\u6211\u5b9e\u6d4b&#xff1a;0.75 &#061;&#061; \u591a\u6570\u7c7b\u57fa\u7ebf&#xff0c;\u7b49\u4e8e\u6ca1\u5b66\u4f1a\u3002<\/li>\n<\/ul>\n<p>\u7ed3\u8bba&#xff1a;Laya \u7684\u6b63\u786e\u7528\u6cd5\u662f**\u201c\u5feb\u901f\u3001\u4fbf\u5b9c\u3001\u53ef\u79c1\u6709\u5316\u7684\u5fae\u8c03\u5e95\u5ea7\u201d**&#xff0c;\u800c\u4e0d\u662f\u5f00\u7bb1\u5373\u7528\u7684\u5f15\u64ce\u3002\u4f60\u5728\u81ea\u5df1\u4e1a\u52a1\u6570\u636e\u4e0a\u5582\u51e0\u767e\u4e0a\u5343\u6761\u6807\u6ce8&#xff0c;\u5b83\u624d\u6709\u8d44\u683c\u4e0a\u751f\u4ea7\u3002<\/p>\n<h4>8.2 \u6982\u7387\u6821\u51c6\u5dee&#xff0c;\u8981\u7528\u6e29\u5ea6\u91cd\u62df\u5408\u4fee<\/h4>\n<p>\u51fa\u5382 checkpoint \u7684 ECE&#xff08;\u671f\u671b\u6821\u51c6\u8bef\u5dee&#xff09;\u9ad8\u8fbe 0.466\u2014\u2014\u610f\u601d\u5c31\u662f\u5b83\u8bf4&#034;90% \u628a\u63e1&#034;\u65f6&#xff0c;\u5b9e\u9645\u5bf9\u7684\u6982\u7387\u8fdc\u4e0d\u5230 90%\u3002\u6309\u95ee\u9898\u7c7b\u578b\u505a\u6e29\u5ea6\u91cd\u62df\u5408\u540e&#xff0c;ECE \u80fd\u964d\u5230 0.081\u3002\u6821\u51c6\u4e0d\u4fee&#xff0c;\u4f60\u7684\u7f6e\u4fe1\u5ea6\u95f8\u95e8&#xff08;\u7b2c\u4e03\u8282&#xff09;\u5c31\u662f\u4e2a\u6446\u8bbe\u3002<\/p>\n<h4>8.3 \u4e2d\u6587\u5fc5\u987b multilingual&#xff0c;\u9009\u9879\u522b\u8d2a\u591a<\/h4>\n<ul>\n<li>\u82f1\u6587 checkpoint \u5bf9\u975e\u62c9\u4e01\u811a\u672c\u76f4\u63a5\u5931\u6548&#xff08;\u6709\u8bc4\u6d4b\u663e\u793a\u9ad8\u68c9\u6587 0% \u6b63\u786e\u7387\u5374 0.95 \u7f6e\u4fe1\u5ea6&#xff09;\u2014\u2014\u4e2d\u6587\u573a\u666f\u52a1\u5fc5\u8d70 multilingual&#xff08;Router \u4f1a\u81ea\u52a8\u8def\u7531&#xff0c;\u4f46\u4f60\u8981\u77e5\u9053\u8fd9\u4e00\u70b9&#xff09;&#xff1b;<\/li>\n<li>\u9009\u9879\u96c6\u8fc7\u5927&#xff08;20&#043; \u7c7b&#xff09;\u6027\u80fd\u5d29\u574f&#xff1a;Banking77 \u4e0a Laya 0.425 vs Jev 0.870\u3002\u628a\u4f60\u7684 criteria \u63a7\u5236\u5728 5~10 \u4e2a\u4e92\u65a5\u9009\u9879\u5185&#xff0c;\u5b81\u53ef\u5206\u5c42\u62c6\u89e3&#xff0c;\u4e5f\u522b\u4e00\u6b21\u585e 20 \u4e2a\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e5d\u3001\u8fdb\u9636&#xff1a;\u5fae\u8c03 &#043; \u6e29\u5ea6\u6821\u51c6 &#043; \u670d\u52a1\u5316<\/h3>\n<p>\u5fae\u8c03&#xff1a;\u5b98\u65b9\u7ed9\u4e86\u5b8c\u6574 notebook&#xff08;Kaggle \u514d\u8d39 2\u00d7T4 \u53ef\u8dd1&#xff09;&#xff1a;\u5efa\u6570\u636e\u96c6 \u2192 \u8bad\u7ec3 \u2192 \u62df\u5408\u6821\u51c6\u6e29\u5ea6 \u2192 \u8bc4\u6d4b \u2192 \u63a8\u5230 Hub\u3002\u4e2d\u6587\u573a\u666f\u7167\u6284\u6d41\u7a0b&#xff0c;\u628a\u6570\u636e\u96c6\u6362\u6210\u4f60\u6807\u6ce8\u7684\u4ea4\u901a\u4e8b\u4ef6\u5373\u53ef\u3002<\/p>\n<p>\u670d\u52a1\u5316&#xff1a;\u88c5 HTTP \u6269\u5c55 laya[serve]&#xff0c;\u4e00\u6761\u547d\u4ee4\u8d77\u670d\u52a1&#xff0c;\u66b4\u9732 Jev \u517c\u5bb9\u7684 \/v1\/systemone \u63a5\u53e3&#xff08;\u8fd8\u6709 \/health \u53ef\u67e5\u8bbe\u5907\u4e0e CPU \u56de\u9000\u60c5\u51b5&#xff09;\u3002\u8fd9\u610f\u5473\u7740&#xff1a;\u4f60\u672c\u5730\u8d77\u7684 Laya&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u5f53\u6210&#034;\u79c1\u6709\u5316 Jev&#034;\u6765\u7528&#xff0c;\u4e0a\u5c42\u4e1a\u52a1\u4ee3\u7801\u51e0\u4e4e\u4e0d\u7528\u6539\u3002<\/p>\n<p>python <span class=\"token parameter variable\">-m<\/span> pip <span class=\"token function\">install<\/span> <span class=\"token string\">&#034;laya[serve]&#034;<\/span><br \/>\nlaya-serve          <span class=\"token comment\"># \u8be6\u89c1 https:\/\/nandhakishorm.github.io\/laya\/<\/span><\/p>\n<p>\u5176\u4f59\u751f\u6001&#xff08;ONNX \u52a0\u901f\u3001LangChain\/LangGraph \u96c6\u6210\u3001MCP server\u3001Docker\u3001Apple MLX \u7248&#xff09;\u5b98\u65b9\u6587\u6863\u90fd\u5f88\u5168&#xff0c;\u6309\u9700\u53d6\u7528\u5373\u53ef\u3002<\/p>\n<hr \/>\n<h3>\u5341\u3001\u603b\u7ed3\u4e0e\u843d\u5730\u5efa\u8bae<\/h3>\n<p>\u4e00\u53e5\u8bdd\u603b\u7ed3\u8fd9\u7bc7\u6587\u7ae0\u7684\u5b9e\u8bdd&#xff1a;<\/p>\n<p>Laya&#xff08;\u5f00\u6e90\u7248 Jev&#xff09;\u6700\u503c\u94b1\u7684\u4e0d\u662f&#034;\u96f6\u6837\u672c\u5c31\u80fd\u7528&#034;&#xff0c;\u800c\u662f&#034;\u4e00\u4e2a\u80fd\u672c\u5730\u8dd1\u300147ms\u3001\u514d\u8d39\u3001Apache-2.0\u3001\u53ef\u5fae\u8c03\u79c1\u6709\u5316\u7684\u51b3\u7b56\u5e95\u5ea7&#034;\u3002 \u62ff\u5b83\u505a&#034;\u4e8b\u4ef6\u7c7b\u578b\u521d\u7b5b&#034;\u548c&#034;\u5371\u9669\u4e8b\u4ef6 noul \u544a\u8b66&#034;\u5f88\u597d\u4f7f&#xff1b;\u4f46&#034;\u2160\/\u2161\/\u2162\/\u2163 \u7cbe\u7ec6\u5206\u7ea7&#034;\u5fc5\u987b\u5fae\u8c03 &#043; \u6821\u51c6 &#043; \u4eba\u5de5\u515c\u5e95&#xff0c;\u5426\u5219\u5b83\u53ea\u4f1a\u7cca\u5f04\u4f60\u4e00\u4e2a \u2163\u7ea7\u3002<\/p>\n<p>\u7ed9\u4ea4\u901a\u4fe1\u606f\u5316\u540c\u4ec1\u7684\u4e09\u6761\u843d\u5730\u8def\u7ebf&#xff08;\u6309\u98ce\u9669\u4ece\u4f4e\u5230\u9ad8&#xff09;&#xff1a;<\/p>\n<li>\u5148\u505a\u65c1\u8def\u8f85\u52a9&#xff1a;\u8bbe\u5907\u544a\u8b66\u5206\u7ea7\u3001\u4e8b\u4ef6\u7c7b\u578b\u521d\u7b5b\u3001\u60c5\u62a5\u677f\u5185\u5bb9\u63a8\u8350\u2014\u2014\u51fa\u9519\u4e86\u4ee3\u4ef7\u53ef\u63a7\u3001\u6709\u4eba\u590d\u6838&#xff1b;<\/li>\n<li>\u518d\u4e0a\u544a\u8b66\u521d\u7b5b&#xff1a;\u7528 noul \u505a&#034;\u5371\u9669\u4e8b\u4ef6&#034;\u79d2\u7ea7\u521d\u7b5b&#xff0c;\u547d\u4e2d\u518d\u5347\u7ea7\u4eba\u5de5&#xff0c;\u914d\u5408 min_confidence \u95f8\u95e8&#xff1b;<\/li>\n<li>\u6700\u540e\u624d\u78b0\u7cbe\u7ec6\u5206\u7ea7&#xff1a;\u5728\u81ea\u6709\u6807\u6ce8\u6570\u636e\u4e0a\u5fae\u8c03 &#043; \u6e29\u5ea6\u6821\u51c6&#xff0c;\u7070\u5ea6\u4e0a\u7ebf&#xff0c;\u5b89\u5168\u5173\u952e\u52a8\u4f5c&#xff08;\u76f4\u63a5\u63a7\u4fe1\u53f7\u706f\/\u9053\u95f8&#xff09;\u59cb\u7ec8\u4fdd\u7559\u89c4\u5219&#043;\u4eba\u5de5\u515c\u5e95\u3002<\/li>\n<hr \/>\n<h3>&#x1f4e2; \u4e92\u52a8\u533a&#xff08;\u4f60\u7684\u60f3\u6cd5\u5bf9\u6211\u5f88\u91cd\u8981&#xff09;<\/h3>\n<p>\u5199\u8fd9\u7bc7\u4e4b\u524d\u6211\u7279\u610f\u628a\u6240\u6709\u6570\u5b57\u90fd\u672c\u673a\u8dd1\u4e86\u4e00\u904d&#xff0c;\u4f46\u4f60\u7684\u573a\u666f\u4e00\u5b9a\u548c\u6211\u4e0d\u4e00\u6837\u3002\u4e09\u4e2a\u95ee\u9898&#xff0c;\u8bc4\u8bba\u533a\u7b49\u4f60&#xff1a;<\/p>\n<li>\u4f60\u624b\u5934\u7684\u4e1a\u52a1\u91cc&#xff0c;\u54ea\u4e00\u7c7b&#034;\u9884\u8bbe\u9009\u9879\u5185\u7684\u5224\u65ad&#034;\u6700\u9002\u5408\u4ea4\u7ed9\u51b3\u7b56\u6a21\u578b&#xff1f; \u8bbe\u5907\u544a\u8b66&#xff1f;\u6cbb\u8d85\u7814\u5224&#xff1f;\u60c5\u62a5\u677f&#xff1f;\u8fd8\u662f\u522b\u7684&#xff1f;<\/li>\n<li>\u4e2d\u6587\u573a\u666f\u4f60\u4eec\u6d4b\u8fc7 Laya \u7684\u96f6\u6837\u672c\u51c6\u786e\u7387\u5417&#xff1f; \u662f\u548c\u6211\u4e00\u6837&#034;\u7cca\u5728\u591a\u6570\u7c7b&#034;&#xff0c;\u8fd8\u662f\u6709\u60ca\u559c&#xff1f;<\/li>\n<li>\u5fae\u8c03\u6570\u636e\u548c\u6807\u6ce8&#xff0c;\u4f60\u89c9\u5f97\u662f\u51b3\u7b56\u6a21\u578b\u843d\u5730\u7684\u6700\u5927\u95e8\u69db\u5417&#xff1f; \u6b22\u8fce\u804a\u804a\u4f60\u4eec\u7684\u6570\u636e\u79ef\u7d2f\u60c5\u51b5\u3002<\/li>\n<p>\u5982\u679c\u8fd9\u7bc7\u5e2e\u4f60\u7701\u4e86\u8e29\u5751\u7684\u65f6\u95f4&#xff0c;\u70b9\u4e2a\u8d5e &#x1f44d; \u6536\u85cf \u2b50&#xff0c;\u8ba9\u66f4\u591a\u540c\u884c\u770b\u5230&#xff1b;\u8f6c\u53d1\u7ed9\u4f60\u505a\u516c\u8def\/\u4ea4\u901a\u4fe1\u606f\u5316\u7684\u540c\u4e8b&#xff0c;\u54b1\u4eec\u8bc4\u8bba\u533a\u89c1\u3002<\/p>\n<p>\u60f3\u8981\u5b8c\u6574\u53ef\u8fd0\u884c\u4ee3\u7801&#xff08;demo\/ \u76ee\u5f55\u4e0b 00_smoke.py\u300102_bench_full.py\u300103_abstention.py &#043; \u56db\u5f20\u56fe\u8868 &#043; results.json&#xff09;&#xff0c;\u8bc4\u8bba\u533a\u7559\u8a00&#034;\u6c42\u4ee3\u7801&#034;&#xff0c;\u6211\u6574\u7406\u540e\u653e\u5230\u7f6e\u9876\u8bc4\u8bba\u3002<\/p>\n<hr \/>\n<h3>\u53c2\u8003\u8d44\u6599<\/h3>\n<ul>\n<li>NandhaKishorM\/laya \u2014 GitHub&#xff08;\u5b98\u65b9 README \/ API \/ \u5fae\u8c03 notebook&#xff09;<\/li>\n<li>convaiinnovations\/laya \u2014 Hugging Face \u6a21\u578b\u5361<\/li>\n<li>Laya \u5b98\u65b9\u6587\u6863&#xff08;hooks \/ \u7ed3\u6784\u5316\u51b3\u7b56 \/ Docker \/ \u670d\u52a1\u5316&#xff09;<\/li>\n<li>Laya \u8be6\u89e3&#xff1a;\u4e00\u79cd\u96f6\u8f93\u51fa token \u7684\u51b3\u7b56\u6a21\u578b \u2014 OrcaRouter<\/li>\n<li>Jev vs Laya&#xff1a;T4 \u4e0a 33ms&#xff0c;\u4f4e\u4e8e\u591a\u6570\u57fa\u51c6 \u2014 OrcaRouter<\/li>\n<li>Laya \u662f\u4ec0\u4e48&#xff0c;\u548c Jev \u6709\u4ec0\u4e48\u533a\u522b&#xff1a;\u5f00\u6e90\u51b3\u7b56\u6a21\u578b\u6df1\u5ea6\u5bf9\u6bd4 \u2014 \u4e03\u725b<\/li>\n<li>APUS \u5f00\u6e90\u56fd\u5185\u9996\u6279 Jev \u8de8\u5e73\u53f0\u590d\u73b0 \u2014 \u91cf\u5b50\u4f4d<\/li>\n<li>\u516c\u8def\u4ea4\u901a\u7a81\u53d1\u4e8b\u4ef6\u5e94\u6025\u9884\u6848&#xff08;\u4e8b\u4ef6\u5206\u7ea7 \u2160~\u2163 \u7ea7&#xff09;<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u91cd\u78c5&#xff01;\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b&#xff0c;\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev&#xff01; \u4e00\u53e5\u8bdd\u5267\u900f&#xff1a;\u90a3\u4e2a\\&#8221;\u53ea\u5224\u65ad\u3001\u4e0d\u5199\u4f5c\u6587\\&#8221;\u7684 AI \u6a21\u578b Jev&#xff0c;\u5b98\u65b9 API \u672a\u5411\u4e2d\u56fd\u5927\u9646\u5f00\u653e\u3001\u4e5f\u6ca1\u5f00\u6e90\u2014\u2014\u4f46\u5f00\u6e90\u793e\u533a\u4e09\u5929\u5c31\u4ea4\u51fa\u4e86 Apache-2.0 \u7684\u5b8c\u6574\u590d\u523b Laya\u3002\u672c\u6587\u4e0d\u804a\u6982\u5ff5&#xff08;\u6982\u5ff5\u770b\u8fd9\u7bc7 &#x1f449; \u300a\u706b\u7206\u5168\u7f51\u7684 Jev&#xff0c;\u516c\u8def\u4ea4\u901a\u5230\u5e95\u80fd\u62ff\u6765\u5e72\u561b&#xff1f;\u300b&#xff09;&#xff0c;\u76f4\u63a5\u5e26\u4f60<\/p>\n","protected":false},"author":2,"featured_media":110451,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[81,50,323,227,86],"topic":[],"class_list":["post-110455","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-python","tag-50","tag-323","tag-227","tag-86"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u91cd\u78c5\uff01\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b\uff0c\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/110455.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u91cd\u78c5\uff01\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b\uff0c\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u91cd\u78c5&#xff01;\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b&#xff0c;\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev&#xff01; \u4e00\u53e5\u8bdd\u5267\u900f&#xff1a;\u90a3\u4e2a&quot;\u53ea\u5224\u65ad\u3001\u4e0d\u5199\u4f5c\u6587&quot;\u7684 AI \u6a21\u578b Jev&#xff0c;\u5b98\u65b9 API \u672a\u5411\u4e2d\u56fd\u5927\u9646\u5f00\u653e\u3001\u4e5f\u6ca1\u5f00\u6e90\u2014\u2014\u4f46\u5f00\u6e90\u793e\u533a\u4e09\u5929\u5c31\u4ea4\u51fa\u4e86 Apache-2.0 \u7684\u5b8c\u6574\u590d\u523b Laya\u3002\u672c\u6587\u4e0d\u804a\u6982\u5ff5&#xff08;\u6982\u5ff5\u770b\u8fd9\u7bc7 &#x1f449; \u300a\u706b\u7206\u5168\u7f51\u7684 Jev&#xff0c;\u516c\u8def\u4ea4\u901a\u5230\u5e95\u80fd\u62ff\u6765\u5e72\u561b&#xff1f;\u300b&#xff09;&#xff0c;\u76f4\u63a5\u5e26\u4f60\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/110455.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-28T09:56:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260928095640-6aba39d8d5567.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/110455.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/110455.html\",\"name\":\"\u91cd\u78c5\uff01\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b\uff0c\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-28T09:56:43+00:00\",\"dateModified\":\"2026-09-28T09:56:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/110455.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/110455.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/110455.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u91cd\u78c5\uff01\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b\uff0c\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev\uff01\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u91cd\u78c5\uff01\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b\uff0c\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/110455.html","og_locale":"zh_CN","og_type":"article","og_title":"\u91cd\u78c5\uff01\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b\uff0c\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u91cd\u78c5&#xff01;\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b&#xff0c;\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev&#xff01; \u4e00\u53e5\u8bdd\u5267\u900f&#xff1a;\u90a3\u4e2a\"\u53ea\u5224\u65ad\u3001\u4e0d\u5199\u4f5c\u6587\"\u7684 AI \u6a21\u578b Jev&#xff0c;\u5b98\u65b9 API \u672a\u5411\u4e2d\u56fd\u5927\u9646\u5f00\u653e\u3001\u4e5f\u6ca1\u5f00\u6e90\u2014\u2014\u4f46\u5f00\u6e90\u793e\u533a\u4e09\u5929\u5c31\u4ea4\u51fa\u4e86 Apache-2.0 \u7684\u5b8c\u6574\u590d\u523b Laya\u3002\u672c\u6587\u4e0d\u804a\u6982\u5ff5&#xff08;\u6982\u5ff5\u770b\u8fd9\u7bc7 &#x1f449; \u300a\u706b\u7206\u5168\u7f51\u7684 Jev&#xff0c;\u516c\u8def\u4ea4\u901a\u5230\u5e95\u80fd\u62ff\u6765\u5e72\u561b&#xff1f;\u300b&#xff09;&#xff0c;\u76f4\u63a5\u5e26\u4f60","og_url":"https:\/\/www.wsisp.com\/helps\/110455.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-28T09:56:43+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260928095640-6aba39d8d5567.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"8 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/110455.html","url":"https:\/\/www.wsisp.com\/helps\/110455.html","name":"\u91cd\u78c5\uff01\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b\uff0c\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-28T09:56:43+00:00","dateModified":"2026-09-28T09:56:43+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/110455.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/110455.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/110455.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u91cd\u78c5\uff01\u4ee5\u516c\u8def\u4ea4\u901a\u4e8b\u4ef6\u68c0\u6d4b\u540e\u5904\u7f6e\u5206\u7ea7\u4e3a\u4f8b\uff0c\u5c1d\u9c9c\u5f00\u6e90\u7248 Jev\uff01"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/110455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=110455"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/110455\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/110451"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=110455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=110455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=110455"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=110455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}