
{"id":9836,"date":"2026-07-03T21:28:18","date_gmt":"2026-07-03T13:28:18","guid":{"rendered":"https:\/\/infernews.com\/blog\/paw\/"},"modified":"2026-07-03T21:28:18","modified_gmt":"2026-07-03T13:28:18","slug":"paw","status":"publish","type":"post","link":"https:\/\/infernews.com\/blog\/paw\/","title":{"rendered":"PAW\uff1a\u628a\u82f1\u6587\u7de8\u8b6f\u6210\u672c\u5730\u51fd\u6578"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/infernews.com\/blog\/wp-content\/uploads\/2026\/07\/pasted-6fc279c15cf4.jpg\" alt=\"Repository image for programasweights\/programasweights-python\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">PAW(programasweights-python)\u662f\u4e00\u500b Python \u5de5\u5177\u517c\u7814\u7a76\u539f\u578b\uff0c\u5c6c\u65bc\u628a\u300c\u81ea\u7136\u8a9e\u8a00\u300d\u898f\u683c\u7de8\u8b6f\u6210\u5c0f\u578b\u795e\u7d93\u51fd\u6578\u7684\u9805\u76ee\u3002\u5b83\u8981\u89e3\u6c7a\u7684\u662f\u4e00\u985e\u5f88\u96e3\u7528\u6b63\u5247\u8868\u9054\u5f0f\u6216\u786c\u7de8\u78bc\u898f\u5247\u5beb\u7a69\u5b9a\u7684\u5de5\u4f5c\uff0c\u4f8b\u5982\u4fee\u5fa9\u58de\u6389\u7684 JSON\u3001\u6a21\u7cca\u641c\u5c0b\u3001\u5206\u985e\u3001\u62bd\u53d6\u6b04\u4f4d\uff0c\u4ee5\u53ca\u628a\u6587\u5b57\u610f\u5716\u5c0d\u61c9\u5230\u6b63\u78ba\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u73fe\u6709\u505a\u6cd5\u901a\u5e38\u6709\u5169\u689d\u8def\uff1a\u4e00\u689d\u662f\u624b\u5beb\u898f\u5247\uff0c\u9047\u5230\u932f\u5b57\u3001\u683c\u5f0f\u98c4\u79fb\u540c\u908a\u754c\u60c5\u6cc1\u5c31\u5bb9\u6613\u5931\u6e96\uff1b\u53e6\u4e00\u689d\u662f\u628a\u6bcf\u6b21\u8f38\u5165\u90fd\u9001\u53bb LLM API\uff0c\u63db\u4f86\u8f03\u9ad8\u5f48\u6027\uff0c\u4f46\u6703\u5e36\u4f86\u7db2\u7d61\u4f9d\u8cf4\u3001\u6210\u672c\u540c\u91cd\u73fe\u6027\u554f\u984c\u3002Program-as-Weights\uff08PAW\uff09\u63d0\u51fa\u7684\u505a\u6cd5\uff0c\u662f\u5148\u7528\u4e00\u500b compiler \u628a\u82f1\u6587\u63cf\u8ff0\u7de8\u8b6f\u6210\u53ef\u91cd\u7528\u7684\u795e\u7d93\u7a0b\u5f0f\uff0c\u4e4b\u5f8c\u6bcf\u6b21\u547c\u53eb\u90fd\u5728\u672c\u6a5f\u57f7\u884c\uff0c\u5b9a\u4f4d\u7531\u300c\u6bcf\u6b21\u90fd\u554f\u6a21\u578b\u300d\u6539\u6210\u300c\u5148\u9020\u597d\u5de5\u5177\u518d\u53cd\u8986\u7528\u300d\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b89\u88dd\u8def\u7dda\u76f8\u7576\u76f4\u63a5\uff1aPython \u7aef\u53ef\u900f\u904e\u5957\u4ef6\u53d6\u5f97\u9810\u7de8\u8b6f\u51fd\u6578\uff0c\u4ea6\u53ef\u81ea\u884c compile\uff1b\u700f\u89bd\u5668\u7aef\u5247\u6709 <code>@programasweights\/web<\/code>\uff0c\u4f46\u53ea\u9650\u7528 <code>paw-4b-gpt2<\/code> \u9019\u689d\u8f03\u7d30\u7684 runtime\u3002\u90e8\u7f72\u53d6\u6368\u4e5f\u5beb\u5f97\u6e05\u695a\uff0c<code>paw-4b-qwen3-0.6b<\/code> \u6e96\u78ba\u5ea6\u8f03\u9ad8\uff0c\u7a0b\u5f0f\u9ad4\u7a4d\u7d04 22 MB\uff0c\u672c\u5730\u63a8\u7406\u7d04 0.05 \u81f3 0.5 \u79d2\uff1b<code>paw-4b-gpt2<\/code> \u6e96\u78ba\u5ea6\u8f03\u4f4e\uff0c\u4f46\u7a0b\u5f0f\u53ea\u6709\u7d04 5 MB\uff0c\u652f\u63f4 WebAssembly\uff0c\u8f03\u9069\u5408\u524d\u7aef\u6216\u8f15\u91cf\u5206\u767c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9805\u76ee\u7684\u6280\u8853\u5b9a\u4f4d\uff1a\u4f5c\u8005\u628a\u9019\u985e\u554f\u984c\u7a31\u70ba fuzzy-function programming\uff0c\u4e26\u91cb\u51fa FuzzyBench \u9019\u500b 10M examples \u6578\u64da\u96c6\uff0c\u7528 4B compiler \u70ba frozen interpreter \u7522\u751f parameter-efficient adapters\u3002\u6587\u4e2d\u6307\u51fa\uff0c0.6B Qwen3 interpreter \u57f7\u884c PAW \u7a0b\u5f0f\u6642\uff0c\u6548\u679c\u53ef\u63a5\u8fd1\u76f4\u63a5 prompting Qwen3-32B\uff0c\u540c\u6642\u628a\u63a8\u7406\u8a18\u61b6\u9ad4\u58d3\u5230\u7d04\u4e94\u5341\u5206\u4e4b\u4e00\uff0c\u4e26\u5728 MacBook M3 \u9054\u5230 30 tokens\/s\uff1b\u9019\u4e9b\u6578\u5b57\u6709\u52a9\u7406\u89e3\u5b83\u4e0d\u662f\u55ae\u7d14\u5305\u88dd\u6a21\u578b\uff0c\u800c\u662f\u5728\u6210\u672c\u3001\u53ef\u91cd\u7528\u6027\u8207\u96e2\u7dda\u80fd\u529b\u4e4b\u9593\u91cd\u65b0\u5206\u914d\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6838\u5fc3\u50f9\u503c<\/strong>\uff1a\u628a\u4e00\u6b21\u6027\u7684\u81ea\u7136\u8a9e\u8a00\u9700\u6c42\uff0c\u8f49\u6210\u53ef\u91cd\u8907\u547c\u53eb\u7684\u672c\u5730\u51fd\u6578<\/li>\n<li><strong>\u9069\u5408\u60c5\u5883<\/strong>\uff1a\u65e5\u8a8c\u5206\u6d41\u3001\u683c\u5f0f\u4fee\u5fa9\u3001\u6587\u5b57\u5206\u985e\u3001\u8cc7\u6599\u62bd\u53d6\u3001\u610f\u5716\u8def\u7531<\/li>\n<li><strong>\u4e3b\u8981\u53d6\u6368<\/strong>\uff1a\u6bd4\u76f4\u63a5\u8abf\u7528\u5927\u578b API \u66f4\u53ef\u63a7\u3001\u53ef\u96e2\u7dda\uff0c\u4f46\u7de8\u8b6f\u5668\u8207 runtime \u9078\u578b\u6703\u5f71\u97ff\u6e96\u78ba\u5ea6\u8207\u9ad4\u7a4d<\/li>\n<li><strong>\u76f8\u95dc\u6a21\u578b<\/strong>\uff1a<code>paw-4b-qwen3-0.6b<\/code>\u3001<code>paw-4b-gpt2<\/code>\uff0c\u8ad6\u6587\u4ea6\u4ee5 Qwen3-32B \u4f5c\u5c0d\u7167<\/li>\n<li><strong>\u53d7\u76ca\u5718\u968a<\/strong>\uff1a\u91cd\u8996\u672c\u5730\u57f7\u884c\u3001\u7a69\u5b9a\u8f38\u51fa\u3001\u4f4e\u6210\u672c\u91cd\u8907\u63a8\u7406\u7684\u958b\u767c\u5718\u968a\u6703\u8f03\u6613\u53d7\u60e0<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u9019\u500b\u9805\u76ee\u6700\u9069\u5408\u653e\u5728\u300c\u898f\u5247\u592a\u8106\u5f31\u3001API \u53c8\u592a\u91cd\u300d\u7684\u4e2d\u9593\u5730\u5e36\u3002\u5b83\u672a\u5fc5\u53d6\u4ee3\u901a\u7528 LLM\uff0c\u4f46\u5c0d\u4e00\u6279\u56fa\u5b9a\u4efb\u52d9\u800c\u8a00\uff0c\u5148\u7de8\u8b6f\u3001\u5f8c\u96e2\u7dda\u57f7\u884c\u7684\u65b9\u5f0f\u66f4\u50cf\u771f\u6b63\u53ef\u843d\u5730\u7684\u5de5\u7a0b\u5de5\u5177\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/programasweights.com\/\" rel=\"noopener noreferrer\" target=\"_blank\"><strong>\u9805\u76ee\u4e3b\u9801<\/strong><\/a> \u00b7 <a href=\"https:\/\/github.com\/programasweights\/programasweights-python\" rel=\"noopener noreferrer\" target=\"_blank\"><strong>GitHub<\/strong><\/a> \u00b7 <a href=\"https:\/\/arxiv.org\/pdf\/2607.02512\" rel=\"noopener noreferrer\" target=\"_blank\"><strong>Paper<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PAW\uff08programasweights-python\uff09 \u4e0d\u662f\u4e00\u822c LLM \u5c01\u88dd\uff0c\u800c\u662f\u628a\u6587\u5b57\u9700\u6c42\u8b8a\u6210\u53ef\u96e2\u7dda\u57f7\u884c\u7684\u5c0f\u578b\u795e\u7d93\u51fd\u6578\u3002\u5b83\u7784\u6e96\u898f\u5247\u96e3\u5beb\u3001\u53c8\u4e0d\u60f3\u9577\u671f\u4f9d\u8cf4 API \u7684\u6587\u5b57\u8655\u7406\u5de5\u4f5c\u3002<\/p>\n","protected":false},"author":8,"featured_media":9835,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ai_generated_summary":"","footnotes":""},"categories":[133,185,137,152,146,199],"tags":[],"class_list":["post-9836","post","type-post","status-publish","format-standard","hentry","category-133","category-qwen","category-api","category-python","category-146","category-dataset-"],"_links":{"self":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/posts\/9836","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/comments?post=9836"}],"version-history":[{"count":0,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/posts\/9836\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/media\/9835"}],"wp:attachment":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/media?parent=9836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/categories?post=9836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/tags?post=9836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}