{"id":33379,"date":"2024-03-18T14:52:55","date_gmt":"2024-03-18T06:52:55","guid":{"rendered":"https:\/\/www.deepin.org\/?p=33379"},"modified":"2024-03-18T15:04:06","modified_gmt":"2024-03-18T07:04:06","slug":"llamafile-a-must-have-tool","status":"publish","type":"post","link":"https:\/\/www.deepin.org.cn\/zh\/llamafile-a-must-have-tool\/","title":{"rendered":"llamafile\uff1a\u4e00\u4e2a\u65e0\u9700\u5b89\u88c5\u914d\u7f6e\u3001\u8de8\u5e73\u53f0\u8fd0\u884c\u5927\u578b\u8bed\u8a00\u6a21\u578b\u7684\u795e\u5668\uff01"},"content":{"rendered":"<img loading=\"lazy\" src=\"https:\/\/storage.deepin.org\/thread\/20240318062816442_zh.png\" alt=\"\" width=\"900\" height=\"383\" \/><\/p>\n<p>\u5728 AI \u9886\u57df\uff0c\u6a21\u578b\u63a8\u7406\u7684\u73af\u5883\u914d\u7f6e\u548c\u5b89\u88c5\u8fc7\u7a0b\u5e38\u5e38\u8ba9\u4eba\u5934\u75bc\u3002\u5982\u679c\u4f60\u4e5f\u6709\u8fd9\u6837\u7684\u56f0\u6270\uff0c\u90a3\u4e48 llamafile \u5c06\u4f1a\u662f\u4f60\u7684\u798f\u97f3\u3002\u672c\u6587\u7531 deepin\uff08\u6df1\u5ea6\uff09\u793e\u533a\u7528\u6237\u5ddd\u987a\u9875\u521b\u4f5c\uff0c\u8ba9\u4f60\u4e00\u6587\u5b66\u4f1a\u5982\u4f55\u73a9\u8f6c llamafile\uff01<\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u00a0llamafile\u5230\u5e95\u662f\u4ec0\u4e48\uff1f<\/strong><\/h1>\n<p>llamafile \u662f\u4e00\u79cd\u53ef\u5728\u4f60\u81ea\u5df1\u7684\u7535\u8111\u4e0a\u8fd0\u884c\u7684\u53ef\u6267\u884c\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\uff0c\u5b83\u5305\u542b\u4e86\u7ed9\u5b9a\u7684\u5f00\u653e LLM \u7684\u6743\u91cd\uff0c\u4ee5\u53ca\u8fd0\u884c\u8be5\u6a21\u578b\u6240\u9700\u7684\u4e00\u5207\u3002\u8ba9\u4eba\u60ca\u559c\u7684\u662f\uff0c\u4f60\u65e0\u9700\u8fdb\u884c\u4efb\u4f55\u5b89\u88c5\u6216\u914d\u7f6e\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u00a0llamafile\u5982\u4f55\u5b9e\u73b0\u8fd9\u4e00\u5207\uff1f<\/strong><\/h1>\n<p>\u8fd9\u4e00\u5207\u90fd\u5f97\u76ca\u4e8e llama.cpp \u4e0e Cosmopolitan Libc \u7684\u7ed3\u5408\uff0c\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u529f\u80fd\uff1a<\/p>\n<ul>\n<li><strong>\u8de8 CPU \u5fae\u67b6\u6784\u8fd0\u884c<\/strong>\uff1allamafiles \u53ef\u4ee5\u5728\u591a\u79cd CPU \u5fae\u67b6\u6784\u4e0a\u8fd0\u884c\uff0c\u652f\u6301\u65b0\u7684 Intel \u7cfb\u7edf\u4f7f\u7528\u73b0\u4ee3 CPU \u7279\u6027\uff0c\u540c\u65f6\u517c\u5bb9\u65e7\u8ba1\u7b97\u673a\u3002<\/li>\n<li><strong>\u8de8 CPU \u67b6\u6784\u8fd0\u884c\uff1a<\/strong>llamafiles \u53ef\u4ee5\u5728 AMD64 \u548c ARM64 \u7b49\u591a\u79cd CPU \u67b6\u6784\u4e0a\u8fd0\u884c\uff0c\u517c\u5bb9 Win32 \u548c\u5927\u591a\u6570 UNIX shell\u3002<\/li>\n<li><strong>\u8de8\u64cd\u4f5c\u7cfb\u7edf\u8fd0\u884c\uff1a<\/strong>llamafiles \u53ef\u4ee5\u5728 MacOS\u3001Windows\u3001Linux\u3001FreeBSD\u3001OpenBSD\u548c NetBSD \u516d\u79cd\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\u3002<\/li>\n<li><strong>\u6743\u91cd\u5d4c\u5165\uff1a<\/strong>LLM \u7684\u6743\u91cd\u53ef\u4ee5\u5d4c\u5165\u5230 llamafile \u4e2d\uff0c\u4f7f\u5f97\u672a\u538b\u7f29\u7684\u6743\u91cd\u53ef\u4ee5\u76f4\u63a5\u6620\u5c04\u5230\u5185\u5b58\u4e2d\uff0c\u7c7b\u4f3c\u4e8e\u81ea\u89e3\u538b\u7f29\u7684\u5b58\u6863\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u00a0llamafile\u652f\u6301\u54ea\u4e9b\u64cd\u4f5c\u7cfb\u7edf\u548cCPU\uff1f<\/strong><\/h1>\n<p>llamafile \u652f\u6301 Linux 2.6.18+\u3001Darwin (MacOS) 23.1.0+\u3001Windows 8+\u3001FreeBSD 13+\u3001NetBSD 9.2+\u3001OpenBSD 7+ \u7b49\u64cd\u4f5c\u7cfb\u7edf\u3002\u5728 CPU \u65b9\u9762\uff0c\u652f\u6301 AMD64 \u548c ARM64 \u4e24\u79cd\u5fae\u5904\u7406\u5668\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>llamafile\u5bf9GPU\u7684\u652f\u6301\u5982\u4f55<\/strong><\/h1>\n<p>llamafile \u652f\u6301 Apple Metal\u3001NVIDIA \u548c AMD \u4e09\u79cd\u7c7b\u578b\u7684 GPU\u3002\u5728 MacOS ARM64 \u4e0a\uff0c\u53ef\u4ee5\u901a\u8fc7\u7f16\u8bd1\u4e00\u4e2a\u5c0f\u6a21\u5757\u6765\u652f\u6301 GPU\u3002NVIDIA \u548c AMD \u663e\u5361\u7684\u6240\u6709\u8005\u9700\u8981\u4f20\u9012\u7279\u5b9a\u53c2\u6570\u6765\u542f\u7528 GPU\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u4f60\u4e5f\u53ef\u4ee5\u521b\u5efa\u81ea\u5df1\u7684llamafiles\uff01<\/strong><\/h1>\n<p>\u6709\u4e86\u8fd9\u4e2a\u9879\u76ee\u5305\u542b\u7684\u5de5\u5177\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u81ea\u5df1\u7684 llamafiles\uff0c\u4f7f\u7528\u4efb\u4f55\u4f60\u60f3\u8981\u7684\u517c\u5bb9\u6a21\u578b\u6743\u91cd\u3002\u7136\u540e\uff0c\u4f60\u53ef\u4ee5\u5c06\u8fd9\u4e9b llamafiles \u5206\u53d1\u7ed9\u5176\u4ed6\u4eba\u8f7b\u677e\u5730\u4f7f\u7528\u5b83\u4eec\uff0c\u65e0\u8bba\u4ed6\u4eec\u4f7f\u7528\u7684\u662f\u4ec0\u4e48\u7c7b\u578b\u7684\u8ba1\u7b97\u673a\u3002<\/p>\n<p>llamafile \u65e0\u7591\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u5b83\u4f7f\u5f97\u6a21\u578b\u63a8\u7406\u53d8\u5f97\u66f4\u52a0\u4fbf\u6377\uff0c\u65e0\u9700\u5b89\u88c5\u6216\u914d\u7f6e\u590d\u6742\u7684\u73af\u5883\u3002\u5982\u679c\u4f60\u8fd8\u5728\u4e3a\u6a21\u578b\u63a8\u7406\u7684\u73af\u5883\u914d\u7f6e\u800c\u70e6\u607c\uff0c\u90a3\u4e48\u4e3a\u4f55\u4e0d\u8bd5\u8bd5 llamafile \u5462\uff1f\u5177\u4f53\u53ef\u4ee5\u53c2\u8003\u8fd9\u4e2a\u6559\u7a0b\uff1a<a href=\"https:\/\/zhuanlan.zhihu.com\/p\/686886176\">https:\/\/zhuanlan.zhihu.com\/p\/686886176<\/a>\u300a\u5229\u7528llamafile\u6784\u9020\u50bb\u74dc\u5f0f\uff0c\u652f\u6301\u591a\u5e73\u53f0\u542f\u52a8\u7684\u5927\u6a21\u578b\u300b<\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u5982\u4f55\u5728deepin\u4e0a\u4f7f\u7528\uff1f<\/strong><\/h1>\n<p>\u6253\u5f00\u7ec8\u7aef\uff0c\u8fd0\u884c<em><span style=\"color: #0000ff;\"> sh .\/xxxx.llamafile<\/span><\/em><\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u5982\u4f55\u5728Windows\u4e0a\u9762\u4f7f\u7528\uff1f<\/strong><\/h1>\n<p>\u6539\u540e\u7f00\u4e3a.exe\uff0c\u53cc\u51fb\u6253\u5f00\u5373\u53ef\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u5982\u4f55\u4f7f\u7528GPU\u8fd0\u884c\u800c\u4e0d\u662fCPU?<\/strong><\/h1>\n<p>\u9700\u8981\u88c5\u597d NVIDIA\/AMD \u9a71\u52a8\uff0c\u5bf9\u5e94 NVIDIA\uff0c\u8fd8\u5e94\u8be5\u88c5\u4e86 CUDA\uff0c\u7136\u540e\u5728\u8fd0\u884c\u65f6\u52a0\u4e0a -ngl 99999 \u5373\u53ef\uff0c\u8fd9\u4e2a\u4ee3\u8868\u5c06 99999 \u5c42\uff08\u5b9e\u9645\u4e5f\u5c31\u51e0\u767e\u4e0a\u5343\u5c42\uff09\u7f51\u7edc\u90fd\u642c\u5230 GPU\uff0c\u5982\u679c\u4f60\u663e\u5b58\u4e0d\u591f\uff0c\u53ef\u4ee5\u9002\u5f53\u964d\u4f4e\u8fd9\u4e2a\u6570\u503c\uff0c\u6bd4\u5982 99\u3001999 \u7b49\u3002<\/p>\n<p>\u7efc\u5408\u6765\u770b\uff0c\u5bf9\u4e8e deepin: <span style=\"color: #0000ff;\"><em>sh .\/xxxx.llamafile -ngl 99999<\/em><\/span><\/p>\n<p>\u5bf9\u4e8e Windows: <em><span style=\"color: #0000ff;\">.\/xxx.lamafile.exe -ngl 9999<\/span><\/em><\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u83b7\u53d6\u5730\u5740<\/strong><\/h1>\n<p>\u767e\u5ea6\u7f51\u76d8\u94fe\u63a5\uff1a<\/p>\n<p>https:\/\/pan.baidu.com\/s\/14cv7McPa1XpXBNKy914HyQ?pwd=msjn\u00a0 \u00a0 \u00a0 \u00a0\u63d0\u53d6\u7801\uff1amsjn<\/p>\n<p>123\u4e91\u76d8\u94fe\u63a5\uff1a<\/p>\n<p>https:\/\/www.123pan.com\/s\/oEqDVv-IP4o.html\u00a0 \u00a0 \u00a0 \u00a0 \u63d0\u53d6\u7801\uff1a8MCi<\/p>\n<p>\uff08\u6ce8\uff1a\u540e\u7f00.exe \u53ef\u4ee5\u5ffd\u7565\uff0c\u56e0\u4e3a llamafile \u662f\u8de8\u5e73\u53f0\u7684\uff0c\u53ef\u4ee5\u540c\u65f6\u5728 Linux\u3001Windows\u3001Mac\u3001BSD\u4e0a\u8fd0\u884c\u3002\uff09<\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u4f7f\u7528\u622a\u56fe<\/strong><\/h1>\n<p><img class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202403140917442540_image.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u5982\u4f55\u63a5\u5165\u5176\u4ed6\u5ba2\u6237\u7aef\uff1f<\/strong><\/h1>\n<p>\u63a8\u8350\u8fd9\u4e2a\uff0c\u4e00\u952e\u62e5\u6709\u4f60\u81ea\u5df1\u7684\u8de8\u5e73\u53f0 ChatGPT\/Gemini \u5e94\u7528\uff1a<\/p>\n<p><a href=\"https:\/\/github.com\/ChatGPTNextWeb\/ChatGPT-Next-Web\">https:\/\/github.com\/ChatGPTNextWeb\/ChatGPT-Next-Web<\/a><\/p>\n<p>\u300aChatGPTNextWeb\/ChatGPT-Next-Web: A cross-platform ChatGPT\/Gemini UI (Web \/ PWA \/ Linux \/ Win \/ MacOS)\u300b<\/p>\n<p>\u5b89\u88c5\u540e\u518d\u8bbe\u7f6e\uff0c\u6a21\u578b\u670d\u52a1\u5546\u9009\u62e9 OpenAI\uff0c\u63a5\u53e3\u5730\u5740\u6362\u6210\u00a0<span style=\"color: #0000ff;\"> http:\/\/127.0.0.1:8080<\/span><\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u63a5\u5165UOS-AI\uff08\u4e0d\u63a8\u8350\u666e\u901a\u7528\u6237\u5c1d\u8bd5\uff09<\/strong><\/h1>\n<ul>\n<li><strong>\u5148\u542f\u52a8 llamafile\u3002<\/strong><\/li>\n<li><strong>\u518d\u5b89\u88c5 NGINX\u00a0 <em><span style=\"color: #0000ff;\">sudo apt install nginx<\/span><\/em><\/strong><\/li>\n<li><strong>\u5229\u7528 OpenSSL \u81ea\u7b7e\u540d SSL \u8bc1\u4e66\uff0c\u6709\u6548\u671f 10 \u5e74\u3002<\/strong><\/li>\n<\/ul>\n<p>openssl req -newkey rsa:2048 -x509 -nodes -keyout localhost.key -new -out localhost.crt -subj \/CN=Hostname -reqexts SAN -extensions SAN -config &lt;(cat \/usr\/lib\/ssl\/openssl.cnf \\<br \/>\n&lt;(printf '[SAN]\\nsubjectAltName=DNS:hostname,IP:127.0.0.1')) -sha256 -days 3650<\/p>\n<ul>\n<li><strong>\u5728 NGINX \u914d\u7f6e\u76ee\u5f55\uff0c\u521b\u5efa\u8bc1\u4e66\u76ee\u5f55\uff0c\u5c06\u521a\u521a\u7684\u8bc1\u4e66\u79fb\u8fc7\u53bb\u3002<\/strong><\/li>\n<\/ul>\n<p>sudo mkdir \/etc\/nginx\/cert\/<br \/>\nsudo cp localhost.* \/etc\/nginx\/cert\/<\/p>\n<ul>\n<li><strong>\u7f16\u8f91NGINX\u9ed8\u8ba4\u7f51\u7ad9\u914d\u7f6e\u6587\u4ef6\uff0csudo vim \/etc\/nginx\/sites-enabled\/default \u914d\u7f6e\u5982\u4e0b\uff1a<\/strong><\/li>\n<\/ul>\n<p>##<br \/>\n# You should look at the following URL's in order to grasp a solid understanding<br \/>\n# of Nginx configuration files in order to fully unleash the power of Nginx.<br \/>\n# https:\/\/www.nginx.com\/resources\/wiki\/start\/<br \/>\n# https:\/\/www.nginx.com\/resources\/wiki\/start\/topics\/tutorials\/config_pitfalls\/<br \/>\n# https:\/\/wiki.debian.org\/Nginx\/DirectoryStructure<br \/>\n#<br \/>\n# In most cases, administrators will remove this file from sites-enabled\/ and<br \/>\n# leave it as reference inside of sites-available where it will continue to be<br \/>\n# updated by the nginx packaging team.<br \/>\n#<br \/>\n# This file will automatically load configuration files provided by other<br \/>\n# applications, such as Drupal or WordPress. These applications will be made<br \/>\n# available underneath a path with that package name, such as \/drupal8.<br \/>\n#<br \/>\n# Please see \/usr\/share\/doc\/nginx-doc\/examples\/ for more detailed examples.<br \/>\n##<\/p>\n<p># Default server configuration<br \/>\n#<br \/>\nserver {<br \/>\nlisten 80 default_server;<br \/>\nlisten [::]:80 default_server;<\/p>\n<p># SSL configuration<br \/>\nlisten 443 ssl default_server;<br \/>\nlisten [::]:443 ssl default_server;<br \/>\nssl_certificate cert\/localhost.crt;<br \/>\nssl_certificate_key cert\/localhost.key;<br \/>\nssl_session_timeout 5m;<br \/>\nssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;<br \/>\nssl_protocols TLSv1 TLSv1.1 TLSv1.2;<br \/>\nssl_prefer_server_ciphers on;<br \/>\n# Add index.php to the list if you are using PHP<br \/>\nindex index.html index.htm index.nginx-debian.html;<\/p>\n<p># server_name _;<br \/>\nserver_name api.openai.com;<\/p>\n<p>location \/ {<br \/>\nproxy_pass http:\/\/127.0.0.1:8080;<br \/>\nproxy_set_header Host $host;<br \/>\nproxy_set_header X-Real-IP $remote_addr;<br \/>\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>\n}<\/p>\n<p>}<\/p>\n<ul>\n<li><strong>\u91cd\u542f NGINX\u3002<\/strong><\/li>\n<\/ul>\n<p>sudo systemctl restart nginx<\/p>\n<ul>\n<li><strong>\u4fee\u6539\u672c\u673a Host\uff0c\u5c06\u672c\u673a IP: 127.0.0.1 \u6620\u5c04\u5230\u521a\u521a\u914d\u7f6e\u7684 api.openai.com \uff0c\u4fee\u6539\u65b9\u6cd5\uff1asudo vim \/etc\/hosts \u5728\u4efb\u610f\u884c\u589e\u52a0\u4e00\u884c 127.0.0.1 api.openai.com<\/strong><\/li>\n<li><strong>\u7136\u540e\u6309\u7167\u8be5\u5185\u5bb9\uff1a<a href=\"https:\/\/bbs.deepin.org\/zh\/post\/267049\">https:\/\/bbs.deepin.org\/zh\/post\/267049<\/a>\u00a0 \u8ba9 UOS AI \u8fdb\u5165\u82f1\u8bed\u73af\u5883\uff0c\u8fd9\u6837\u624d\u80fd\u6dfb\u52a0 ChatGPT \u8bbe\u7f6e\u3002<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>\u6dfb\u52a0\u914d\u7f6e\uff1a<\/strong><\/li>\n<\/ul>\n<p><img class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202403150222291137_image.png\" alt=\"image.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>\u6dfb\u52a0\u6210\u529f\uff08\u7535\u8111\u914d\u7f6e\u5dee\u7684\u53ef\u80fd\u8981\u591a\u8bd5\u51e0\u6b21\uff09\uff1a<\/strong><\/li>\n<\/ul>\n<p><img class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202403150227193033_image.png\" alt=\"image.png\" \/><\/p>\n<ul>\n<li><strong>\u5f00\u59cb\u4f7f\u7528\uff1a<\/strong><\/li>\n<\/ul>\n<p><img class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202403150229278643_image.png\" alt=\"image.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u6ce8\u610f\uff1a<\/strong>\u76ee\u524d\u9009\u62e9 GPT3.5\/GPT4 \u5728 UOS AI \u91cc\u8c8c\u4f3c\u4e0d\u652f\u6301\u6d41\u5f0f\u4f20\u8f93\uff0c\u4e5f\u5c31\u662f\u6ca1\u529e\u6cd5\u4e00\u4e2a\u5b57\u4e00\u4e2a\u5b57\u541e\u5410\uff0c\u5bfc\u81f4\u8981\u7b49\u5f85\u8f83\u957f\u65f6\u95f4\uff0c\u7b49\u6240\u6709\u5b57\u90fd\u9884\u6d4b\u597d\u4e86\u624d\u4f1a\u8fd4\u56de\uff0c\u4f53\u9a8c\u8f83\u5dee\uff0c\u800c\u5176\u4ed6 API \u6bd4\u5982\u8baf\u98de\u661f\u706b\u662f\u652f\u6301\u6d41\u7684\uff0c\u6240\u4ee5\u5efa\u8bae\u8fd8\u662f\u7528 llamafile \u81ea\u5e26\u7684\u7f51\u9875\u804a\u5929\u7a97\u5427\u3002<\/p>\n<p>\u539f\u8d34\u5730\u5740\uff1a<a href=\"https:\/\/bbs.deepin.org\/zh\/post\/269443\">https:\/\/bbs.deepin.org\/zh\/post\/269443<\/a><\/p>\n<p style=\"text-align: right;\">\u5185\u5bb9\u6765\u6e90\uff1adeepin \u793e\u533a<\/p>\n<p style=\"text-align: right;\">\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904<\/p>","protected":false},"excerpt":{"rendered":"<p>\u5728 AI \u9886\u57df\uff0c\u6a21\u578b\u63a8\u7406\u7684\u73af\u5883\u914d\u7f6e\u548c\u5b89\u88c5\u8fc7\u7a0b\u5e38\u5e38\u8ba9\u4eba\u5934\u75bc\u3002\u5982\u679c\u4f60\u4e5f\u6709\u8fd9\u6837\u7684\u56f0\u6270\uff0c\u90a3\u4e48 llamafile \u5c06\u4f1a\u662f\u4f60\u7684\u798f\u97f3\u3002\u672c\u6587\u7531 deepin\uff08\u6df1\u5ea6\uff09\u793e\u533a\u7528\u6237\u5ddd\u987a\u9875\u521b\u4f5c\uff0c\u8ba9\u4f60\u4e00\u6587\u5b66\u4f1a\u5982\u4f55\u73a9\u8f6c llamafile\uff01 &nbsp; \u00a0llamafile\u5230\u5e95\u662f\u4ec0\u4e48\uff1f llamafile \u662f\u4e00\u79cd\u53ef\u5728\u4f60\u81ea\u5df1\u7684\u7535\u8111\u4e0a\u8fd0\u884c\u7684\u53ef\u6267\u884c\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\uff0c\u5b83\u5305\u542b\u4e86\u7ed9\u5b9a\u7684\u5f00\u653e LLM \u7684\u6743\u91cd\uff0c\u4ee5\u53ca\u8fd0\u884c\u8be5\u6a21\u578b\u6240\u9700\u7684\u4e00 ...<a href=https:\/\/www.deepin.org.cn\/zh\/llamafile-a-must-have-tool\/>\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":11164,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[155,93],"tags":[],"_links":{"self":[{"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/posts\/33379"}],"collection":[{"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/users\/11164"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/comments?post=33379"}],"version-history":[{"count":6,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/posts\/33379\/revisions"}],"predecessor-version":[{"id":33385,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/posts\/33379\/revisions\/33385"}],"wp:attachment":[{"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/media?parent=33379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/categories?post=33379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/tags?post=33379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}