{"id":83290,"date":"2026-07-25T19:34:20","date_gmt":"2026-07-25T11:34:20","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83290.html"},"modified":"2026-07-25T19:34:20","modified_gmt":"2026-07-25T11:34:20","slug":"gemma-3-12b-it%e5%a4%9a%e5%ae%9e%e4%be%8b%e9%83%a8%e7%bd%b2%e6%95%99%e7%a8%8b%ef%bc%9a%e5%90%8c%e4%b8%80%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%bf%90%e8%a1%8c%e5%a4%9a%e4%b8%aa%e6%b8%a9%e5%ba%a6%e7%ad%96","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83290.html","title":{"rendered":"Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b\uff1a\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b"},"content":{"rendered":"<h2>Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b&#xff1a;\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b<\/h2>\n<h3>1. \u5f15\u8a00&#xff1a;\u4e3a\u4ec0\u4e48\u9700\u8981\u591a\u5b9e\u4f8b\u90e8\u7f72&#xff1f;<\/h3>\n<p>\u60f3\u8c61\u4e00\u4e0b&#xff0c;\u4f60\u6b63\u5728\u4f7f\u7528Gemma-3-12B-IT\u8fd9\u4e2a\u5f3a\u5927\u7684AI\u52a9\u624b\u3002\u6709\u65f6\u5019\u4f60\u9700\u8981\u5b83\u4e25\u8c28\u5730\u5e2e\u4f60\u5199\u4ee3\u7801&#xff0c;\u628aTemperature\u53c2\u6570\u8c03\u52300.2&#xff0c;\u8ba9\u5b83\u4e00\u5b57\u4e00\u53e5\u90fd\u7cbe\u51c6\u65e0\u8bef\u3002\u6709\u65f6\u5019\u4f60\u53c8\u60f3\u8ba9\u5b83\u5e2e\u4f60\u5199\u4e2a\u521b\u610f\u6545\u4e8b&#xff0c;\u628aTemperature\u8c03\u52301.2&#xff0c;\u8ba9\u5b83\u5929\u9a6c\u884c\u7a7a\u81ea\u7531\u53d1\u6325\u3002<\/p>\n<p>\u4f46\u6bcf\u6b21\u90fd\u8981\u624b\u52a8\u8c03\u6574\u53c2\u6570&#xff0c;\u662f\u4e0d\u662f\u6709\u70b9\u9ebb\u70e6&#xff1f;\u66f4\u9ebb\u70e6\u7684\u662f&#xff0c;\u5f53\u4f60\u6b63\u5728\u7528\u4e25\u8c28\u6a21\u5f0f\u5199\u4ee3\u7801\u65f6&#xff0c;\u7a81\u7136\u60f3\u5207\u6362\u5230\u521b\u610f\u6a21\u5f0f&#xff0c;\u8fd8\u5f97\u7b49\u5f53\u524d\u5bf9\u8bdd\u7ed3\u675f&#xff0c;\u91cd\u65b0\u8c03\u6574\u53c2\u6570\u3002<\/p>\n<p>\u8fd9\u5c31\u662f\u6211\u4eec\u4eca\u5929\u8981\u89e3\u51b3\u7684\u95ee\u9898&#xff1a;\u5728\u540c\u4e00\u53f0\u670d\u52a1\u5668\u4e0a&#xff0c;\u540c\u65f6\u8fd0\u884c\u591a\u4e2aGemma-3-12B-IT\u5b9e\u4f8b&#xff0c;\u6bcf\u4e2a\u5b9e\u4f8b\u914d\u7f6e\u4e0d\u540c\u7684\u6e29\u5ea6\u7b56\u7565\u3002\u4f60\u53ef\u4ee5\u540c\u65f6\u62e5\u6709&#xff1a;<\/p>\n<ul>\n<li>\u4e00\u4e2a\u4e25\u8c28\u7684\u201c\u4ee3\u7801\u4e13\u5bb6\u201d&#xff08;Temperature&#061;0.2&#xff09;<\/li>\n<li>\u4e00\u4e2a\u5e73\u8861\u7684\u201c\u77e5\u8bc6\u52a9\u624b\u201d&#xff08;Temperature&#061;0.7&#xff09;<\/li>\n<li>\u4e00\u4e2a\u521b\u610f\u7684\u201c\u5199\u4f5c\u4f19\u4f34\u201d&#xff08;Temperature&#061;1.2&#xff09;<\/li>\n<\/ul>\n<p>\u4e09\u4e2a\u52a9\u624b\u540c\u65f6\u5728\u7ebf&#xff0c;\u968f\u65f6\u5207\u6362&#xff0c;\u4e92\u4e0d\u5e72\u6270\u3002\u542c\u8d77\u6765\u662f\u4e0d\u662f\u5f88\u9177&#xff1f;\u63a5\u4e0b\u6765&#xff0c;\u6211\u5c31\u5e26\u4f60\u4e00\u6b65\u6b65\u5b9e\u73b0\u8fd9\u4e2a\u914d\u7f6e\u3002<\/p>\n<h3>2. \u51c6\u5907\u5de5\u4f5c\u4e0e\u73af\u5883\u68c0\u67e5<\/h3>\n<p>\u5728\u5f00\u59cb\u4e4b\u524d&#xff0c;\u6211\u4eec\u5148\u786e\u8ba4\u4e00\u4e0b\u4f60\u7684\u670d\u52a1\u5668\u73af\u5883\u662f\u5426\u6ee1\u8db3\u8981\u6c42\u3002\u8fd9\u4e2a\u65b9\u6848\u5bf9\u786c\u4ef6\u6709\u4e00\u5b9a\u8981\u6c42&#xff0c;\u6bd5\u7adf\u6211\u4eec\u8981\u540c\u65f6\u8fd0\u884c\u591a\u4e2a\u6a21\u578b\u5b9e\u4f8b\u3002<\/p>\n<h4>2.1 \u786c\u4ef6\u8981\u6c42<\/h4>\n<p>\u7531\u4e8eGemma-3-12B-IT\u6a21\u578b\u672c\u8eab\u9700\u8981\u7ea623GB\u5185\u5b58&#xff0c;\u8fd0\u884c\u591a\u4e2a\u5b9e\u4f8b\u610f\u5473\u7740\u9700\u8981\u66f4\u591a\u7684\u8d44\u6e90\u3002\u4ee5\u4e0b\u662f\u63a8\u8350\u914d\u7f6e&#xff1a;<\/p>\n<table>\n<tr>\u8d44\u6e90\u7c7b\u578b\u5355\u5b9e\u4f8b\u9700\u6c42\u4e09\u5b9e\u4f8b\u9700\u6c42\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u5185\u5b58<\/td>\n<td>32GB&#043;<\/td>\n<td>64GB&#043;<\/td>\n<td>\u6bcf\u4e2a\u5b9e\u4f8b\u7ea6\u970020-25GB\u5185\u5b58<\/td>\n<\/tr>\n<tr>\n<td>GPU\u663e\u5b58<\/td>\n<td>24GB&#043;<\/td>\n<td>48GB&#043;<\/td>\n<td>\u5982\u679c\u4f7f\u7528GPU\u52a0\u901f<\/td>\n<\/tr>\n<tr>\n<td>\u78c1\u76d8\u7a7a\u95f4<\/td>\n<td>50GB<\/td>\n<td>100GB<\/td>\n<td>\u5305\u542b\u6a21\u578b\u6587\u4ef6\u548c\u65e5\u5fd7<\/td>\n<\/tr>\n<tr>\n<td>CPU\u6838\u5fc3<\/td>\n<td>8\u6838<\/td>\n<td>16\u6838<\/td>\n<td>\u652f\u6301\u5e76\u884c\u5904\u7406<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5982\u679c\u4f60\u53ea\u670932GB\u5185\u5b58&#xff0c;\u4e5f\u53ef\u4ee5\u8fd0\u884c\u4e24\u4e2a\u5b9e\u4f8b&#xff0c;\u4f46\u53ef\u80fd\u9700\u8981\u8c03\u6574\u4e00\u4e9b\u53c2\u6570\u6765\u4f18\u5316\u5185\u5b58\u4f7f\u7528\u3002<\/p>\n<h4>2.2 \u8f6f\u4ef6\u73af\u5883\u68c0\u67e5<\/h4>\n<p>\u767b\u5f55\u4f60\u7684\u670d\u52a1\u5668&#xff0c;\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5\u73af\u5883&#xff1a;<\/p>\n<p># \u68c0\u67e5Python\u7248\u672c<br \/>\npython3 &#8211;version<br \/>\n# \u5e94\u8be5\u663e\u793a Python 3.11.x<\/p>\n<p># \u68c0\u67e5PyTorch\u662f\u5426\u5b89\u88c5<br \/>\npython3 -c &#034;import torch; print(f&#039;PyTorch\u7248\u672c: {torch.__version__}&#039;)&#034;<\/p>\n<p># \u68c0\u67e5CUDA&#xff08;\u5982\u679c\u4f7f\u7528GPU&#xff09;<br \/>\npython3 -c &#034;import torch; print(f&#039;CUDA\u53ef\u7528: {torch.cuda.is_available()}&#039;)&#034;<\/p>\n<p># \u68c0\u67e5\u7aef\u53e3\u5360\u7528\u60c5\u51b5<br \/>\nnetstat -tlnp | grep -E &#039;:(7860|7861|7862)&#039;<\/p>\n<p>\u5982\u679c7860\u30017861\u30017862\u8fd9\u4e9b\u7aef\u53e3\u5df2\u7ecf\u88ab\u5360\u7528&#xff0c;\u6211\u4eec\u540e\u7eed\u4f1a\u4f7f\u7528\u4e0d\u540c\u7684\u7aef\u53e3\u3002<\/p>\n<h4>2.3 \u9879\u76ee\u7ed3\u6784\u786e\u8ba4<\/h4>\n<p>\u786e\u4fdd\u4f60\u7684Gemma-3-12B-IT\u9879\u76ee\u5df2\u7ecf\u6b63\u786e\u5b89\u88c5\u3002\u901a\u5e38\u5b83\u4f4d\u4e8e\/root\/gemma-3-webui\/\u76ee\u5f55\u4e0b&#xff1a;<\/p>\n<p># \u68c0\u67e5\u9879\u76ee\u76ee\u5f55<br \/>\nls -la \/root\/gemma-3-webui\/<\/p>\n<p># \u5e94\u8be5\u770b\u5230\u7c7b\u4f3c\u8fd9\u6837\u7684\u7ed3\u6784<br \/>\n# app.py<br \/>\n# model_service.py<br \/>\n# config.yaml<br \/>\n# manage.sh<br \/>\n# start.sh<br \/>\n# stop.sh<br \/>\n# logs\/<\/p>\n<p>\u5982\u679c\u9879\u76ee\u8fd8\u6ca1\u6709\u5b89\u88c5&#xff0c;\u4f60\u9700\u8981\u5148\u6309\u7167\u6807\u51c6\u6d41\u7a0b\u5b89\u88c5Gemma-3-12B-IT WebUI\u3002<\/p>\n<h3>3. \u591a\u5b9e\u4f8b\u90e8\u7f72\u65b9\u6848\u8bbe\u8ba1<\/h3>\n<p>\u5728\u5f00\u59cb\u914d\u7f6e\u4e4b\u524d&#xff0c;\u6211\u4eec\u5148\u4e86\u89e3\u4e00\u4e0b\u6574\u4f53\u7684\u8bbe\u8ba1\u65b9\u6848\u3002\u6211\u4eec\u8981\u521b\u5efa\u4e09\u4e2a\u72ec\u7acb\u7684\u670d\u52a1\u5b9e\u4f8b&#xff0c;\u6bcf\u4e2a\u5b9e\u4f8b\u90fd\u6709\u81ea\u5df1\u7684\u914d\u7f6e\u3001\u7aef\u53e3\u548c\u8fd0\u884c\u73af\u5883\u3002<\/p>\n<h4>3.1 \u5b9e\u4f8b\u89c4\u5212<\/h4>\n<p>\u6211\u5efa\u8bae\u6309\u7167\u4ee5\u4e0b\u89c4\u5212\u6765\u914d\u7f6e\u4e09\u4e2a\u5b9e\u4f8b&#xff1a;<\/p>\n<table>\n<tr>\u5b9e\u4f8b\u540d\u79f0\u7aef\u53e3Temperature\u4e3b\u8981\u7528\u9014\u7279\u70b9<\/tr>\n<tbody>\n<tr>\n<td>\u4e25\u8c28\u6a21\u5f0f<\/td>\n<td>7860<\/td>\n<td>0.2<\/td>\n<td>\u4ee3\u7801\u751f\u6210\u3001\u6280\u672f\u6587\u6863<\/td>\n<td>\u8f93\u51fa\u7a33\u5b9a\u3001\u51c6\u786e<\/td>\n<\/tr>\n<tr>\n<td>\u5e73\u8861\u6a21\u5f0f<\/td>\n<td>7861<\/td>\n<td>0.7<\/td>\n<td>\u77e5\u8bc6\u95ee\u7b54\u3001\u65e5\u5e38\u5bf9\u8bdd<\/td>\n<td>\u5e73\u8861\u521b\u610f\u4e0e\u51c6\u786e<\/td>\n<\/tr>\n<tr>\n<td>\u521b\u610f\u6a21\u5f0f<\/td>\n<td>7862<\/td>\n<td>1.2<\/td>\n<td>\u521b\u610f\u5199\u4f5c\u3001\u5934\u8111\u98ce\u66b4<\/td>\n<td>\u5bcc\u6709\u60f3\u8c61\u529b\u3001\u591a\u6837<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>3.2 \u6280\u672f\u65b9\u6848\u9009\u62e9<\/h4>\n<p>\u6211\u4eec\u6709\u51e0\u79cd\u65b9\u5f0f\u6765\u5b9e\u73b0\u591a\u5b9e\u4f8b\u90e8\u7f72&#xff1a;<\/p>\n<li>\u590d\u5236\u9879\u76ee\u76ee\u5f55&#xff1a;\u4e3a\u6bcf\u4e2a\u5b9e\u4f8b\u521b\u5efa\u72ec\u7acb\u7684\u9879\u76ee\u76ee\u5f55<\/li>\n<li>\u4f7f\u7528\u4e0d\u540c\u914d\u7f6e\u6587\u4ef6&#xff1a;\u5171\u4eab\u4ee3\u7801\u4f46\u4f7f\u7528\u4e0d\u540c\u7684\u914d\u7f6e\u6587\u4ef6<\/li>\n<li>\u5bb9\u5668\u5316\u90e8\u7f72&#xff1a;\u4f7f\u7528Docker\u4e3a\u6bcf\u4e2a\u5b9e\u4f8b\u521b\u5efa\u72ec\u7acb\u5bb9\u5668<\/li>\n<p>\u8003\u8651\u5230\u7b80\u5355\u6027\u548c\u8d44\u6e90\u6548\u7387&#xff0c;\u6211\u63a8\u8350\u65b9\u68482&#xff1a;\u4f7f\u7528\u4e0d\u540c\u914d\u7f6e\u6587\u4ef6\u3002\u8fd9\u6837\u6211\u4eec\u53ea\u9700\u8981\u4e00\u4efd\u4ee3\u7801&#xff0c;\u901a\u8fc7\u4e0d\u540c\u7684\u914d\u7f6e\u6587\u4ef6\u6765\u533a\u5206\u5404\u4e2a\u5b9e\u4f8b\u3002<\/p>\n<h3>4. \u5206\u6b65\u914d\u7f6e\u591a\u5b9e\u4f8b<\/h3>\n<p>\u73b0\u5728\u5f00\u59cb\u5b9e\u9645\u64cd\u4f5c\u3002\u6211\u4f1a\u5e26\u4f60\u4e00\u6b65\u6b65\u5b8c\u6210\u914d\u7f6e&#xff0c;\u786e\u4fdd\u6bcf\u4e2a\u6b65\u9aa4\u90fd\u6e05\u6670\u660e\u4e86\u3002<\/p>\n<h4>4.1 \u7b2c\u4e00\u6b65&#xff1a;\u521b\u5efa\u5b9e\u4f8b\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p>\u9996\u5148&#xff0c;\u6211\u4eec\u9700\u8981\u4e3a\u6bcf\u4e2a\u5b9e\u4f8b\u521b\u5efa\u72ec\u7acb\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u8fdb\u5165\u9879\u76ee\u76ee\u5f55&#xff1a;<\/p>\n<p>cd \/root\/gemma-3-webui\/<\/p>\n<p>\u521b\u5efa\u4e09\u4e2a\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p># \u521b\u5efa\u4e25\u8c28\u6a21\u5f0f\u914d\u7f6e<br \/>\ncp config.yaml config_strict.yaml<\/p>\n<p># \u521b\u5efa\u5e73\u8861\u6a21\u5f0f\u914d\u7f6e<br \/>\ncp config.yaml config_balanced.yaml<\/p>\n<p># \u521b\u5efa\u521b\u610f\u6a21\u5f0f\u914d\u7f6e<br \/>\ncp config.yaml config_creative.yaml<\/p>\n<h4>4.2 \u7b2c\u4e8c\u6b65&#xff1a;\u4fee\u6539\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p>\u73b0\u5728\u5206\u522b\u4fee\u6539\u8fd9\u4e09\u4e2a\u914d\u7f6e\u6587\u4ef6\u3002\u6211\u4eec\u5148\u770b\u4e25\u8c28\u6a21\u5f0f\u7684\u914d\u7f6e&#xff1a;<\/p>\n<p># config_strict.yaml &#8211; \u4e25\u8c28\u6a21\u5f0f\u914d\u7f6e<br \/>\nserver:<br \/>\n  port: 7860  # \u4f7f\u75287860\u7aef\u53e3<br \/>\n  host: &#034;0.0.0.0&#034;<\/p>\n<p>model:<br \/>\n  name: &#034;gemma-3-12b-it&#034;<br \/>\n  path: &#034;\/root\/ai-models\/LLM-Research\/gemma-3-12b-it\/&#034;<\/p>\n<p>generation:<br \/>\n  temperature: 0.2      # \u4f4e\u6e29\u5ea6&#xff0c;\u8f93\u51fa\u7a33\u5b9a<br \/>\n  top_p: 0.9<br \/>\n  max_tokens: 512<br \/>\n  repetition_penalty: 1.1  # \u7a0d\u5fae\u589e\u52a0\u91cd\u590d\u60e9\u7f5a<\/p>\n<p>system:<br \/>\n  log_level: &#034;INFO&#034;<br \/>\n  log_file: &#034;\/root\/gemma-3-webui\/logs\/strict.log&#034;<\/p>\n<p>\u7136\u540e\u662f\u5e73\u8861\u6a21\u5f0f\u7684\u914d\u7f6e&#xff1a;<\/p>\n<p># config_balanced.yaml &#8211; \u5e73\u8861\u6a21\u5f0f\u914d\u7f6e<br \/>\nserver:<br \/>\n  port: 7861  # \u4f7f\u75287861\u7aef\u53e3<br \/>\n  host: &#034;0.0.0.0&#034;<\/p>\n<p>model:<br \/>\n  name: &#034;gemma-3-12b-it&#034;<br \/>\n  path: &#034;\/root\/ai-models\/LLM-Research\/gemma-3-12b-it\/&#034;<\/p>\n<p>generation:<br \/>\n  temperature: 0.7      # \u4e2d\u7b49\u6e29\u5ea6&#xff0c;\u5e73\u8861\u521b\u610f\u4e0e\u51c6\u786e<br \/>\n  top_p: 0.9<br \/>\n  max_tokens: 1024      # \u5141\u8bb8\u66f4\u957f\u56de\u7b54<br \/>\n  repetition_penalty: 1.05<\/p>\n<p>system:<br \/>\n  log_level: &#034;INFO&#034;<br \/>\n  log_file: &#034;\/root\/gemma-3-webui\/logs\/balanced.log&#034;<\/p>\n<p>\u6700\u540e\u662f\u521b\u610f\u6a21\u5f0f\u7684\u914d\u7f6e&#xff1a;<\/p>\n<p># config_creative.yaml &#8211; \u521b\u610f\u6a21\u5f0f\u914d\u7f6e<br \/>\nserver:<br \/>\n  port: 7862  # \u4f7f\u75287862\u7aef\u53e3<br \/>\n  host: &#034;0.0.0.0&#034;<\/p>\n<p>model:<br \/>\n  name: &#034;gemma-3-12b-it&#034;<br \/>\n  path: &#034;\/root\/ai-models\/LLM-Research\/gemma-3-12b-it\/&#034;<\/p>\n<p>generation:<br \/>\n  temperature: 1.2      # \u9ad8\u6e29\u5ea6&#xff0c;\u5bcc\u6709\u521b\u610f<br \/>\n  top_p: 0.95           # \u6269\u5927\u8bcd\u6c47\u9009\u62e9\u8303\u56f4<br \/>\n  max_tokens: 2048      # \u5141\u8bb8\u5f88\u957f\u7684\u521b\u610f\u8f93\u51fa<br \/>\n  repetition_penalty: 1.0  # \u51cf\u5c11\u91cd\u590d\u60e9\u7f5a&#xff0c;\u9f13\u52b1\u591a\u6837\u6027<\/p>\n<p>system:<br \/>\n  log_level: &#034;INFO&#034;<br \/>\n  log_file: &#034;\/root\/gemma-3-webui\/logs\/creative.log&#034;<\/p>\n<h4>4.3 \u7b2c\u4e09\u6b65&#xff1a;\u521b\u5efa\u542f\u52a8\u811a\u672c<\/h4>\n<p>\u6211\u4eec\u9700\u8981\u4e3a\u6bcf\u4e2a\u5b9e\u4f8b\u521b\u5efa\u72ec\u7acb\u7684\u542f\u52a8\u811a\u672c\u3002\u5148\u521b\u5efa\u4e25\u8c28\u6a21\u5f0f\u7684\u542f\u52a8\u811a\u672c&#xff1a;<\/p>\n<p># \u521b\u5efa strict_start.sh<br \/>\ncat &gt; \/root\/gemma-3-webui\/strict_start.sh &lt;&lt; &#039;EOF&#039;<br \/>\n#!\/bin\/bash<\/p>\n<p>cd \/root\/gemma-3-webui\/<\/p>\n<p># \u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<br \/>\nexport PYTHONPATH&#061;\/root\/gemma-3-webui:$PYTHONPATH<br \/>\nexport MODEL_CONFIG&#061;\/root\/gemma-3-webui\/config_strict.yaml<\/p>\n<p># \u542f\u52a8\u670d\u52a1<br \/>\npython3 app.py &#8211;config $MODEL_CONFIG<br \/>\nEOF<\/p>\n<p>chmod &#043;x \/root\/gemma-3-webui\/strict_start.sh<\/p>\n<p>\u7528\u540c\u6837\u7684\u65b9\u5f0f\u521b\u5efa\u53e6\u5916\u4e24\u4e2a\u542f\u52a8\u811a\u672c&#xff1a;<\/p>\n<p># \u521b\u5efa balanced_start.sh<br \/>\ncat &gt; \/root\/gemma-3-webui\/balanced_start.sh &lt;&lt; &#039;EOF&#039;<br \/>\n#!\/bin\/bash<\/p>\n<p>cd \/root\/gemma-3-webui\/<\/p>\n<p>export PYTHONPATH&#061;\/root\/gemma-3-webui:$PYTHONPATH<br \/>\nexport MODEL_CONFIG&#061;\/root\/gemma-3-webui\/config_balanced.yaml<\/p>\n<p>python3 app.py &#8211;config $MODEL_CONFIG<br \/>\nEOF<\/p>\n<p>chmod &#043;x \/root\/gemma-3-webui\/balanced_start.sh<\/p>\n<p># \u521b\u5efa creative_start.sh<br \/>\ncat &gt; \/root\/gemma-3-webui\/creative_start.sh &lt;&lt; &#039;EOF&#039;<br \/>\n#!\/bin\/bash<\/p>\n<p>cd \/root\/gemma-3-webui\/<\/p>\n<p>export PYTHONPATH&#061;\/root\/gemma-3-webui:$PYTHONPATH<br \/>\nexport MODEL_CONFIG&#061;\/root\/gemma-3-webui\/config_creative.yaml<\/p>\n<p>python3 app.py &#8211;config $MODEL_CONFIG<br \/>\nEOF<\/p>\n<p>chmod &#043;x \/root\/gemma-3-webui\/creative_start.sh<\/p>\n<h4>4.4 \u7b2c\u56db\u6b65&#xff1a;\u914d\u7f6eSupervisord\u8fdb\u7a0b\u7ba1\u7406<\/h4>\n<p>\u4e3a\u4e86\u8ba9\u4e09\u4e2a\u5b9e\u4f8b\u80fd\u591f\u7a33\u5b9a\u8fd0\u884c\u5e76\u81ea\u52a8\u7ba1\u7406&#xff0c;\u6211\u4eec\u9700\u8981\u914d\u7f6eSupervisord\u3002\u9996\u5148\u7f16\u8f91Supervisord\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p># \u5907\u4efd\u539f\u59cb\u914d\u7f6e<br \/>\ncp \/root\/gemma-3-webui\/supervisord.conf \/root\/gemma-3-webui\/supervisord.conf.backup<\/p>\n<p>\u7136\u540e\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6&#xff0c;\u6dfb\u52a0\u4e09\u4e2a\u5b9e\u4f8b\u7684\u914d\u7f6e&#xff1a;<\/p>\n<p>; \/root\/gemma-3-webui\/supervisord.conf<\/p>\n<p>[unix_http_server]<br \/>\nfile&#061;\/tmp\/supervisor.sock<\/p>\n<p>[supervisord]<br \/>\nlogfile&#061;\/root\/gemma-3-webui\/logs\/supervisord.log<br \/>\nlogfile_maxbytes&#061;50MB<br \/>\nlogfile_backups&#061;10<br \/>\nloglevel&#061;info<br \/>\npidfile&#061;\/tmp\/supervisord.pid<br \/>\nnodaemon&#061;false<br \/>\nminfds&#061;1024<br \/>\nminprocs&#061;200<\/p>\n<p>[rpcinterface:supervisor]<br \/>\nsupervisor.rpcinterface_factory &#061; supervisor.rpcinterface:make_main_rpcinterface<\/p>\n<p>[supervisorctl]<br \/>\nserverurl&#061;unix:\/\/\/tmp\/supervisor.sock<\/p>\n<p>; \u4e25\u8c28\u6a21\u5f0f\u5b9e\u4f8b<br \/>\n[program:gemma-strict]<br \/>\ncommand&#061;\/root\/gemma-3-webui\/strict_start.sh<br \/>\ndirectory&#061;\/root\/gemma-3-webui<br \/>\nautostart&#061;true<br \/>\nautorestart&#061;true<br \/>\nstartretries&#061;3<br \/>\nuser&#061;root<br \/>\nredirect_stderr&#061;true<br \/>\nstdout_logfile&#061;\/root\/gemma-3-webui\/logs\/strict_stdout.log<br \/>\nstdout_logfile_maxbytes&#061;50MB<br \/>\nstdout_logfile_backups&#061;10<br \/>\nstderr_logfile&#061;\/root\/gemma-3-webui\/logs\/strict_stderr.log<br \/>\nstderr_logfile_maxbytes&#061;50MB<br \/>\nstderr_logfile_backups&#061;10<br \/>\nenvironment&#061;PYTHONPATH&#061;&#034;\/root\/gemma-3-webui&#034;<\/p>\n<p>; \u5e73\u8861\u6a21\u5f0f\u5b9e\u4f8b<br \/>\n[program:gemma-balanced]<br \/>\ncommand&#061;\/root\/gemma-3-webui\/balanced_start.sh<br \/>\ndirectory&#061;\/root\/gemma-3-webui<br \/>\nautostart&#061;true<br \/>\nautorestart&#061;true<br \/>\nstartretries&#061;3<br \/>\nuser&#061;root<br \/>\nredirect_stderr&#061;true<br \/>\nstdout_logfile&#061;\/root\/gemma-3-webui\/logs\/balanced_stdout.log<br \/>\nstdout_logfile_maxbytes&#061;50MB<br \/>\nstdout_logfile_backups&#061;10<br \/>\nstderr_logfile&#061;\/root\/gemma-3-webui\/logs\/balanced_stderr.log<br \/>\nstderr_logfile_maxbytes&#061;50MB<br \/>\nstderr_logfile_backups&#061;10<br \/>\nenvironment&#061;PYTHONPATH&#061;&#034;\/root\/gemma-3-webui&#034;<\/p>\n<p>; \u521b\u610f\u6a21\u5f0f\u5b9e\u4f8b<br \/>\n[program:gemma-creative]<br \/>\ncommand&#061;\/root\/gemma-3-webui\/creative_start.sh<br \/>\ndirectory&#061;\/root\/gemma-3-webui<br \/>\nautostart&#061;true<br \/>\nautorestart&#061;true<br \/>\nstartretries&#061;3<br \/>\nuser&#061;root<br \/>\nredirect_stderr&#061;true<br \/>\nstdout_logfile&#061;\/root\/gemma-3-webui\/logs\/creative_stdout.log<br \/>\nstdout_logfile_maxbytes&#061;50MB<br \/>\nstdout_logfile_backups&#061;10<br \/>\nstderr_logfile&#061;\/root\/gemma-3-webui\/logs\/creative_stderr.log<br \/>\nstderr_logfile_maxbytes&#061;50MB<br \/>\nstderr_logfile_backups&#061;10<br \/>\nenvironment&#061;PYTHONPATH&#061;&#034;\/root\/gemma-3-webui&#034;<\/p>\n<h4>4.5 \u7b2c\u4e94\u6b65&#xff1a;\u521b\u5efa\u7edf\u4e00\u7ba1\u7406\u811a\u672c<\/h4>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u7ba1\u7406\u4e09\u4e2a\u5b9e\u4f8b&#xff0c;\u6211\u4eec\u521b\u5efa\u4e00\u4e2a\u7edf\u4e00\u7684\u7ba1\u7406\u811a\u672c&#xff1a;<\/p>\n<p># \u521b\u5efa multi_manage.sh<br \/>\ncat &gt; \/root\/gemma-3-webui\/multi_manage.sh &lt;&lt; &#039;EOF&#039;<br \/>\n#!\/bin\/bash<\/p>\n<p>CONFIG_FILE&#061;&#034;\/root\/gemma-3-webui\/supervisord.conf&#034;<\/p>\n<p>case &#034;$1&#034; in<br \/>\n    start)<br \/>\n        echo &#034;\u542f\u52a8\u6240\u6709Gemma\u5b9e\u4f8b&#8230;&#034;<br \/>\n        supervisorctl -c $CONFIG_FILE start all<br \/>\n        ;;<br \/>\n    stop)<br \/>\n        echo &#034;\u505c\u6b62\u6240\u6709Gemma\u5b9e\u4f8b&#8230;&#034;<br \/>\n        supervisorctl -c $CONFIG_FILE stop all<br \/>\n        ;;<br \/>\n    restart)<br \/>\n        echo &#034;\u91cd\u542f\u6240\u6709Gemma\u5b9e\u4f8b&#8230;&#034;<br \/>\n        supervisorctl -c $CONFIG_FILE restart all<br \/>\n        ;;<br \/>\n    status)<br \/>\n        echo &#034;\u68c0\u67e5\u5b9e\u4f8b\u72b6\u6001&#8230;&#034;<br \/>\n        supervisorctl -c $CONFIG_FILE status<br \/>\n        ;;<br \/>\n    logs)<br \/>\n        echo &#034;\u67e5\u770b\u65e5\u5fd7&#8230;&#034;<br \/>\n        case &#034;$2&#034; in<br \/>\n            strict)<br \/>\n                tail -f \/root\/gemma-3-webui\/logs\/strict.log<br \/>\n                ;;<br \/>\n            balanced)<br \/>\n                tail -f \/root\/gemma-3-webui\/logs\/balanced.log<br \/>\n                ;;<br \/>\n            creative)<br \/>\n                tail -f \/root\/gemma-3-webui\/logs\/creative.log<br \/>\n                ;;<br \/>\n            *)<br \/>\n                echo &#034;\u53ef\u7528\u9009\u9879: strict, balanced, creative&#034;<br \/>\n                echo &#034;\u4f8b\u5982: .\/multi_manage.sh logs strict&#034;<br \/>\n                ;;<br \/>\n        esac<br \/>\n        ;;<br \/>\n    *)<br \/>\n        echo &#034;\u4f7f\u7528\u65b9\u6cd5: $0 {start|stop|restart|status|logs}&#034;<br \/>\n        echo &#034;&#034;<br \/>\n        echo &#034;\u5b9e\u4f8b\u8bbf\u95ee\u5730\u5740:&#034;<br \/>\n        echo &#034;  \u4e25\u8c28\u6a21\u5f0f: http:\/\/&lt;\u670d\u52a1\u5668IP&gt;:7860&#034;<br \/>\n        echo &#034;  \u5e73\u8861\u6a21\u5f0f: http:\/\/&lt;\u670d\u52a1\u5668IP&gt;:7861&#034;<br \/>\n        echo &#034;  \u521b\u610f\u6a21\u5f0f: http:\/\/&lt;\u670d\u52a1\u5668IP&gt;:7862&#034;<br \/>\n        exit 1<br \/>\n        ;;<br \/>\nesac<br \/>\nEOF<\/p>\n<p>chmod &#043;x \/root\/gemma-3-webui\/multi_manage.sh<\/p>\n<h3>5. \u542f\u52a8\u4e0e\u9a8c\u8bc1\u591a\u5b9e\u4f8b<\/h3>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e&#xff0c;\u6211\u4eec\u6765\u542f\u52a8\u5e76\u9a8c\u8bc1\u4e09\u4e2a\u5b9e\u4f8b\u662f\u5426\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n<h4>5.1 \u542f\u52a8\u6240\u6709\u5b9e\u4f8b<\/h4>\n<p>\u4f7f\u7528\u6211\u4eec\u521a\u521a\u521b\u5efa\u7684\u7ba1\u7406\u811a\u672c\u6765\u542f\u52a8\u6240\u6709\u5b9e\u4f8b&#xff1a;<\/p>\n<p>cd \/root\/gemma-3-webui\/<br \/>\n.\/multi_manage.sh start<\/p>\n<p>\u4f60\u5e94\u8be5\u770b\u5230\u7c7b\u4f3c\u8fd9\u6837\u7684\u8f93\u51fa&#xff1a;<\/p>\n<p>\u542f\u52a8\u6240\u6709Gemma\u5b9e\u4f8b&#8230;<br \/>\ngemma-strict: started<br \/>\ngemma-balanced: started<br \/>\ngemma-creative: started<\/p>\n<h4>5.2 \u68c0\u67e5\u8fd0\u884c\u72b6\u6001<\/h4>\n<p>\u67e5\u770b\u6240\u6709\u5b9e\u4f8b\u7684\u72b6\u6001&#xff1a;<\/p>\n<p>.\/multi_manage.sh status<\/p>\n<p>\u6b63\u5e38\u60c5\u51b5\u5e94\u8be5\u663e\u793a&#xff1a;<\/p>\n<p>gemma-strict                RUNNING   pid 12345, uptime 0:00:30<br \/>\ngemma-balanced              RUNNING   pid 12346, uptime 0:00:30<br \/>\ngemma-creative              RUNNING   pid 12347, uptime 0:00:30<\/p>\n<h4>5.3 \u9a8c\u8bc1\u7aef\u53e3\u76d1\u542c<\/h4>\n<p>\u68c0\u67e5\u4e09\u4e2a\u7aef\u53e3\u662f\u5426\u90fd\u5728\u76d1\u542c&#xff1a;<\/p>\n<p>netstat -tlnp | grep -E &#039;:(7860|7861|7862)&#039;<\/p>\n<p>\u5e94\u8be5\u770b\u5230\u7c7b\u4f3c\u8fd9\u6837\u7684\u8f93\u51fa&#xff1a;<\/p>\n<p>tcp6       0      0 :::7860                 :::*                    LISTEN      12345\/python3<br \/>\ntcp6       0      0 :::7861                 :::*                    LISTEN      12346\/python3<br \/>\ntcp6       0      0 :::7862                 :::*                    LISTEN      12347\/python3<\/p>\n<h4>5.4 \u8bbf\u95ee\u6d4b\u8bd5<\/h4>\n<p>\u73b0\u5728\u6253\u5f00\u6d4f\u89c8\u5668&#xff0c;\u5206\u522b\u8bbf\u95ee\u4e09\u4e2a\u5b9e\u4f8b&#xff1a;<\/p>\n<li>\u4e25\u8c28\u6a21\u5f0f&#xff1a;http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7860<\/li>\n<li>\u5e73\u8861\u6a21\u5f0f&#xff1a;http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7861<\/li>\n<li>\u521b\u610f\u6a21\u5f0f&#xff1a;http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7862<\/li>\n<p>\u6bcf\u4e2a\u9875\u9762\u90fd\u5e94\u8be5\u6b63\u5e38\u52a0\u8f7dGemma-3-12B-IT\u7684Web\u754c\u9762\u3002<\/p>\n<h4>5.5 \u529f\u80fd\u6d4b\u8bd5<\/h4>\n<p>\u4e3a\u4e86\u9a8c\u8bc1\u4e09\u4e2a\u5b9e\u4f8b\u786e\u5b9e\u4f7f\u7528\u4e86\u4e0d\u540c\u7684\u6e29\u5ea6\u7b56\u7565&#xff0c;\u6211\u4eec\u53ef\u4ee5\u7528\u540c\u4e00\u4e2a\u95ee\u9898\u6d4b\u8bd5\u5b83\u4eec&#xff1a;<\/p>\n<p>\u6d4b\u8bd5\u95ee\u9898&#xff1a;&#034;\u5199\u4e00\u9996\u5173\u4e8e\u6625\u5929\u7684\u77ed\u8bd7&#034;<\/p>\n<p>\u5206\u522b\u5728\u4e09\u4e2a\u5b9e\u4f8b\u4e2d\u63d0\u95ee&#xff0c;\u89c2\u5bdf\u56de\u7b54\u7684\u5dee\u5f02&#xff1a;<\/p>\n<ul>\n<li>\u4e25\u8c28\u6a21\u5f0f&#xff08;7860\u7aef\u53e3&#xff09;&#xff1a;\u53ef\u80fd\u4f1a\u7ed9\u51fa\u7ed3\u6784\u4e25\u8c28\u3001\u683c\u5f0f\u89c4\u8303\u7684\u8bd7\u6b4c<\/li>\n<li>\u5e73\u8861\u6a21\u5f0f&#xff08;7861\u7aef\u53e3&#xff09;&#xff1a;\u53ef\u80fd\u4f1a\u7ed9\u51fa\u5e73\u8861\u521b\u610f\u4e0e\u89c4\u8303\u7684\u8bd7\u6b4c<\/li>\n<li>\u521b\u610f\u6a21\u5f0f&#xff08;7862\u7aef\u53e3&#xff09;&#xff1a;\u53ef\u80fd\u4f1a\u7ed9\u51fa\u66f4\u52a0\u5929\u9a6c\u884c\u7a7a\u3001\u5bcc\u6709\u60f3\u8c61\u529b\u7684\u8bd7\u6b4c<\/li>\n<\/ul>\n<p>\u4f60\u8fd8\u53ef\u4ee5\u6d4b\u8bd5\u4ee3\u7801\u751f\u6210&#xff1a;<\/p>\n<p>\u6d4b\u8bd5\u95ee\u9898&#xff1a;&#034;\u5199\u4e00\u4e2aPython\u51fd\u6570\u8ba1\u7b97\u5706\u7684\u9762\u79ef&#034;<\/p>\n<p>\u89c2\u5bdf\u4e0d\u540c\u6e29\u5ea6\u4e0b\u4ee3\u7801\u7684\u5dee\u5f02&#xff1a;<\/p>\n<ul>\n<li>\u4e25\u8c28\u6a21\u5f0f&#xff1a;\u4ee3\u7801\u7b80\u6d01\u3001\u89c4\u8303&#xff0c;\u6ce8\u91ca\u8be6\u7ec6<\/li>\n<li>\u521b\u610f\u6a21\u5f0f&#xff1a;\u53ef\u80fd\u4f1a\u6709\u66f4\u591a\u521b\u65b0\u6027\u7684\u5b9e\u73b0\u65b9\u5f0f<\/li>\n<\/ul>\n<h3>6. \u4f7f\u7528\u6280\u5de7\u4e0e\u6700\u4f73\u5b9e\u8df5<\/h3>\n<p>\u73b0\u5728\u4f60\u5df2\u7ecf\u6210\u529f\u90e8\u7f72\u4e86\u4e09\u4e2a\u4e0d\u540c\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b&#xff0c;\u4e0b\u9762\u5206\u4eab\u4e00\u4e9b\u4f7f\u7528\u6280\u5de7\u3002<\/p>\n<h4>6.1 \u6839\u636e\u4efb\u52a1\u9009\u62e9\u5408\u9002\u5b9e\u4f8b<\/h4>\n<table>\n<tr>\u4efb\u52a1\u7c7b\u578b\u63a8\u8350\u5b9e\u4f8b\u539f\u56e0<\/tr>\n<tbody>\n<tr>\n<td>\u4ee3\u7801\u751f\u6210<\/td>\n<td>\u4e25\u8c28\u6a21\u5f0f&#xff08;7860&#xff09;<\/td>\n<td>\u4f4e\u6e29\u5ea6\u786e\u4fdd\u4ee3\u7801\u51c6\u786e\u3001\u89c4\u8303<\/td>\n<\/tr>\n<tr>\n<td>\u6280\u672f\u6587\u6863<\/td>\n<td>\u4e25\u8c28\u6a21\u5f0f&#xff08;7860&#xff09;<\/td>\n<td>\u8f93\u51fa\u7a33\u5b9a&#xff0c;\u51cf\u5c11\u9519\u8bef<\/td>\n<\/tr>\n<tr>\n<td>\u77e5\u8bc6\u95ee\u7b54<\/td>\n<td>\u5e73\u8861\u6a21\u5f0f&#xff08;7861&#xff09;<\/td>\n<td>\u5e73\u8861\u51c6\u786e\u6027\u4e0e\u53ef\u8bfb\u6027<\/td>\n<\/tr>\n<tr>\n<td>\u65e5\u5e38\u5bf9\u8bdd<\/td>\n<td>\u5e73\u8861\u6a21\u5f0f&#xff08;7861&#xff09;<\/td>\n<td>\u56de\u7b54\u81ea\u7136&#xff0c;\u4e0d\u4f1a\u592a\u6b7b\u677f<\/td>\n<\/tr>\n<tr>\n<td>\u521b\u610f\u5199\u4f5c<\/td>\n<td>\u521b\u610f\u6a21\u5f0f&#xff08;7862&#xff09;<\/td>\n<td>\u9ad8\u6e29\u5ea6\u6fc0\u53d1\u521b\u610f\u7075\u611f<\/td>\n<\/tr>\n<tr>\n<td>\u5934\u8111\u98ce\u66b4<\/td>\n<td>\u521b\u610f\u6a21\u5f0f&#xff08;7862&#xff09;<\/td>\n<td>\u4ea7\u751f\u591a\u6837\u5316\u7684\u60f3\u6cd5<\/td>\n<\/tr>\n<tr>\n<td>\u7ffb\u8bd1\u4efb\u52a1<\/td>\n<td>\u4e25\u8c28\u6a21\u5f0f&#xff08;7860&#xff09;<\/td>\n<td>\u786e\u4fdd\u7ffb\u8bd1\u51c6\u786e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>6.2 \u6d4f\u89c8\u5668\u4e66\u7b7e\u8bbe\u7f6e<\/h4>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u5feb\u901f\u8bbf\u95ee&#xff0c;\u5efa\u8bae\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbe\u7f6e\u4e66\u7b7e&#xff1a;<\/p>\n<li>\u4e25\u8c28\u6a21\u5f0f&#xff1a;http:\/\/\u670d\u52a1\u5668IP:7860 \u2192 \u547d\u540d\u4e3a&#034;Gemma-\u4e25\u8c28&#034;<\/li>\n<li>\u5e73\u8861\u6a21\u5f0f&#xff1a;http:\/\/\u670d\u52a1\u5668IP:7861 \u2192 \u547d\u540d\u4e3a&#034;Gemma-\u5e73\u8861&#034;<\/li>\n<li>\u521b\u610f\u6a21\u5f0f&#xff1a;http:\/\/\u670d\u52a1\u5668IP:7862 \u2192 \u547d\u540d\u4e3a&#034;Gemma-\u521b\u610f&#034;<\/li>\n<h4>6.3 \u591a\u7a97\u53e3\u540c\u65f6\u4f7f\u7528<\/h4>\n<p>\u73b0\u4ee3\u6d4f\u89c8\u5668\u652f\u6301\u591a\u7a97\u53e3\u5e76\u6392\u663e\u793a&#xff0c;\u4f60\u53ef\u4ee5&#xff1a;<\/p>\n<li>\u6253\u5f00\u4e09\u4e2a\u6d4f\u89c8\u5668\u7a97\u53e3<\/li>\n<li>\u5206\u522b\u8bbf\u95ee\u4e09\u4e2a\u5b9e\u4f8b<\/li>\n<li>\u5c06\u7a97\u53e3\u5e76\u6392\u6392\u5217<\/li>\n<li>\u540c\u65f6\u5411\u4e09\u4e2a\u52a9\u624b\u63d0\u95ee&#xff0c;\u6bd4\u8f83\u5b83\u4eec\u7684\u56de\u7b54\u5dee\u5f02<\/li>\n<p>\u8fd9\u5bf9\u4e8e\u9700\u8981\u591a\u89d2\u5ea6\u601d\u8003\u7684\u95ee\u9898\u7279\u522b\u6709\u7528\u3002<\/p>\n<h4>6.4 \u5b9e\u4f8b\u95f4\u534f\u4f5c\u5de5\u4f5c\u6d41<\/h4>\n<p>\u4f60\u53ef\u4ee5\u5efa\u7acb\u4e00\u4e2a\u534f\u4f5c\u5de5\u4f5c\u6d41&#xff1a;<\/p>\n<li>\u521b\u610f\u9636\u6bb5&#xff1a;\u5728\u521b\u610f\u6a21\u5f0f\u4e2d\u751f\u6210\u591a\u4e2a\u60f3\u6cd5<\/li>\n<li>\u7b5b\u9009\u9636\u6bb5&#xff1a;\u5728\u5e73\u8861\u6a21\u5f0f\u4e2d\u8bc4\u4f30\u60f3\u6cd5\u7684\u53ef\u884c\u6027<\/li>\n<li>\u5b9e\u73b0\u9636\u6bb5&#xff1a;\u5728\u4e25\u8c28\u6a21\u5f0f\u4e2d\u5177\u4f53\u5b9e\u73b0<\/li>\n<p>\u4f8b\u5982&#xff0c;\u5f00\u53d1\u4e00\u4e2a\u65b0\u529f\u80fd&#xff1a;<\/p>\n<ul>\n<li>\u521b\u610f\u6a21\u5f0f&#xff1a;\u751f\u6210\u529f\u80fd\u7684\u5404\u79cd\u53ef\u80fd\u5b9e\u73b0\u65b9\u5f0f<\/li>\n<li>\u5e73\u8861\u6a21\u5f0f&#xff1a;\u8bc4\u4f30\u6bcf\u79cd\u65b9\u5f0f\u7684\u4f18\u7f3a\u70b9<\/li>\n<li>\u4e25\u8c28\u6a21\u5f0f&#xff1a;\u7f16\u5199\u5177\u4f53\u7684\u5b9e\u73b0\u4ee3\u7801<\/li>\n<\/ul>\n<h3>7. \u6027\u80fd\u4f18\u5316\u4e0e\u76d1\u63a7<\/h3>\n<p>\u8fd0\u884c\u591a\u4e2a\u5b9e\u4f8b\u4f1a\u6d88\u8017\u66f4\u591a\u8d44\u6e90&#xff0c;\u8fd9\u91cc\u6709\u4e00\u4e9b\u4f18\u5316\u5efa\u8bae\u3002<\/p>\n<h4>7.1 \u8d44\u6e90\u76d1\u63a7\u547d\u4ee4<\/h4>\n<p>\u521b\u5efa\u8d44\u6e90\u76d1\u63a7\u811a\u672c&#xff1a;<\/p>\n<p># \u521b\u5efa monitor.sh<br \/>\ncat &gt; \/root\/gemma-3-webui\/monitor.sh &lt;&lt; &#039;EOF&#039;<br \/>\n#!\/bin\/bash<\/p>\n<p>echo &#034;&#061;&#061;&#061; Gemma\u591a\u5b9e\u4f8b\u8d44\u6e90\u76d1\u63a7 &#061;&#061;&#061;&#034;<br \/>\necho &#034;\u76d1\u63a7\u65f6\u95f4: $(date)&#034;<br \/>\necho &#034;&#034;<\/p>\n<p>echo &#034;1. \u8fdb\u7a0b\u72b6\u6001:&#034;<br \/>\nps aux | grep -E &#034;gemma|python.*app&#034; | grep -v grep<\/p>\n<p>echo &#034;&#034;<br \/>\necho &#034;2. \u5185\u5b58\u4f7f\u7528:&#034;<br \/>\nfree -h<\/p>\n<p>echo &#034;&#034;<br \/>\necho &#034;3. GPU\u4f7f\u7528\u60c5\u51b5 (\u5982\u679c\u53ef\u7528):&#034;<br \/>\nnvidia-smi 2&gt;\/dev\/null || echo &#034;GPU\u4e0d\u53ef\u7528\u6216\u672a\u5b89\u88c5nvidia-smi&#034;<\/p>\n<p>echo &#034;&#034;<br \/>\necho &#034;4. \u7aef\u53e3\u76d1\u542c\u72b6\u6001:&#034;<br \/>\nnetstat -tlnp | grep -E &#039;:(7860|7861|7862)&#039; | sort<\/p>\n<p>echo &#034;&#034;<br \/>\necho &#034;5. \u65e5\u5fd7\u6587\u4ef6\u5927\u5c0f:&#034;<br \/>\nls -lh \/root\/gemma-3-webui\/logs\/*.log 2&gt;\/dev\/null | head -10<br \/>\nEOF<\/p>\n<p>chmod &#043;x \/root\/gemma-3-webui\/monitor.sh<\/p>\n<p>\u8fd0\u884c\u76d1\u63a7&#xff1a;<\/p>\n<p>.\/monitor.sh<\/p>\n<h4>7.2 \u5185\u5b58\u4f18\u5316\u914d\u7f6e<\/h4>\n<p>\u5982\u679c\u5185\u5b58\u7d27\u5f20&#xff0c;\u53ef\u4ee5\u8c03\u6574\u914d\u7f6e\u51cf\u5c11\u5185\u5b58\u4f7f\u7528&#xff1a;<\/p>\n<li>\u51cf\u5c11\u6700\u5927token\u6570&#xff1a;\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u964d\u4f4emax_tokens\u503c<\/li>\n<li>\u542f\u7528\u5185\u5b58\u5171\u4eab&#xff1a;\u5982\u679c\u4f7f\u7528PyTorch&#xff0c;\u53ef\u4ee5\u542f\u7528\u5185\u5b58\u5171\u4eab<\/li>\n<li>\u5206\u6279\u52a0\u8f7d&#xff1a;\u8c03\u6574\u6a21\u578b\u52a0\u8f7d\u7b56\u7565<\/li>\n<p>\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u76f8\u5173\u53c2\u6570&#xff1a;<\/p>\n<p># \u5728config_strict.yaml\u4e2d\u4f18\u5316\u5185\u5b58<br \/>\ngeneration:<br \/>\n  max_tokens: 256  # \u4ece512\u964d\u4f4e\u5230256<\/p>\n<p>model:<br \/>\n  load_in_8bit: true  # \u5982\u679c\u652f\u63018\u4f4d\u91cf\u5316<br \/>\n  device_map: &#034;auto&#034;  # \u81ea\u52a8\u5206\u914d\u8bbe\u5907<\/p>\n<h4>7.3 \u65e5\u5fd7\u7ba1\u7406<\/h4>\n<p>\u4e09\u4e2a\u5b9e\u4f8b\u4f1a\u4ea7\u751f\u5927\u91cf\u65e5\u5fd7&#xff0c;\u9700\u8981\u5b9a\u671f\u6e05\u7406&#xff1a;<\/p>\n<p># \u521b\u5efa\u65e5\u5fd7\u6e05\u7406\u811a\u672c<br \/>\ncat &gt; \/root\/gemma-3-webui\/clean_logs.sh &lt;&lt; &#039;EOF&#039;<br \/>\n#!\/bin\/bash<\/p>\n<p>echo &#034;\u6e05\u74067\u5929\u524d\u7684\u65e5\u5fd7\u6587\u4ef6&#8230;&#034;<br \/>\nfind \/root\/gemma-3-webui\/logs -name &#034;*.log&#034; -mtime &#043;7 -delete<\/p>\n<p>echo &#034;\u538b\u7f2914\u5929\u524d\u7684\u65e5\u5fd7&#8230;&#034;<br \/>\nfind \/root\/gemma-3-webui\/logs -name &#034;*.log&#034; -mtime &#043;14 -exec gzip {} \\\\;<\/p>\n<p>echo &#034;\u5f53\u524d\u65e5\u5fd7\u5927\u5c0f:&#034;<br \/>\ndu -sh \/root\/gemma-3-webui\/logs\/<br \/>\nEOF<\/p>\n<p>chmod &#043;x \/root\/gemma-3-webui\/clean_logs.sh<\/p>\n<p>\u6dfb\u52a0\u5230\u5b9a\u65f6\u4efb\u52a1&#xff08;\u6bcf\u5468\u6e05\u7406\u4e00\u6b21&#xff09;&#xff1a;<\/p>\n<p># \u7f16\u8f91crontab<br \/>\ncrontab -e<\/p>\n<p># \u6dfb\u52a0\u4ee5\u4e0b\u884c&#xff08;\u6bcf\u5468\u4e00\u51cc\u66683\u70b9\u6e05\u7406&#xff09;<br \/>\n0 3 * * 1 \/root\/gemma-3-webui\/clean_logs.sh &gt; \/dev\/null 2&gt;&amp;1<\/p>\n<h3>8. \u6545\u969c\u6392\u9664\u4e0e\u5e38\u89c1\u95ee\u9898<\/h3>\n<p>\u5373\u4f7f\u914d\u7f6e\u6b63\u786e&#xff0c;\u4e5f\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u95ee\u9898\u3002\u8fd9\u91cc\u5217\u51fa\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>\n<h4>8.1 \u5b9e\u4f8b\u65e0\u6cd5\u542f\u52a8<\/h4>\n<p>\u95ee\u9898&#xff1a;\u8fd0\u884c.\/multi_manage.sh start\u540e\u5b9e\u4f8b\u6ca1\u6709\u542f\u52a8<\/p>\n<p>\u68c0\u67e5\u6b65\u9aa4&#xff1a;<\/p>\n<p># 1. \u68c0\u67e5Supervisord\u914d\u7f6e<br \/>\nsupervisorctl -c \/root\/gemma-3-webui\/supervisord.conf status<\/p>\n<p># 2. \u67e5\u770b\u5177\u4f53\u9519\u8bef\u65e5\u5fd7<br \/>\ntail -f \/root\/gemma-3-webui\/logs\/strict_stderr.log<br \/>\ntail -f \/root\/gemma-3-webui\/logs\/balanced_stderr.log<br \/>\ntail -f \/root\/gemma-3-webui\/logs\/creative_stderr.log<\/p>\n<p># 3. \u68c0\u67e5\u7aef\u53e3\u662f\u5426\u88ab\u5360\u7528<br \/>\nnetstat -tlnp | grep -E &#039;:(7860|7861|7862)&#039;<\/p>\n<p># 4. \u624b\u52a8\u6d4b\u8bd5\u542f\u52a8<br \/>\ncd \/root\/gemma-3-webui\/<br \/>\npython3 app.py &#8211;config config_strict.yaml<\/p>\n<p>\u5e38\u89c1\u539f\u56e0&#xff1a;<\/p>\n<ul>\n<li>\u7aef\u53e3\u88ab\u5176\u4ed6\u7a0b\u5e8f\u5360\u7528<\/li>\n<li>\u914d\u7f6e\u6587\u4ef6\u8bed\u6cd5\u9519\u8bef<\/li>\n<li>\u6a21\u578b\u6587\u4ef6\u8def\u5f84\u4e0d\u6b63\u786e<\/li>\n<li>\u5185\u5b58\u4e0d\u8db3<\/li>\n<\/ul>\n<h4>8.2 \u54cd\u5e94\u901f\u5ea6\u6162<\/h4>\n<p>\u95ee\u9898&#xff1a;\u4e09\u4e2a\u5b9e\u4f8b\u540c\u65f6\u8fd0\u884c\u65f6\u54cd\u5e94\u53d8\u6162<\/p>\n<p>\u4f18\u5316\u5efa\u8bae&#xff1a;<\/p>\n<li>\u8c03\u6574\u5b9e\u4f8b\u6570\u91cf&#xff1a;\u5982\u679c\u8d44\u6e90\u6709\u9650&#xff0c;\u53ea\u8fd0\u884c\u4e24\u4e2a\u5b9e\u4f8b<\/li>\n<p># \u6682\u65f6\u505c\u6b62\u521b\u610f\u6a21\u5f0f<br \/>\nsupervisorctl -c \/root\/gemma-3-webui\/supervisord.conf stop gemma-creative<\/p>\n<li>\n<p>\u964d\u4f4e\u5e76\u53d1\u8bf7\u6c42&#xff1a;\u907f\u514d\u540c\u65f6\u5411\u591a\u4e2a\u5b9e\u4f8b\u53d1\u9001\u5927\u91cf\u8bf7\u6c42<\/p>\n<\/li>\n<li>\n<p>\u4f18\u5316\u670d\u52a1\u5668\u914d\u7f6e&#xff1a;<\/p>\n<\/li>\n<p># \u589e\u52a0\u4ea4\u6362\u7a7a\u95f4&#xff08;\u5982\u679c\u5185\u5b58\u4e0d\u8db3&#xff09;<br \/>\nsudo fallocate -l 8G \/swapfile<br \/>\nsudo chmod 600 \/swapfile<br \/>\nsudo mkswap \/swapfile<br \/>\nsudo swapon \/swapfile<\/p>\n<h4>8.3 \u7f51\u9875\u65e0\u6cd5\u8bbf\u95ee<\/h4>\n<p>\u95ee\u9898&#xff1a;\u53ef\u4ee5\u542f\u52a8\u670d\u52a1&#xff0c;\u4f46\u65e0\u6cd5\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee<\/p>\n<p>\u6392\u67e5\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u68c0\u67e5\u9632\u706b\u5899&#xff1a;<\/li>\n<p># \u67e5\u770b\u9632\u706b\u5899\u72b6\u6001<br \/>\nsudo ufw status<\/p>\n<p># \u5982\u679c\u542f\u7528&#xff0c;\u5f00\u653e\u7aef\u53e3<br \/>\nsudo ufw allow 7860<br \/>\nsudo ufw allow 7861<br \/>\nsudo ufw allow 7862<\/p>\n<li>\n<p>\u68c0\u67e5\u670d\u52a1\u5668IP&#xff1a;\u786e\u4fdd\u4f7f\u7528\u6b63\u786e\u7684\u670d\u52a1\u5668IP\u5730\u5740<\/p>\n<\/li>\n<li>\n<p>\u672c\u5730\u6d4b\u8bd5&#xff1a;\u5728\u670d\u52a1\u5668\u4e0a\u6d4b\u8bd5\u662f\u5426\u53ef\u4ee5\u8bbf\u95ee<\/p>\n<\/li>\n<p>curl http:\/\/localhost:7860<br \/>\ncurl http:\/\/localhost:7861<br \/>\ncurl http:\/\/localhost:7862<\/p>\n<h4>8.4 \u6a21\u578b\u52a0\u8f7d\u5931\u8d25<\/h4>\n<p>\u95ee\u9898&#xff1a;\u65e5\u5fd7\u663e\u793a\u6a21\u578b\u52a0\u8f7d\u9519\u8bef<\/p>\n<p>\u89e3\u51b3\u65b9\u6cd5&#xff1a;<\/p>\n<li>\u68c0\u67e5\u6a21\u578b\u8def\u5f84&#xff1a;<\/li>\n<p>ls -la \/root\/ai-models\/LLM-Research\/gemma-3-12b-it\/<\/p>\n<li>\u68c0\u67e5\u6587\u4ef6\u6743\u9650&#xff1a;<\/li>\n<p>chmod -R 755 \/root\/ai-models\/LLM-Research\/gemma-3-12b-it\/<\/p>\n<li>\u91cd\u65b0\u4e0b\u8f7d\u6a21\u578b&#xff08;\u5982\u679c\u6587\u4ef6\u635f\u574f&#xff09;&#xff1a;<\/li>\n<p># \u5907\u4efd\u539f\u6709\u6587\u4ef6<br \/>\nmv \/root\/ai-models\/LLM-Research\/gemma-3-12b-it \/root\/ai-models\/LLM-Research\/gemma-3-12b-it.backup<\/p>\n<p># \u91cd\u65b0\u4e0b\u8f7d&#xff08;\u6839\u636e\u4f60\u7684\u4e0b\u8f7d\u65b9\u5f0f&#xff09;<br \/>\n# \u4f8b\u5982\u4f7f\u7528huggingface-cli<br \/>\nhuggingface-cli download google\/gemma-3-12b-it &#8211;local-dir \/root\/ai-models\/LLM-Research\/gemma-3-12b-it<\/p>\n<h3>9. \u6269\u5c55\u4e0e\u8fdb\u9636\u914d\u7f6e<\/h3>\n<p>\u5982\u679c\u4f60\u9700\u8981\u66f4\u591a\u5b9e\u4f8b\u6216\u6709\u7279\u6b8a\u9700\u6c42&#xff0c;\u8fd9\u91cc\u6709\u4e00\u4e9b\u8fdb\u9636\u914d\u7f6e\u5efa\u8bae\u3002<\/p>\n<h4>9.1 \u6dfb\u52a0\u66f4\u591a\u5b9e\u4f8b<\/h4>\n<p>\u5982\u679c\u9700\u8981\u7b2c\u56db\u4e2a\u5b9e\u4f8b&#xff08;\u6bd4\u5982\u4e13\u95e8\u7528\u4e8e\u7ffb\u8bd1&#xff09;&#xff0c;\u53ef\u4ee5&#xff1a;<\/p>\n<li>\u590d\u5236\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/li>\n<p>cp config.yaml config_translate.yaml<\/p>\n<li>\u4fee\u6539\u914d\u7f6e&#xff08;\u4f7f\u75287863\u7aef\u53e3&#xff09;&#xff1a;<\/li>\n<p>server:<br \/>\n  port: 7863<br \/>\n  host: &#034;0.0.0.0&#034;<\/p>\n<p>generation:<br \/>\n  temperature: 0.3  # \u4f4e\u6e29\u5ea6\u9002\u5408\u7ffb\u8bd1<br \/>\n  top_p: 0.8<br \/>\n  max_tokens: 1024<\/p>\n<li>\u521b\u5efa\u542f\u52a8\u811a\u672c\u548cSupervisord\u914d\u7f6e&#xff08;\u53c2\u8003\u524d\u9762\u7684\u6b65\u9aa4&#xff09;<\/li>\n<h4>9.2 \u4f7f\u7528\u4e0d\u540c\u6a21\u578b\u6743\u91cd<\/h4>\n<p>\u5982\u679c\u4f60\u6709\u591a\u4e2a\u7248\u672c\u7684Gemma\u6a21\u578b&#xff0c;\u53ef\u4ee5\u4e3a\u4e0d\u540c\u5b9e\u4f8b\u4f7f\u7528\u4e0d\u540c\u6a21\u578b&#xff1a;<\/p>\n<p># \u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u6307\u5b9a\u4e0d\u540c\u6a21\u578b\u8def\u5f84<br \/>\nmodel:<br \/>\n  name: &#034;gemma-3-12b-it-v2&#034;  # \u4e0d\u540c\u7248\u672c<br \/>\n  path: &#034;\/root\/ai-models\/LLM-Research\/gemma-3-12b-it-v2\/&#034;<\/p>\n<h4>9.3 \u914d\u7f6e\u8d1f\u8f7d\u5747\u8861<\/h4>\n<p>\u5982\u679c\u6709\u5f88\u591a\u7528\u6237\u8bbf\u95ee&#xff0c;\u53ef\u4ee5\u914d\u7f6eNginx\u8fdb\u884c\u8d1f\u8f7d\u5747\u8861&#xff1a;<\/p>\n<p># \/etc\/nginx\/sites-available\/gemma-balancer<br \/>\nupstream gemma_servers {<br \/>\n    server 127.0.0.1:7860;  # \u4e25\u8c28\u6a21\u5f0f<br \/>\n    server 127.0.0.1:7861;  # \u5e73\u8861\u6a21\u5f0f<br \/>\n    server 127.0.0.1:7862;  # \u521b\u610f\u6a21\u5f0f<br \/>\n}<\/p>\n<p>server {<br \/>\n    listen 80;<br \/>\n    server_name gemma.yourdomain.com;<\/p>\n<p>    location \/ {<br \/>\n        proxy_pass http:\/\/gemma_servers;<br \/>\n        proxy_set_header Host $host;<br \/>\n        proxy_set_header X-Real-IP $remote_addr;<br \/>\n    }<br \/>\n}<\/p>\n<h4>9.4 \u81ea\u52a8\u5316\u90e8\u7f72\u811a\u672c<\/h4>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u5728\u5176\u4ed6\u670d\u52a1\u5668\u4e0a\u5feb\u901f\u90e8\u7f72&#xff0c;\u53ef\u4ee5\u521b\u5efa\u81ea\u52a8\u5316\u811a\u672c&#xff1a;<\/p>\n<p># \u521b\u5efa deploy_multi_instance.sh<br \/>\ncat &gt; deploy_multi_instance.sh &lt;&lt; &#039;EOF&#039;<br \/>\n#!\/bin\/bash<\/p>\n<p>echo &#034;\u5f00\u59cb\u90e8\u7f72Gemma-3\u591a\u5b9e\u4f8b&#8230;&#034;<\/p>\n<p># 1. \u514b\u9686\u9879\u76ee<br \/>\ngit clone https:\/\/github.com\/your-repo\/gemma-3-webui.git \/root\/gemma-3-webui<\/p>\n<p># 2. \u5b89\u88c5\u4f9d\u8d56<br \/>\ncd \/root\/gemma-3-webui<br \/>\npip install -r requirements.txt<\/p>\n<p># 3. \u4e0b\u8f7d\u6a21\u578b&#xff08;\u5982\u679c\u8fd8\u6ca1\u6709&#xff09;<br \/>\nif [ ! -d &#034;\/root\/ai-models\/LLM-Research\/gemma-3-12b-it&#034; ]; then<br \/>\n    echo &#034;\u4e0b\u8f7d\u6a21\u578b\u4e2d&#8230;&#034;<br \/>\n    huggingface-cli download google\/gemma-3-12b-it &#8211;local-dir \/root\/ai-models\/LLM-Research\/gemma-3-12b-it<br \/>\nfi<\/p>\n<p># 4. \u590d\u5236\u914d\u7f6e\u6587\u4ef6<br \/>\ncp config.yaml config_strict.yaml<br \/>\ncp config.yaml config_balanced.yaml<br \/>\ncp config.yaml config_creative.yaml<\/p>\n<p># 5. \u4fee\u6539\u914d\u7f6e&#xff08;\u8fd9\u91cc\u53ef\u4ee5\u6dfb\u52a0\u81ea\u52a8\u4fee\u6539\u914d\u7f6e\u7684\u4ee3\u7801&#xff09;<\/p>\n<p># 6. \u521b\u5efa\u7ba1\u7406\u811a\u672c<br \/>\n# &#8230;&#xff08;\u7701\u7565\u8be6\u7ec6\u4ee3\u7801&#xff09;<\/p>\n<p>echo &#034;\u90e8\u7f72\u5b8c\u6210&#xff01;&#034;<br \/>\necho &#034;\u8bbf\u95ee\u5730\u5740&#xff1a;&#034;<br \/>\necho &#034;  \u4e25\u8c28\u6a21\u5f0f: http:\/\/$(hostname -I | awk &#039;{print $1}&#039;):7860&#034;<br \/>\necho &#034;  \u5e73\u8861\u6a21\u5f0f: http:\/\/$(hostname -I | awk &#039;{print $1}&#039;):7861&#034;<br \/>\necho &#034;  \u521b\u610f\u6a21\u5f0f: http:\/\/$(hostname -I | awk &#039;{print $1}&#039;):7862&#034;<br \/>\nEOF<\/p>\n<p>chmod &#043;x deploy_multi_instance.sh<\/p>\n<h3>10. \u603b\u7ed3<\/h3>\n<p>\u901a\u8fc7\u672c\u6559\u7a0b&#xff0c;\u4f60\u5df2\u7ecf\u6210\u529f\u5728\u540c\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e86\u4e09\u4e2a\u4e0d\u540c\u6e29\u5ea6\u7b56\u7565\u7684Gemma-3-12B-IT\u5b9e\u4f8b\u3002\u8ba9\u6211\u4eec\u56de\u987e\u4e00\u4e0b\u5173\u952e\u6536\u83b7&#xff1a;<\/p>\n<h4>10.1 \u6838\u5fc3\u6210\u679c<\/h4>\n<li>\n<p>\u4e09\u4e2a\u72ec\u7acb\u7684AI\u52a9\u624b&#xff1a;<\/p>\n<ul>\n<li>\u4e25\u8c28\u6a21\u5f0f&#xff08;7860\u7aef\u53e3&#xff09;&#xff1a;Temperature&#061;0.2&#xff0c;\u9002\u5408\u4ee3\u7801\u548c\u6280\u672f\u6587\u6863<\/li>\n<li>\u5e73\u8861\u6a21\u5f0f&#xff08;7861\u7aef\u53e3&#xff09;&#xff1a;Temperature&#061;0.7&#xff0c;\u9002\u5408\u65e5\u5e38\u5bf9\u8bdd\u548c\u77e5\u8bc6\u95ee\u7b54<\/li>\n<li>\u521b\u610f\u6a21\u5f0f&#xff08;7862\u7aef\u53e3&#xff09;&#xff1a;Temperature&#061;1.2&#xff0c;\u9002\u5408\u521b\u610f\u5199\u4f5c\u548c\u5934\u8111\u98ce\u66b4<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5b8c\u6574\u7684\u90e8\u7f72\u65b9\u6848&#xff1a;<\/p>\n<ul>\n<li>\u72ec\u7acb\u7684\u914d\u7f6e\u6587\u4ef6\u7ba1\u7406<\/li>\n<li>Supervisord\u8fdb\u7a0b\u76d1\u63a7<\/li>\n<li>\u7edf\u4e00\u7684\u7ba1\u7406\u811a\u672c<\/li>\n<li>\u8be6\u7ec6\u7684\u65e5\u5fd7\u8bb0\u5f55<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5b9e\u7528\u7684\u4f7f\u7528\u6280\u5de7&#xff1a;<\/p>\n<ul>\n<li>\u6839\u636e\u4efb\u52a1\u7c7b\u578b\u9009\u62e9\u5408\u9002\u7684\u5b9e\u4f8b<\/li>\n<li>\u591a\u7a97\u53e3\u5e76\u884c\u5de5\u4f5c\u6d41<\/li>\n<li>\u6027\u80fd\u76d1\u63a7\u548c\u4f18\u5316\u65b9\u6cd5<\/li>\n<\/ul>\n<\/li>\n<h4>10.2 \u5b9e\u9645\u5e94\u7528\u4ef7\u503c<\/h4>\n<p>\u8fd9\u4e2a\u591a\u5b9e\u4f8b\u90e8\u7f72\u65b9\u6848\u5e26\u6765\u4e86\u51e0\u4e2a\u5b9e\u5b9e\u5728\u5728\u7684\u597d\u5904&#xff1a;<\/p>\n<p>\u6548\u7387\u63d0\u5347&#xff1a;\u4e0d\u7528\u518d\u9891\u7e41\u8c03\u6574\u53c2\u6570&#xff0c;\u4e09\u4e2a\u52a9\u624b\u5404\u53f8\u5176\u804c&#xff0c;\u968f\u65f6\u53ef\u7528\u3002<\/p>\n<p>\u8d28\u91cf\u6539\u5584&#xff1a;\u6bcf\u4e2a\u5b9e\u4f8b\u9488\u5bf9\u7279\u5b9a\u573a\u666f\u4f18\u5316&#xff0c;\u8f93\u51fa\u8d28\u91cf\u66f4\u9ad8\u3002<\/p>\n<p>\u8d44\u6e90\u5229\u7528&#xff1a;\u867d\u7136\u8fd0\u884c\u591a\u4e2a\u5b9e\u4f8b\u9700\u8981\u66f4\u591a\u8d44\u6e90&#xff0c;\u4f46\u901a\u8fc7\u5408\u7406\u7684\u914d\u7f6e\u548c\u4f18\u5316&#xff0c;\u53ef\u4ee5\u5728\u5355\u53f0\u670d\u52a1\u5668\u4e0a\u5b9e\u73b0\u3002<\/p>\n<p>\u7075\u6d3b\u6027&#xff1a;\u53ef\u4ee5\u6839\u636e\u9700\u8981\u968f\u65f6\u6dfb\u52a0\u6216\u79fb\u9664\u5b9e\u4f8b&#xff0c;\u8c03\u6574\u914d\u7f6e\u3002<\/p>\n<h4>10.3 \u540e\u7eed\u4f18\u5316\u5efa\u8bae<\/h4>\n<p>\u5982\u679c\u4f60\u60f3\u8ba9\u8fd9\u4e2a\u7cfb\u7edf\u66f4\u52a0\u5b8c\u5584&#xff0c;\u53ef\u4ee5\u8003\u8651&#xff1a;<\/p>\n<li>\u6dfb\u52a0\u76d1\u63a7\u9762\u677f&#xff1a;\u4f7f\u7528Grafana\u6216Prometheus\u76d1\u63a7\u5404\u4e2a\u5b9e\u4f8b\u7684\u6027\u80fd\u6307\u6807<\/li>\n<li>\u5b9e\u73b0\u81ea\u52a8\u6269\u7f29\u5bb9&#xff1a;\u6839\u636e\u8d1f\u8f7d\u81ea\u52a8\u542f\u52a8\u6216\u505c\u6b62\u5b9e\u4f8b<\/li>\n<li>\u6dfb\u52a0\u7528\u6237\u8ba4\u8bc1&#xff1a;\u4e3a\u4e0d\u540c\u5b9e\u4f8b\u8bbe\u7f6e\u8bbf\u95ee\u6743\u9650<\/li>\n<li>\u96c6\u6210\u5230\u5de5\u4f5c\u6d41&#xff1a;\u901a\u8fc7API\u5c06\u4e09\u4e2a\u5b9e\u4f8b\u96c6\u6210\u5230\u81ea\u52a8\u5316\u6d41\u7a0b\u4e2d<\/li>\n<h4>10.4 \u5f00\u59cb\u4f7f\u7528\u5427&#xff01;<\/h4>\n<p>\u73b0\u5728&#xff0c;\u4f60\u7684\u4e09\u4e2aAI\u52a9\u624b\u5df2\u7ecf\u51c6\u5907\u5c31\u7eea\u3002\u6253\u5f00\u6d4f\u89c8\u5668&#xff0c;\u5f00\u59cb\u4f53\u9a8c\u4e0d\u540c\u6e29\u5ea6\u7b56\u7565\u5e26\u6765\u7684\u591a\u6837\u5316AI\u4f53\u9a8c&#xff1a;<\/p>\n<ul>\n<li>\u9700\u8981\u5199\u4ee3\u7801&#xff1f;\u8bbf\u95ee http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7860<\/li>\n<li>\u9700\u8981\u65e5\u5e38\u5bf9\u8bdd&#xff1f;\u8bbf\u95ee http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7861<\/li>\n<li>\u9700\u8981\u521b\u610f\u7075\u611f&#xff1f;\u8bbf\u95ee http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7862<\/li>\n<\/ul>\n<p>\u6bcf\u4e2a\u52a9\u624b\u90fd\u6709\u5176\u72ec\u7279\u7684&#034;\u6027\u683c&#034;\u548c\u4e13\u957f&#xff0c;\u5c31\u50cf\u62e5\u6709\u4e86\u4e00\u4e2aAI\u56e2\u961f\u3002\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u9700\u6c42&#xff0c;\u9009\u62e9\u5408\u9002\u7684\u52a9\u624b&#xff0c;\u8ba9\u4f60\u7684\u5de5\u4f5c\u6548\u7387\u548c\u521b\u9020\u529b\u90fd\u5f97\u5230\u63d0\u5347\u3002<\/p>\n<p>\u5982\u679c\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u9047\u5230\u4efb\u4f55\u95ee\u9898&#xff0c;\u8bb0\u5f97\u67e5\u770b\u65e5\u5fd7\u6587\u4ef6&#xff0c;\u6216\u8005\u56de\u987e\u672c\u6587\u7684\u6545\u969c\u6392\u9664\u90e8\u5206\u3002\u795d\u4f60\u4f7f\u7528\u6109\u5feb&#xff01;<\/p>\n<hr \/>\n<p>\u83b7\u53d6\u66f4\u591aAI\u955c\u50cf<\/p>\n<p>\u60f3\u63a2\u7d22\u66f4\u591aAI\u955c\u50cf\u548c\u5e94\u7528\u573a\u666f&#xff1f;\u8bbf\u95ee CSDN\u661f\u56fe\u955c\u50cf\u5e7f\u573a&#xff0c;\u63d0\u4f9b\u4e30\u5bcc\u7684\u9884\u7f6e\u955c\u50cf&#xff0c;\u8986\u76d6\u5927\u6a21\u578b\u63a8\u7406\u3001\u56fe\u50cf\u751f\u6210\u3001\u89c6\u9891\u751f\u6210\u3001\u6a21\u578b\u5fae\u8c03\u7b49\u591a\u4e2a\u9886\u57df&#xff0c;\u652f\u6301\u4e00\u952e\u90e8\u7f72\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b&#xff1a;\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b<br \/>\n1. \u5f15\u8a00&#xff1a;\u4e3a\u4ec0\u4e48\u9700\u8981\u591a\u5b9e\u4f8b\u90e8\u7f72&#xff1f;<br \/>\n\u60f3\u8c61\u4e00\u4e0b&#xff0c;\u4f60\u6b63\u5728\u4f7f\u7528Gemma-3-12B-IT\u8fd9\u4e2a\u5f3a\u5927\u7684AI\u52a9\u624b\u3002\u6709\u65f6\u5019\u4f60\u9700\u8981\u5b83\u4e25\u8c28\u5730\u5e2e\u4f60\u5199\u4ee3\u7801&#xff0c;\u628aTemperature\u53c2\u6570\u8c03\u52300.2&#xff0c;\u8ba9\u5b83\u4e00\u5b57\u4e00\u53e5\u90fd\u7cbe\u51c6\u65e0\u8bef\u3002\u6709\u65f6\u5019\u4f60\u53c8\u60f3\u8ba9\u5b83\u5e2e\u4f60\u5199\u4e2a\u521b\u610f\u6545\u4e8b&#xff0c;\u628aTemperature\u8c03\u52301.2&#xff0c;\u8ba9\u5b83\u5929\u9a6c\u884c\u7a7a<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7591,9314,956],"topic":[],"class_list":["post-83290","post","type-post","status-publish","format-standard","hentry","category-server","tag-ai","tag-9314","tag-956"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b\uff1a\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b - \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\/83290.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b\uff1a\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b&#xff1a;\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b 1. \u5f15\u8a00&#xff1a;\u4e3a\u4ec0\u4e48\u9700\u8981\u591a\u5b9e\u4f8b\u90e8\u7f72&#xff1f; \u60f3\u8c61\u4e00\u4e0b&#xff0c;\u4f60\u6b63\u5728\u4f7f\u7528Gemma-3-12B-IT\u8fd9\u4e2a\u5f3a\u5927\u7684AI\u52a9\u624b\u3002\u6709\u65f6\u5019\u4f60\u9700\u8981\u5b83\u4e25\u8c28\u5730\u5e2e\u4f60\u5199\u4ee3\u7801&#xff0c;\u628aTemperature\u53c2\u6570\u8c03\u52300.2&#xff0c;\u8ba9\u5b83\u4e00\u5b57\u4e00\u53e5\u90fd\u7cbe\u51c6\u65e0\u8bef\u3002\u6709\u65f6\u5019\u4f60\u53c8\u60f3\u8ba9\u5b83\u5e2e\u4f60\u5199\u4e2a\u521b\u610f\u6545\u4e8b&#xff0c;\u628aTemperature\u8c03\u52301.2&#xff0c;\u8ba9\u5b83\u5929\u9a6c\u884c\u7a7a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83290.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T11:34:20+00:00\" \/>\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=\"9 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83290.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83290.html\",\"name\":\"Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b\uff1a\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T11:34:20+00:00\",\"dateModified\":\"2026-07-25T11:34:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83290.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83290.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83290.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b\uff1a\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b\"}]},{\"@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":"Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b\uff1a\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b - \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\/83290.html","og_locale":"zh_CN","og_type":"article","og_title":"Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b\uff1a\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b&#xff1a;\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b 1. \u5f15\u8a00&#xff1a;\u4e3a\u4ec0\u4e48\u9700\u8981\u591a\u5b9e\u4f8b\u90e8\u7f72&#xff1f; \u60f3\u8c61\u4e00\u4e0b&#xff0c;\u4f60\u6b63\u5728\u4f7f\u7528Gemma-3-12B-IT\u8fd9\u4e2a\u5f3a\u5927\u7684AI\u52a9\u624b\u3002\u6709\u65f6\u5019\u4f60\u9700\u8981\u5b83\u4e25\u8c28\u5730\u5e2e\u4f60\u5199\u4ee3\u7801&#xff0c;\u628aTemperature\u53c2\u6570\u8c03\u52300.2&#xff0c;\u8ba9\u5b83\u4e00\u5b57\u4e00\u53e5\u90fd\u7cbe\u51c6\u65e0\u8bef\u3002\u6709\u65f6\u5019\u4f60\u53c8\u60f3\u8ba9\u5b83\u5e2e\u4f60\u5199\u4e2a\u521b\u610f\u6545\u4e8b&#xff0c;\u628aTemperature\u8c03\u52301.2&#xff0c;\u8ba9\u5b83\u5929\u9a6c\u884c\u7a7a","og_url":"https:\/\/www.wsisp.com\/helps\/83290.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T11:34:20+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"9 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/83290.html","url":"https:\/\/www.wsisp.com\/helps\/83290.html","name":"Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b\uff1a\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T11:34:20+00:00","dateModified":"2026-07-25T11:34:20+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83290.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83290.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83290.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Gemma-3-12B-IT\u591a\u5b9e\u4f8b\u90e8\u7f72\u6559\u7a0b\uff1a\u540c\u4e00\u670d\u52a1\u5668\u8fd0\u884c\u591a\u4e2a\u6e29\u5ea6\u7b56\u7565\u7684AI\u52a9\u624b"}]},{"@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\/83290","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=83290"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83290\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83290"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}