{"id":61144,"date":"2026-01-17T04:49:07","date_gmt":"2026-01-16T20:49:07","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/61144.html"},"modified":"2026-01-17T04:49:07","modified_gmt":"2026-01-16T20:49:07","slug":"structbert%e8%bd%bb%e9%87%8f%e7%ba%a7%e9%83%a8%e7%bd%b2%ef%bc%9a%e4%bd%8e%e9%85%8d%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b9%9f%e8%83%bd%e8%b7%91%e7%9a%84%e6%83%85%e6%84%9f%e5%88%86%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/61144.html","title":{"rendered":"StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72\uff1a\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790"},"content":{"rendered":"<h2>StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72&#xff1a;\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790<\/h2>\n<h3>1. \u4e2d\u6587\u60c5\u611f\u5206\u6790\u7684\u73b0\u5b9e\u6311\u6218\u4e0e\u9700\u6c42<\/h3>\n<p>\u5728\u5f53\u524d\u81ea\u7136\u8bed\u8a00\u5904\u7406&#xff08;NLP&#xff09;\u5e7f\u6cdb\u5e94\u7528\u7684\u80cc\u666f\u4e0b&#xff0c;\u4e2d\u6587\u60c5\u611f\u5206\u6790\u5df2\u6210\u4e3a\u667a\u80fd\u5ba2\u670d\u3001\u8206\u60c5\u76d1\u63a7\u3001\u7528\u6237\u8bc4\u8bba\u6316\u6398\u7b49\u573a\u666f\u7684\u6838\u5fc3\u6280\u672f\u4e4b\u4e00\u3002\u7136\u800c&#xff0c;\u5927\u591a\u6570\u9ad8\u6027\u80fd\u9884\u8bad\u7ec3\u6a21\u578b&#xff08;\u5982BERT\u3001RoBERTa&#xff09;\u4f9d\u8d56GPU\u8fdb\u884c\u63a8\u7406&#xff0c;\u5728\u7f3a\u4e4f\u663e\u5361\u8d44\u6e90\u7684\u8fb9\u7f18\u8bbe\u5907\u6216\u4f4e\u914d\u670d\u52a1\u5668\u4e0a\u96be\u4ee5\u843d\u5730\u3002<\/p>\n<p>\u4f01\u4e1a\u5728\u5b9e\u9645\u90e8\u7f72\u4e2d\u5e38\u9762\u4e34\u4ee5\u4e0b\u75db\u70b9&#xff1a; &#8211; \u9ad8\u6027\u80fd\u6a21\u578b\u5bf9\u786c\u4ef6\u8981\u6c42\u9ad8&#xff0c;\u65e0\u6cd5\u5728CPU\u73af\u5883\u6d41\u7545\u8fd0\u884c &#8211; \u6846\u67b6\u7248\u672c\u51b2\u7a81\u5bfc\u81f4\u201c\u672c\u5730\u80fd\u8dd1&#xff0c;\u7ebf\u4e0a\u62a5\u9519\u201d &#8211; \u7f3a\u4e4f\u76f4\u89c2\u4ea4\u4e92\u754c\u9762&#xff0c;\u8c03\u8bd5\u548c\u6d4b\u8bd5\u6548\u7387\u4f4e\u4e0b &#8211; API\u63a5\u53e3\u9700\u81ea\u884c\u5f00\u53d1&#xff0c;\u589e\u52a0\u5de5\u7a0b\u6210\u672c<\/p>\n<p>\u8fd9\u4e9b\u95ee\u9898\u4f7f\u5f97\u8bb8\u591a\u56e2\u961f\u5373\u4f7f\u62e5\u6709\u4f18\u79c0\u7684\u6a21\u578b&#xff0c;\u4e5f\u96be\u4ee5\u5feb\u901f\u5b9e\u73b0\u4ea7\u54c1\u5316\u9a8c\u8bc1\u3002<\/p>\n<h3>2. StructBERT&#xff1a;\u4e13\u4e3a\u4e2d\u6587\u4f18\u5316\u7684\u60c5\u611f\u5206\u7c7b\u6a21\u578b<\/h3>\n<h4>2.1 \u6a21\u578b\u80cc\u666f\u4e0e\u4f18\u52bf<\/h4>\n<p>StructBERT \u662f\u963f\u91cc\u4e91 ModelScope \u5e73\u53f0\u63a8\u51fa\u7684\u57fa\u4e8e BERT \u67b6\u6784\u6539\u8fdb\u7684\u8bed\u8a00\u6a21\u578b&#xff0c;\u5728\u591a\u4e2a\u4e2d\u6587 NLP \u4efb\u52a1\u4e2d\u8868\u73b0\u4f18\u5f02\u3002\u5176\u6838\u5fc3\u521b\u65b0\u5728\u4e8e\u5f15\u5165\u4e86\u7ed3\u6784\u5316\u8bed\u8a00\u5efa\u6a21\u76ee\u6807&#xff0c;\u589e\u5f3a\u4e86\u6a21\u578b\u5bf9\u8bed\u5e8f\u548c\u8bed\u6cd5\u7ed3\u6784\u7684\u7406\u89e3\u80fd\u529b\u3002<\/p>\n<p>\u672c\u9879\u76ee\u91c7\u7528\u7684\u662f ModelScope \u5b98\u65b9\u63d0\u4f9b\u7684 StructBERT (Chinese Text Classification) \u5fae\u8c03\u7248\u672c&#xff0c;\u4e13\u95e8\u9488\u5bf9\u4e2d\u6587\u60c5\u611f\u5206\u7c7b\u4efb\u52a1\u8fdb\u884c\u4e86\u4f18\u5316&#xff0c;\u652f\u6301\u4e8c\u5206\u7c7b\u8f93\u51fa&#xff1a; &#8211; &#x1f604; \u6b63\u9762\u60c5\u7eea&#xff08;Positive&#xff09; &#8211; &#x1f620; \u8d1f\u9762\u60c5\u7eea&#xff08;Negative&#xff09;<\/p>\n<p>\u5e76\u8fd4\u56de\u5bf9\u5e94\u7684\u7f6e\u4fe1\u5ea6\u5206\u6570&#xff08;0~1&#xff09;&#xff0c;\u4fbf\u4e8e\u4e1a\u52a1\u7cfb\u7edf\u505a\u9608\u503c\u5224\u65ad\u3002<\/p>\n<h4>2.2 \u4e3a\u4ec0\u4e48\u9009\u62e9StructBERT\u505a\u8f7b\u91cf\u90e8\u7f72&#xff1f;<\/h4>\n<table>\n<tr>\u7ef4\u5ea6\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u4e2d\u6587\u9002\u914d\u6027<\/td>\n<td>\u5728\u5927\u89c4\u6a21\u4e2d\u6587\u8bed\u6599\u4e0a\u8bad\u7ec3&#xff0c;\u4f18\u4e8e\u901a\u7528\u591a\u8bed\u8a00\u6a21\u578b<\/td>\n<\/tr>\n<tr>\n<td>\u6a21\u578b\u4f53\u79ef<\/td>\n<td>\u53c2\u6570\u91cf\u7ea61\u4ebf&#xff0c;\u9002\u5408CPU\u63a8\u7406&#xff08;&lt;2GB\u5185\u5b58\u5360\u7528&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u63a8\u7406\u901f\u5ea6<\/td>\n<td>\u5355\u53e5\u5e73\u5747\u54cd\u5e94\u65f6\u95f4 &lt; 800ms&#xff08;Intel Xeon CPU&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u751f\u6001\u652f\u6301<\/td>\n<td>ModelScope \u63d0\u4f9b\u5b8c\u6574\u52a0\u8f7d\u63a5\u53e3&#xff0c;\u517c\u5bb9Transformers\u751f\u6001<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8be5\u6a21\u578b\u5df2\u5728\u7535\u5546\u8bc4\u8bba\u3001\u793e\u4ea4\u5a92\u4f53\u3001\u65b0\u95fb\u6807\u9898\u7b49\u591a\u4e2a\u771f\u5b9e\u573a\u666f\u4e2d\u9a8c\u8bc1\u6709\u6548\u6027&#xff0c;\u51c6\u786e\u7387\u7a33\u5b9a\u572892%\u4ee5\u4e0a\u3002<\/p>\n<h3>3. \u7cfb\u7edf\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5173\u952e\u6280\u672f\u5b9e\u73b0<\/h3>\n<h4>3.1 \u6574\u4f53\u67b6\u6784\u6982\u89c8<\/h4>\n<p>&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#043;     &#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#043;<br \/>\n|   \u7528\u6237\u8f93\u5165         | &#8211;&gt; |  Flask Web Server   |<br \/>\n| (WebUI \u6216 API)    |     | &#8211; \u63a5\u6536\u8bf7\u6c42           |<br \/>\n&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#043;     | &#8211; \u6587\u672c\u9884\u5904\u7406          |<br \/>\n                          | &#8211; \u8c03\u7528\u6a21\u578b\u63a8\u7406        |<br \/>\n                          | &#8211; \u8fd4\u56deJSON\u7ed3\u679c        |<br \/>\n                          &#043;&#8212;&#8212;&#8212;-&#043;&#8212;&#8212;&#8212;-&#043;<br \/>\n                                     |<br \/>\n                                     v<br \/>\n                     &#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&#043;<br \/>\n                     |   StructBERT \u60c5\u611f\u5206\u7c7b\u6a21\u578b   |<br \/>\n                     | &#8211; model_id:              |<br \/>\n                     |   damo\/nlp_structbert&#8230; |<br \/>\n                     | &#8211; framework: PyTorch     |<br \/>\n                     &#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&#043;<\/p>\n<p>\u6574\u4e2a\u670d\u52a1\u57fa\u4e8e Flask &#043; Transformers &#043; ModelScope \u6784\u5efa&#xff0c;\u91c7\u7528\u6a21\u5757\u5316\u8bbe\u8ba1&#xff0c;\u786e\u4fdd\u53ef\u7ef4\u62a4\u6027\u548c\u6269\u5c55\u6027\u3002<\/p>\n<h4>3.2 \u6838\u5fc3\u4ee3\u7801\u89e3\u6790<\/h4>\n<p>\u4ee5\u4e0b\u662f\u5173\u952e\u670d\u52a1\u542f\u52a8\u811a\u672c\u4e0e\u6a21\u578b\u52a0\u8f7d\u903b\u8f91&#xff1a;<\/p>\n<p># app.py<br \/>\nfrom flask import Flask, request, jsonify, render_template<br \/>\nfrom modelscope.pipelines import pipeline<br \/>\nfrom modelscope.utils.constant import Tasks<\/p>\n<p>app &#061; Flask(__name__)<\/p>\n<p># \u521d\u59cb\u5316\u60c5\u611f\u5206\u6790\u6d41\u6c34\u7ebf&#xff08;\u81ea\u52a8\u4e0b\u8f7d\u6a21\u578b&#xff09;<br \/>\nsentiment_pipeline &#061; pipeline(<br \/>\n    task&#061;Tasks.sentiment_classification,<br \/>\n    model&#061;&#039;damo\/nlp_structbert_sentiment-classification_chinese-base&#039;<br \/>\n)<\/p>\n<p>&#064;app.route(&#039;\/&#039;)<br \/>\ndef index():<br \/>\n    return render_template(&#039;index.html&#039;)  # \u54cd\u5e94WebUI\u9875\u9762<\/p>\n<p>&#064;app.route(&#039;\/predict&#039;, methods&#061;[&#039;POST&#039;])<br \/>\ndef predict():<br \/>\n    data &#061; request.json<br \/>\n    text &#061; data.get(&#039;text&#039;, &#039;&#039;)<\/p>\n<p>    if not text:<br \/>\n        return jsonify({&#039;error&#039;: &#039;Missing text&#039;}), 400<\/p>\n<p>    # \u6267\u884c\u6a21\u578b\u63a8\u7406<br \/>\n    result &#061; sentiment_pipeline(input&#061;text)<\/p>\n<p>    # \u6807\u51c6\u5316\u8f93\u51fa\u683c\u5f0f<br \/>\n    label &#061; result[&#039;labels&#039;][0]<br \/>\n    score &#061; result[&#039;scores&#039;][0]<\/p>\n<p>    return jsonify({<br \/>\n        &#039;text&#039;: text,<br \/>\n        &#039;sentiment&#039;: label,<br \/>\n        &#039;confidence&#039;: round(score, 4),<br \/>\n        &#039;emoji&#039;: &#039;&#x1f604;&#039; if label &#061;&#061; &#039;Positive&#039; else &#039;&#x1f620;&#039;<br \/>\n    })<\/p>\n<p>if __name__ &#061;&#061; &#039;__main__&#039;:<br \/>\n    app.run(host&#061;&#039;0.0.0.0&#039;, port&#061;7860)<\/p>\n<h5>&#x1f50d; \u5173\u952e\u70b9\u8bf4\u660e&#xff1a;<\/h5>\n<ul>\n<li>\u4f7f\u7528 modelscope.pipelines.pipeline \u5c01\u88c5\u6a21\u578b\u52a0\u8f7d&#xff0c;\u7b80\u5316\u8c03\u7528\u6d41\u7a0b<\/li>\n<li>\u81ea\u52a8\u7f13\u5b58\u6a21\u578b\u81f3 ~\/.cache\/modelscope\/hub\/&#xff0c;\u907f\u514d\u91cd\u590d\u4e0b\u8f7d<\/li>\n<li>\u8f93\u51fa\u5305\u542b\u539f\u59cb\u6807\u7b7e\u3001\u7f6e\u4fe1\u5ea6\u53ca\u53ef\u89c6\u5316\u8868\u60c5\u7b26\u53f7&#xff0c;\u63d0\u5347\u53ef\u7528\u6027<\/li>\n<li>\u652f\u6301\u8de8\u57df\u8bf7\u6c42&#xff08;CORS \u53ef\u901a\u8fc7\u4e2d\u95f4\u4ef6\u6269\u5c55&#xff09;<\/li>\n<\/ul>\n<h4>3.3 WebUI \u8bbe\u8ba1\u4e0e\u7528\u6237\u4f53\u9a8c\u4f18\u5316<\/h4>\n<p>\u524d\u7aef\u91c7\u7528\u8f7b\u91cf\u7ea7 HTML &#043; JavaScript \u5b9e\u73b0\u5bf9\u8bdd\u5f0f\u4ea4\u4e92\u754c\u9762&#xff0c;\u5177\u5907\u4ee5\u4e0b\u7279\u6027&#xff1a;<\/p>\n<ul>\n<li>\u5b9e\u65f6\u8f93\u5165\u53cd\u9988&#xff1a;\u8f93\u5165\u6846\u805a\u7126\u65f6\u81ea\u52a8\u6e05\u7a7a\u793a\u4f8b\u6587\u672c<\/li>\n<li>\u52a8\u753b\u52a0\u8f7d\u63d0\u793a&#xff1a;\u70b9\u51fb\u201c\u5f00\u59cb\u5206\u6790\u201d\u540e\u663e\u793a\u65cb\u8f6c\u7b49\u5f85\u52a8\u753b<\/li>\n<li>\u7ed3\u679c\u9ad8\u4eae\u5c55\u793a&#xff1a;\u6b63\u9762\/\u8d1f\u9762\u5206\u522b\u7528\u7eff\u8272\/\u7ea2\u8272\u7a81\u51fa\u663e\u793a<\/li>\n<li>\u5386\u53f2\u8bb0\u5f55\u4fdd\u7559&#xff1a;\u9875\u9762\u4e0d\u5237\u65b0\u60c5\u51b5\u4e0b\u4fdd\u7559\u6700\u8fd1\u4e00\u6b21\u7ed3\u679c<\/li>\n<\/ul>\n<p>&lt;!&#8211; templates\/index.html \u7247\u6bb5 &#8211;&gt;<br \/>\n&lt;div class&#061;&#034;result-box&#034; id&#061;&#034;result&#034; style&#061;&#034;display:none;&#034;&gt;<br \/>\n  &lt;span class&#061;&#034;emoji&#034;&gt;{{ emoji }}&lt;\/span&gt;<br \/>\n  &lt;strong&gt;\u60c5\u611f\u503e\u5411&#xff1a;&lt;\/strong&gt;&lt;span id&#061;&#034;label&#034;&gt;&lt;\/span&gt;<br \/>\n  &lt;br\/&gt;<br \/>\n  &lt;strong&gt;\u7f6e\u4fe1\u5ea6&#xff1a;&lt;\/strong&gt;&lt;span id&#061;&#034;score&#034;&gt;&lt;\/span&gt;<br \/>\n&lt;\/div&gt;<\/p>\n<p>&lt;script&gt;<br \/>\nasync function analyze() {<br \/>\n  const text &#061; document.getElementById(&#034;inputText&#034;).value;<br \/>\n  const res &#061; await fetch(&#034;\/predict&#034;, {<br \/>\n    method: &#034;POST&#034;,<br \/>\n    headers: { &#034;Content-Type&#034;: &#034;application\/json&#034; },<br \/>\n    body: JSON.stringify({ text })<br \/>\n  }).then(r &#061;&gt; r.json());<\/p>\n<p>  document.getElementById(&#034;label&#034;).textContent &#061; res.emoji &#043; &#034; &#034; &#043; res.sentiuments;<br \/>\n  document.getElementById(&#034;score&#034;).textContent &#061; res.confidence;<br \/>\n  document.getElementById(&#034;result&#034;).style.display &#061; &#034;block&#034;;<br \/>\n}<br \/>\n&lt;\/script&gt;<\/p>\n<h3>4. \u5de5\u7a0b\u4f18\u5316\u5b9e\u8df5&#xff1a;\u5982\u4f55\u8ba9StructBERT\u5728CPU\u4e0a\u98de\u8d77\u6765<\/h3>\n<h4>4.1 \u7248\u672c\u9501\u5b9a\u7b56\u7565&#xff1a;\u675c\u7edd\u73af\u5883\u51b2\u7a81<\/h4>\n<p>\u4e00\u4e2a\u5e38\u89c1\u95ee\u9898\u662f transformers \u4e0e modelscope \u65b0\u7248\u672c\u4e4b\u95f4\u7684API\u4e0d\u517c\u5bb9\u3002\u6211\u4eec\u901a\u8fc7 requirements.txt \u660e\u786e\u6307\u5b9a\u9ec4\u91d1\u7ec4\u5408&#xff1a;<\/p>\n<p>transformers&#061;&#061;4.35.2<br \/>\nmodelscope&#061;&#061;1.9.5<br \/>\ntorch&#061;&#061;1.13.1&#043;cpu<br \/>\nflask&#061;&#061;2.3.3<\/p>\n<p>\u6b64\u7ec4\u5408\u7ecf\u8fc7\u5b9e\u6d4b\u9a8c\u8bc1&#xff0c;\u53ef\u5728\u65e0GPU\u73af\u5883\u4e0b\u7a33\u5b9a\u8fd0\u884c&#xff0c;\u4e14\u9996\u6b21\u542f\u52a8\u65f6\u81ea\u52a8\u5b8c\u6210\u6a21\u578b\u4e0b\u8f7d\u4e0e\u7f13\u5b58\u3002<\/p>\n<h4>4.2 \u5185\u5b58\u4e0e\u6027\u80fd\u8c03\u4f18\u6280\u5de7<\/h4>\n<h5>&#xff08;1&#xff09;\u542f\u7528\u6a21\u578b\u7f13\u5b58\u673a\u5236<\/h5>\n<p># \u5229\u7528ModelScope\u5185\u7f6e\u7f13\u5b58&#xff0c;\u907f\u514d\u91cd\u590d\u52a0\u8f7d<br \/>\nfrom modelscope.hub.snapshot_download import snapshot_download<\/p>\n<p>model_dir &#061; snapshot_download(&#039;damo\/nlp_structbert_sentiment-classification_chinese-base&#039;)<br \/>\nsentiment_pipeline &#061; pipeline(task&#061;Tasks.sentiment_classification, model&#061;model_dir)<\/p>\n<h5>&#xff08;2&#xff09;\u6279\u91cf\u63a8\u7406\u9884\u70ed&#xff08;Batch Warm-up&#xff09;<\/h5>\n<p>\u867d\u7136\u5f53\u524d\u4e3a\u5355\u53e5\u670d\u52a1&#xff0c;\u4f46\u53ef\u901a\u8fc7\u9884\u70ed\u673a\u5236\u51cf\u5c11\u51b7\u542f\u52a8\u5ef6\u8fdf&#xff1a;<\/p>\n<p># \u542f\u52a8\u65f6\u6267\u884c\u4e00\u6b21 dummy \u63a8\u7406<br \/>\n_ &#061; sentiment_pipeline(input&#061;&#034;\u521d\u59cb\u5316\u6d4b\u8bd5&#034;)<br \/>\nprint(&#034;\u2705 \u6a21\u578b\u5df2\u9884\u70ed&#xff0c;\u670d\u52a1\u5c31\u7eea&#xff01;&#034;)<\/p>\n<h5>&#xff08;3&#xff09;Gunicorn \u591a\u5de5\u4f5c\u8fdb\u7a0b\u90e8\u7f72&#xff08;\u53ef\u9009&#xff09;<\/h5>\n<p>\u5bf9\u4e8e\u5e76\u53d1\u8bbf\u95ee\u91cf\u8f83\u5927\u7684\u573a\u666f&#xff0c;\u5efa\u8bae\u4f7f\u7528 Gunicorn \u66ff\u4ee3 Flask \u81ea\u5e26\u670d\u52a1\u5668&#xff1a;<\/p>\n<p>gunicorn -w 2 -b 0.0.0.0:7860 app:app<\/p>\n<p>\u8bbe\u7f6e2\u4e2a\u5de5\u4f5c\u8fdb\u7a0b&#xff0c;\u57284\u6838CPU\u4e0b\u53ef\u652f\u6491\u6bcf\u79d215&#043;\u8bf7\u6c42\u3002<\/p>\n<h3>5. \u4f7f\u7528\u8bf4\u660e\u4e0e\u5feb\u901f\u4e0a\u624b\u6307\u5357<\/h3>\n<h4>5.1 \u955c\u50cf\u542f\u52a8\u4e0e\u670d\u52a1\u8bbf\u95ee<\/h4>\n<li>\u5728 CSDN \u661f\u56fe\u5e73\u53f0\u62c9\u53d6\u955c\u50cf\u5e76\u542f\u52a8\u5bb9\u5668<\/li>\n<li>\u7b49\u5f85\u65e5\u5fd7\u8f93\u51fa Running on http:\/\/0.0.0.0:7860 \u8868\u793a\u670d\u52a1\u5c31\u7eea<\/li>\n<li>\u70b9\u51fb\u5e73\u53f0\u63d0\u4f9b\u7684 HTTP \u8bbf\u95ee\u6309\u94ae&#xff0c;\u6253\u5f00 WebUI \u754c\u9762<\/li>\n<p><img decoding=\"async\" alt=\"WebUI\u64cd\u4f5c\u793a\u610f\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260116204906-696aa44200e91.png\" \/><\/p>\n<h4>5.2 WebUI \u64cd\u4f5c\u6b65\u9aa4<\/h4>\n<li>\u5728\u8f93\u5165\u6846\u4e2d\u586b\u5199\u5f85\u5206\u6790\u7684\u4e2d\u6587\u53e5\u5b50 \u793a\u4f8b&#xff1a;\u201c\u8fd9\u90e8\u7535\u5f71\u592a\u611f\u4eba\u4e86&#xff0c;\u770b\u54ed\u4e86\u201d<\/li>\n<li>\u70b9\u51fb \u201c\u5f00\u59cb\u5206\u6790\u201d \u6309\u94ae<\/li>\n<li>\u67e5\u770b\u8fd4\u56de\u7ed3\u679c&#xff1a;<\/li>\n<li>\u60c5\u611f\u6807\u7b7e&#xff1a;&#x1f604; \u6b63\u9762<\/li>\n<li>\u7f6e\u4fe1\u5ea6&#xff1a;0.9876<\/li>\n<h4>5.3 API \u63a5\u53e3\u8c03\u7528\u65b9\u5f0f<\/h4>\n<p>\u652f\u6301\u6807\u51c6 RESTful \u63a5\u53e3&#xff0c;\u53ef\u7528\u4e8e\u96c6\u6210\u5230\u5176\u4ed6\u7cfb\u7edf&#xff1a;<\/p>\n<p>curl -X POST http:\/\/localhost:7860\/predict \\\\<br \/>\n     -H &#034;Content-Type: application\/json&#034; \\\\<br \/>\n     -d &#039;{&#034;text&#034;: &#034;\u4eca\u5929\u5929\u6c14\u771f\u7cdf\u7cd5&#xff0c;\u822a\u73ed\u5ef6\u8bef\u4e86&#034;}&#039;<\/p>\n<p>\u8fd4\u56de\u793a\u4f8b&#xff1a;<\/p>\n<p>{<br \/>\n  &#034;text&#034;: &#034;\u4eca\u5929\u5929\u6c14\u771f\u7cdf\u7cd5&#xff0c;\u822a\u73ed\u5ef6\u8bef\u4e86&#034;,<br \/>\n  &#034;sentiment&#034;: &#034;Negative&#034;,<br \/>\n  &#034;confidence&#034;: 0.9632,<br \/>\n  &#034;emoji&#034;: &#034;&#x1f620;&#034;<br \/>\n}<\/p>\n<p>\u53ef\u7528\u4e8e\u81ea\u52a8\u5316\u8206\u60c5\u76d1\u6d4b\u3001APP\u5185\u5d4c\u60c5\u611f\u6253\u5206\u7b49\u573a\u666f\u3002<\/p>\n<h3>6. \u603b\u7ed3<\/h3>\n<h4>6.1 \u6280\u672f\u4ef7\u503c\u603b\u7ed3<\/h4>\n<p>\u672c\u6587\u4ecb\u7ecd\u4e86\u4e00\u5957\u5b8c\u6574\u7684 StructBERT \u8f7b\u91cf\u7ea7\u4e2d\u6587\u60c5\u611f\u5206\u6790\u90e8\u7f72\u65b9\u6848&#xff0c;\u5b9e\u73b0\u4e86\u4e09\u5927\u6838\u5fc3\u4ef7\u503c&#xff1a;<\/p>\n<ul>\n<li>\u2705 \u96f6GPU\u4f9d\u8d56&#xff1a;\u7eafCPU\u73af\u5883\u8fd0\u884c&#xff0c;\u9002\u7528\u4e8e\u4f4e\u914d\u670d\u52a1\u5668\u3001\u8fb9\u7f18\u8bbe\u5907<\/li>\n<li>\u2705 \u5f00\u7bb1\u5373\u7528&#xff1a;\u96c6\u6210 WebUI \u4e0e API&#xff0c;\u65e0\u9700\u989d\u5916\u5f00\u53d1\u5373\u53ef\u6295\u5165\u6d4b\u8bd5<\/li>\n<li>\u2705 \u73af\u5883\u7a33\u5b9a&#xff1a;\u9501\u5b9a\u5173\u952e\u4f9d\u8d56\u7248\u672c&#xff0c;\u89e3\u51b3\u201c\u7248\u672c\u5730\u72f1\u201d\u95ee\u9898<\/li>\n<\/ul>\n<p>\u8be5\u65b9\u6848\u7279\u522b\u9002\u5408\u4e2d\u5c0f\u4f01\u4e1a\u3001\u5b66\u751f\u9879\u76ee\u3001POC\u9a8c\u8bc1\u7b49\u8d44\u6e90\u53d7\u9650\u4f46\u9700\u8981\u9ad8\u8d28\u91cf\u4e2d\u6587NLP\u80fd\u529b\u7684\u573a\u666f\u3002<\/p>\n<h4>6.2 \u6700\u4f73\u5b9e\u8df5\u5efa\u8bae<\/h4>\n<li>\u9996\u6b21\u4f7f\u7528\u524d\u624b\u52a8\u89e6\u53d1\u4e00\u6b21\u63a8\u7406&#xff0c;\u5b8c\u6210\u6a21\u578b\u4e0b\u8f7d\u4e0e\u7f13\u5b58<\/li>\n<li>\u751f\u4ea7\u73af\u5883\u5efa\u8bae\u6539\u7528 Gunicorn &#043; Nginx \u63d0\u5347\u5e76\u53d1\u80fd\u529b<\/li>\n<li>\u5b9a\u671f\u6e05\u7406 ~\/.cache\/modelscope\/ \u9632\u6b62\u78c1\u76d8\u5360\u6ee1<\/li>\n<li>\u53ef\u6269\u5c55\u4e3a\u591a\u7c7b\u522b\u5206\u7c7b&#xff1a;\u66ff\u6362\u6a21\u578bID\u5373\u53ef\u652f\u6301\u7ec6\u7c92\u5ea6\u60c5\u611f&#xff08;\u5982\u6124\u6012\u3001\u559c\u60a6\u3001\u5931\u671b\u7b49&#xff09;<\/li>\n<p>\u672a\u6765\u8fd8\u53ef\u7ed3\u5408\u5b9a\u65f6\u4efb\u52a1\u3001\u6570\u636e\u5e93\u5b58\u50a8\u3001\u90ae\u4ef6\u544a\u8b66\u7b49\u529f\u80fd&#xff0c;\u6784\u5efa\u5b8c\u6574\u7684\u8206\u60c5\u76d1\u63a7\u7cfb\u7edf\u3002<\/p>\n<hr \/>\n<p>&#x1f4a1; \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>StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72&#xff1a;\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790<br \/>\n1. \u4e2d\u6587\u60c5\u611f\u5206\u6790\u7684\u73b0\u5b9e\u6311\u6218\u4e0e\u9700\u6c42<br \/>\n\u5728\u5f53\u524d\u81ea\u7136\u8bed\u8a00\u5904\u7406&#xff08;NLP&#xff09;\u5e7f\u6cdb\u5e94\u7528\u7684\u80cc\u666f\u4e0b&#xff0c;\u4e2d\u6587\u60c5\u611f\u5206\u6790\u5df2\u6210\u4e3a\u667a\u80fd\u5ba2\u670d\u3001\u8206\u60c5\u76d1\u63a7\u3001\u7528\u6237\u8bc4\u8bba\u6316\u6398\u7b49\u573a\u666f\u7684\u6838\u5fc3\u6280\u672f\u4e4b\u4e00\u3002\u7136\u800c&#xff0c;\u5927\u591a\u6570\u9ad8\u6027\u80fd\u9884\u8bad\u7ec3\u6a21\u578b&#xff08;\u5982BERT\u3001RoBERTa&#xff09;\u4f9d\u8d56GPU\u8fdb\u884c\u63a8\u7406&#xff0c;\u5728\u7f3a\u4e4f\u663e\u5361\u8d44\u6e90\u7684\u8fb9\u7f18\u8bbe\u5907\u6216\u4f4e\u914d\u670d\u52a1\u5668\u4e0a\u96be\u4ee5\u843d\u5730\u3002<br \/>\n\u4f01\u4e1a\u5728\u5b9e\u9645\u90e8\u7f72\u4e2d\u5e38\u9762<\/p>\n","protected":false},"author":2,"featured_media":61143,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-61144","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72\uff1a\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790 - \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\/61144.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72\uff1a\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72&#xff1a;\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790 1. \u4e2d\u6587\u60c5\u611f\u5206\u6790\u7684\u73b0\u5b9e\u6311\u6218\u4e0e\u9700\u6c42 \u5728\u5f53\u524d\u81ea\u7136\u8bed\u8a00\u5904\u7406&#xff08;NLP&#xff09;\u5e7f\u6cdb\u5e94\u7528\u7684\u80cc\u666f\u4e0b&#xff0c;\u4e2d\u6587\u60c5\u611f\u5206\u6790\u5df2\u6210\u4e3a\u667a\u80fd\u5ba2\u670d\u3001\u8206\u60c5\u76d1\u63a7\u3001\u7528\u6237\u8bc4\u8bba\u6316\u6398\u7b49\u573a\u666f\u7684\u6838\u5fc3\u6280\u672f\u4e4b\u4e00\u3002\u7136\u800c&#xff0c;\u5927\u591a\u6570\u9ad8\u6027\u80fd\u9884\u8bad\u7ec3\u6a21\u578b&#xff08;\u5982BERT\u3001RoBERTa&#xff09;\u4f9d\u8d56GPU\u8fdb\u884c\u63a8\u7406&#xff0c;\u5728\u7f3a\u4e4f\u663e\u5361\u8d44\u6e90\u7684\u8fb9\u7f18\u8bbe\u5907\u6216\u4f4e\u914d\u670d\u52a1\u5668\u4e0a\u96be\u4ee5\u843d\u5730\u3002 \u4f01\u4e1a\u5728\u5b9e\u9645\u90e8\u7f72\u4e2d\u5e38\u9762\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/61144.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-16T20:49:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260116204906-696aa44200e91.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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/61144.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/61144.html\",\"name\":\"StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72\uff1a\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-16T20:49:07+00:00\",\"dateModified\":\"2026-01-16T20:49:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/61144.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/61144.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/61144.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72\uff1a\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790\"}]},{\"@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":"StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72\uff1a\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790 - \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\/61144.html","og_locale":"zh_CN","og_type":"article","og_title":"StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72\uff1a\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72&#xff1a;\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790 1. \u4e2d\u6587\u60c5\u611f\u5206\u6790\u7684\u73b0\u5b9e\u6311\u6218\u4e0e\u9700\u6c42 \u5728\u5f53\u524d\u81ea\u7136\u8bed\u8a00\u5904\u7406&#xff08;NLP&#xff09;\u5e7f\u6cdb\u5e94\u7528\u7684\u80cc\u666f\u4e0b&#xff0c;\u4e2d\u6587\u60c5\u611f\u5206\u6790\u5df2\u6210\u4e3a\u667a\u80fd\u5ba2\u670d\u3001\u8206\u60c5\u76d1\u63a7\u3001\u7528\u6237\u8bc4\u8bba\u6316\u6398\u7b49\u573a\u666f\u7684\u6838\u5fc3\u6280\u672f\u4e4b\u4e00\u3002\u7136\u800c&#xff0c;\u5927\u591a\u6570\u9ad8\u6027\u80fd\u9884\u8bad\u7ec3\u6a21\u578b&#xff08;\u5982BERT\u3001RoBERTa&#xff09;\u4f9d\u8d56GPU\u8fdb\u884c\u63a8\u7406&#xff0c;\u5728\u7f3a\u4e4f\u663e\u5361\u8d44\u6e90\u7684\u8fb9\u7f18\u8bbe\u5907\u6216\u4f4e\u914d\u670d\u52a1\u5668\u4e0a\u96be\u4ee5\u843d\u5730\u3002 \u4f01\u4e1a\u5728\u5b9e\u9645\u90e8\u7f72\u4e2d\u5e38\u9762","og_url":"https:\/\/www.wsisp.com\/helps\/61144.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-16T20:49:07+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260116204906-696aa44200e91.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/61144.html","url":"https:\/\/www.wsisp.com\/helps\/61144.html","name":"StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72\uff1a\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-16T20:49:07+00:00","dateModified":"2026-01-16T20:49:07+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/61144.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/61144.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/61144.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"StructBERT\u8f7b\u91cf\u7ea7\u90e8\u7f72\uff1a\u4f4e\u914d\u670d\u52a1\u5668\u4e5f\u80fd\u8dd1\u7684\u60c5\u611f\u5206\u6790"}]},{"@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\/61144","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=61144"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/61144\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/61143"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=61144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=61144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=61144"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=61144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}