{"id":8570,"date":"2024-06-04T08:01:01","date_gmt":"2024-06-04T00:01:01","guid":{"rendered":""},"modified":"2024-06-04T08:01:01","modified_gmt":"2024-06-04T00:01:01","slug":"\u8de8\u8bed\u8a00\u4ea4\u6d41_recreational function\u8bed\u8a00\u5b66","status":"publish","type":"post","link":"https:\/\/mushiming.com\/8570.html","title":{"rendered":"\u8de8\u8bed\u8a00\u4ea4\u6d41_recreational function\u8bed\u8a00\u5b66"},"content":{"rendered":"
\n\ud83d\udd0e\u5927\u5bb6\u597d\uff0c\u6211\u662fSonhhxg_\u67d2\uff0c\u5e0c\u671b\u4f60\u770b\u5b8c\u4e4b\u540e\uff0c\u80fd\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u4e0d\u8db3\u8bf7\u6307\u6b63\uff01\u5171\u540c\u5b66\u4e60\u4ea4\u6d41\ud83d\udd0e<\/p>\n
\ud83d\udcdd\u4e2a\u4eba\u4e3b\u9875\uff0dSonhhxg_\u67d2\u7684\u535a\u5ba2_CSDN\u535a\u5ba2 \ud83d\udcc3<\/p>\n
\ud83c\udf81\u6b22\u8fce\u5404\u4f4d\u2192\u70b9\u8d5e\ud83d\udc4d + \u6536\u85cf\u2b50\ufe0f + \u7559\u8a00\ud83d\udcdd\u200b<\/p>\n
\ud83d\udce3\u7cfb\u5217\u4e13\u680f - \u673a\u5668\u5b66\u4e60\u3010ML\u3011 \u81ea\u7136\u8bed\u8a00\u5904\u7406\u3010NLP\u3011 \u6df1\u5ea6\u5b66\u4e60\u3010DL\u3011<\/p>\n
\u200b<\/p>\n
\ud83d\udd8dforeword<\/h4>\n
\u2714\u8bf4\u660e\u21e2\u672c\u4eba\u8bb2\u89e3\u4e3b\u8981\u5305\u62ecPython\u3001\u673a\u5668\u5b66\u4e60\uff08ML\uff09\u3001\u6df1\u5ea6\u5b66\u4e60\uff08DL\uff09\u3001\u81ea\u7136\u8bed\u8a00\u5904\u7406\uff08NLP\uff09\u7b49\u5185\u5bb9\u3002<\/p>\n
\u5982\u679c\u4f60\u5bf9\u8fd9\u4e2a\u7cfb\u5217\u611f\u5174\u8da3\u7684\u8bdd\uff0c\u53ef\u4ee5\u5173\u6ce8\u8ba2\u9605\u54df\ud83d\udc4b<\/p>\n<\/blockquote>\n
\u6587\u7ae0\u76ee\u5f55<\/strong><\/p>\n
\n\u6280\u672f\u8981\u6c42<\/p>\n
\u7ffb\u8bd1\u8bed\u8a00\u5efa\u6a21\u4e0e\u8de8\u8bed\u8a00\u77e5\u8bc6\u5171\u4eab<\/p>\n
XLM \u548c mBERT<\/p>\n
mBERT<\/p>\n
XLM<\/p>\n
\u8de8\u8bed\u8a00\u76f8\u4f3c\u5ea6\u4efb\u52a1<\/p>\n
\u8de8\u8bed\u8a00\u6587\u672c\u76f8\u4f3c\u5ea6<\/p>\n
\u53ef\u89c6\u5316\u8de8\u8bed\u8a00\u6587\u672c\u76f8\u4f3c\u6027<\/p>\n
\u8de8\u8bed\u8a00\u5206\u7c7b<\/p>\n
\u8de8\u8bed\u8a00\u96f6\u6837\u672c\u5b66\u4e60<\/p>\n
\u591a\u8bed\u8a00\u6a21\u578b\u7684\u57fa\u672c\u9650\u5236<\/p>\n
\u5fae\u8c03\u591a\u8bed\u8a00\u6a21\u578b\u7684\u6027\u80fd<\/p>\n
\u6982\u62ec<\/p>\n<\/blockquote>\n
\n\u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u60a8\u5df2\u7ecf\u4e86\u89e3\u4e86\u5f88\u591a\u5173\u4e8e\u57fa\u4e8e\u8f6c\u6362\u5668\u7684\u67b6\u6784\uff0c\u4ece\u4ec5\u7f16\u7801\u5668\u6a21\u578b\u5230\u4ec5\u89e3\u7801\u5668\u6a21\u578b\uff0c\u4ece\u9ad8\u6548\u8f6c\u6362\u5668\u5230\u957f\u4e0a\u4e0b\u6587\u8f6c\u6362\u5668\u3002\u60a8\u8fd8\u4e86\u89e3\u4e86\u57fa\u4e8e\u8fde\u4f53\u7f51\u7edc\u7684\u8bed\u4e49\u6587\u672c\u8868\u793a\u3002\u4f46\u662f\uff0c\u6211\u4eec\u6839\u636e\u5355\u8bed\u95ee\u9898\u8ba8\u8bba\u4e86\u6240\u6709\u8fd9\u4e9b\u6a21\u578b\u3002\u6211\u4eec\u5047\u8bbe\u8fd9\u4e9b\u6a21\u578b\u53ea\u7406\u89e3\u4e00\u79cd\u8bed\u8a00\uff0c\u5e76\u4e14\u4e0d\u80fd\u5bf9\u6587\u672c\u6709\u4e00\u822c\u7684\u7406\u89e3\uff0c\u65e0\u8bba\u8bed\u8a00\u672c\u8eab\u5982\u4f55\u3002\u4e8b\u5b9e\u4e0a\uff0c\u5176\u4e2d\u4e00\u4e9b\u6a21\u578b\u5177\u6709\u591a\u8bed\u8a00\u53d8\u4f53\uff1b\u6765\u81ea\u8f6c\u6362\u5668\u7684\u591a\u8bed\u8a00\u53cc\u5411\u7f16\u7801\u5668\u8868\u793a<\/strong>( mBERT<\/strong> )\u3001\u591a\u8bed\u8a00\u6587\u672c\u5230\u6587\u672c\u4f20\u8f93\u8f6c\u6362<\/strong>\u5668( mT5<\/strong> ) \u548c\u591a\u8bed\u8a00\u53cc\u5411\u548c\u81ea\u56de\u5f52\u8f6c\u6362<\/strong>\u5668( mBART<\/strong> )\uff0c\u4ec5\u4e3e\u51e0\u4f8b\u3002\u53e6\u4e00\u65b9\u9762\uff0c\u4e00\u4e9b\u6a21\u578b\u662f\u4e13\u95e8\u4e3a\u591a\u8bed\u8a00\u76ee\u7684\u800c\u8bbe\u8ba1\u7684\uff0c\u8bad\u7ec3\u6709\u8de8\u8bed\u8a00\u76ee\u6807\u3002\u4f8b\u5982\uff0c\u8de8\u8bed\u8a00\u8bed\u8a00\u6a21\u578b<\/strong>\uff08XLM<\/strong>\uff09\u5c31\u662f\u8fd9\u6837\u4e00\u79cd\u65b9\u6cd5\uff0c\u672c\u7ae0\u5c06\u5bf9\u6b64\u8fdb\u884c\u8be6\u7ec6\u4ecb\u7ecd\u3002<\/span><\/span><\/p>\n
\u5728\u672c\u7ae0\u4e2d\uff0c\u5c06\u4ecb\u7ecd\u8bed\u8a00\u4e4b\u95f4\u77e5\u8bc6\u5171\u4eab\u7684\u6982\u5ff5\uff0c\u5b57\u8282\u5bf9\u7f16\u7801<\/strong>\uff08BPE<\/strong>\uff09\u5bf9\u6807\u8bb0\u5316\u90e8\u5206\u7684\u5f71\u54cd\u4e5f\u662f\u53e6\u4e00\u4e2a\u91cd\u8981\u7684\u4e3b\u9898\uff0c\u4ee5\u5b9e\u73b0\u66f4\u597d\u7684\u8f93\u5165\u3002\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u4f7f\u7528\u8de8\u8bed\u8a00\u81ea\u7136\u8bed\u8a00\u63a8\u7406<\/strong>( XNLI<\/strong> ) \u8bed\u6599\u5e93\u7684\u8de8\u8bed\u8a00\u53e5\u5b50\u76f8\u4f3c\u5ea6\u3002\u8bf8\u5982\u8de8\u8bed\u8a00\u5206\u7c7b\u548c\u5229\u7528\u8de8\u8bed\u8a00\u53e5\u5b50\u8868\u793a\u6765\u8bad\u7ec3\u4e00\u79cd\u8bed\u8a00\u548c\u6d4b\u8bd5\u53e6\u4e00\u79cd\u8bed\u8a00\u7b49\u4efb\u52a1\u5c06\u901a\u8fc7\u81ea\u7136\u8bed\u8a00\u5904\u7406<\/strong>( NLP<\/strong> ) \u4e2d\u73b0\u5b9e\u751f\u6d3b\u95ee\u9898\u7684\u5177\u4f53\u793a\u4f8b\u6765\u5448\u73b0\uff0c\u4f8b\u5982\u591a\u8bed\u8a00\u610f\u56fe\u5206\u7c7b\u3002<\/span><\/span><\/p>\n
\u7b80\u800c\u8a00\u4e4b\uff0c\u60a8\u5c06\u5728\u672c\u7ae0\u4e2d\u5b66\u4e60\u4ee5\u4e0b\u4e3b\u9898\uff1a<\/span><\/span><\/p>\n
\n
- \u7ffb\u8bd1\u8bed\u8a00\u5efa\u6a21\u4e0e\u8de8\u8bed\u8a00\u77e5\u8bc6\u5171\u4eab<\/li>\n
- XLM \u548c mBERT<\/li>\n
- \u8de8\u8bed\u8a00\u76f8\u4f3c\u5ea6\u4efb\u52a1<\/li>\n
- \u8de8\u8bed\u8a00\u5206\u7c7b<\/li>\n
- \u8de8\u8bed\u8a00\u96f6\u6837\u672c\u5b66\u4e60<\/li>\n
- \u591a\u8bed\u8a00\u6a21\u578b\u7684\u57fa\u672c\u9650\u5236<\/li>\n<\/ul>\n
\u6280\u672f\u8981\u6c42<\/span><\/span><\/h2>\n
\u6211\u4eec\u5c06\u4f7f\u7528 Jupyter Notebook \u8fd0\u884c\u9700\u8981 Python 3.6.0+ \u7684\u7f16\u7801\u7ec3\u4e60\uff0c\u5e76\u4e14\u9700\u8981\u5b89\u88c5\u4ee5\u4e0b\u8f6f\u4ef6\u5305\uff1a<\/span><\/span><\/p>\n
\n
- tensorflow<\/strong><\/li>\n
- pytorch<\/strong><\/li>\n
- transformers >=4.00<\/strong><\/li>\n
- datasets<\/strong><\/li>\n
- sentence-transformers<\/strong><\/li>\n
- umap-learn<\/strong><\/li>\n
- openpyxl<\/strong><\/li>\n<\/ul>\n
\n
\u7ffb\u8bd1\u8bed\u8a00\u5efa\u6a21\u4e0e\u8de8\u8bed\u8a00\u77e5\u8bc6\u5171\u4eab<\/span><\/span><\/h2>\n
\u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u4f60\u5df2\u7ecf\u5b66\u4f1a\u4e86\u5173\u4e8e\u63a9\u7801\u8bed\u8a00\u5efa\u6a21<\/strong>( MLM<\/strong> ) \u4f5c\u4e3a\u5b8c\u5f62\u586b\u7a7a\u4efb\u52a1\u3002\u7136\u800c\uff0c\u4f7f\u7528\u795e\u7ecf\u7f51\u7edc\u7684\u8bed\u8a00\u5efa\u6a21\u6839\u636e\u65b9\u6cd5\u672c\u8eab\u53ca\u5176\u5b9e\u9645\u7528\u9014\u5206\u4e3a\u4e09\u7c7b\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/span><\/span><\/p>\n
\n
- MLM<\/li>\n
- \u56e0\u679c\u8bed\u8a00\u5efa\u6a21<\/strong>( CLM<\/strong> )<\/li>\n
- \u7ffb\u8bd1\u8bed\u8a00\u5efa\u6a21<\/strong>( TLM<\/strong> )<\/li>\n<\/ul>\n
\u4e5f\u662f\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u8fd8\u6709\u5176\u4ed6\u9884\u8bad\u7ec3\u65b9\u6cd5\uff0c\u4f8b\u5982Next Sentence Prediction<\/strong> ( NSP<\/strong> ) \u548cSentence Order Prediction<\/strong> ( SOP<\/strong> )\uff0c\u4f46\u662f\u6211\u4eec\u53ea\u8003\u8651\u4e86\u57fa\u4e8e\u6807\u8bb0\u7684\u8bed\u8a00\u5efa\u6a21\u3002\u8fd9\u4e09\u79cd\u662f\u6587\u732e\u4e2d\u4f7f\u7528\u7684\u4e3b\u8981\u65b9\u6cd5\u3002<\/span><\/span>MLM<\/strong>,\u63cf\u8ff0\u5e76\u5728\u524d\u51e0\u7ae0\u4e2d\u8be6\u7ec6\u4ecb\u7ecd\u8fc7\uff0c\u662f\u4e00\u4e2a\u975e\u5e38\u63a5\u8fd1\u8bed\u8a00\u5b66\u4e60\u4e2d\u7684\u5b8c\u5f62\u586b\u7a7a\u4efb\u52a1\u7684\u6982\u5ff5\u3002<\/span><\/span><\/p>\n
CLM<\/strong>\u662f\u901a\u8fc7\u9884\u6d4b\u4e0b\u4e00\u4e2a\u6807\u8bb0\u6765\u5b9a\u4e49\uff0c\u7136\u540e\u662f\u4e00\u4e9b\u5148\u524d\u7684\u6807\u8bb0\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u770b\u5230\u4ee5\u4e0b\u4e0a\u4e0b\u6587\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u9884\u6d4b\u4e0b\u4e00\u4e2a\u6807\u8bb0\uff1a<\/span><\/span><\/p>\n
<s> \u53d8\u5f62\u91d1\u521a\u6539\u53d8\u4e86\u81ea\u7136\u8bed\u8a00\u2026\u2026<\/em><\/span><\/span><\/p>\n
\u5982\u60a8\u6240\u89c1\uff0c\u53ea\u6709\u6700\u540e\u4e00\u4e2a\u6807\u8bb0\u88ab\u5c4f\u853d\uff0c\u5e76\u4e14\u4e4b\u524d\u7684\u6807\u8bb0\u88ab\u63d0\u4f9b\u7ed9\u6a21\u578b\u4ee5\u9884\u6d4b\u6700\u540e\u4e00\u4e2a\u6807\u8bb0\u3002\u6b64\u4ee4\u724c\u5c06\u88ab\u5904\u7406<\/em>\uff0c\u5982\u679c\u518d\u6b21\u5411\u60a8\u63d0\u4f9b\u5e26\u6709\u6b64\u4ee4\u724c\u7684\u4e0a\u4e0b\u6587\uff0c\u60a8\u53ef\u80fd\u4f1a\u4ee5\u201c<\/s>\u201d<\/em>\u4ee4\u724c\u7ed3\u675f\u5b83\u3002\u4e3a\u4e86\u5bf9\u8fd9\u79cd\u65b9\u6cd5\u8fdb\u884c\u826f\u597d\u7684\u8bad\u7ec3\uff0c\u4e0d\u9700\u8981\u63a9\u76d6\u7b2c\u4e00\u4e2a\u6807\u8bb0\uff0c\u56e0\u4e3a\u6a21\u578b\u5c06\u53ea\u6709\u4e00\u4e2a\u53e5\u5b50\u5f00\u59cb\u6807\u8bb0\u6765\u4ece\u4e2d\u751f\u6210\u4e00\u4e2a\u53e5\u5b50\u3002\u8fd9\u53e5\u8bdd\u53ef\u4ee5\u662f\u4efb\u4f55\u4e1c\u897f\uff01\u8fd9\u662f\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/span><\/span><\/p>\n
<s> \u2026<\/em><\/span><\/span><\/p>\n
\u4f60\u4f1a\u4ece\u4e2d\u9884\u6d4b\u4ec0\u4e48\uff1f\u5b83\u53ef\u4ee5\u662f\u5b57\u9762\u4e0a\u7684\u4efb\u4f55\u4e1c\u897f\u3002\u4e3a\u4e86\u5f97\u5230\u66f4\u597d\u7684\u8bad\u7ec3\u548c\u66f4\u597d\u7684\u7ed3\u679c\uff0c\u81f3\u5c11\u9700\u8981\u7ed9\u51fa\u7b2c\u4e00\u4e2atoken\uff0c\u4f8b\u5982\uff1a<\/span><\/span><\/p>\n
<s> \u53d8\u5f62\u91d1\u521a\u2026\u2026<\/em><\/span><\/span><\/p>\n
\u5e76\u4e14\u9700\u8981\u6a21\u578b\u6765\u9884\u6d4b\u53d8\u5316<\/em>\uff1b\u7ed9\u5b83\u53d8\u5f62\u91d1\u521a\u6539\u53d8\u540e......<\/em>\u5b83\u9700\u8981\u9884\u6d4b\uff0c<\/em>\u7b49\u7b49\u3002\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u7c7b\u4f3c\u4e8e N-gram \u548c\u57fa\u4e8e\u957f\u77ed\u671f\u8bb0\u5fc6<\/strong>( LSTM<\/strong> ) \u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u662f\u57fa\u4e8e\u6982\u7387P(wn|wn-1, wn-2 ,\u2026,w0)<\/strong>\u5176\u4e2dwn<\/strong>\u662f\u8981\u9884\u6d4b\u7684\u6807\u8bb0\uff0c\u5176\u4f59\u7684\u662f\u5b83\u4e4b\u524d\u7684\u6807\u8bb0\u3002\u5177\u6709\u6700\u5927\u6982\u7387\u7684\u4ee4\u724c\u662f\u9884\u6d4b\u7684\u4ee4\u724c\u3002<\/span><\/span><\/p>\n
\u8fd9\u4e9b\u662f\u7528\u4e8e\u5355\u8bed\u6a21\u578b\u7684\u76ee\u6807\u3002\u90a3\u4e48\uff0c\u8de8\u8bed\u8a00\u6a21\u578b\u53ef\u4ee5\u505a\u4ec0\u4e48\u5462\uff1f\u7b54\u6848\u662fTLM<\/strong>\uff0c\u5b83\u4e0e MLM \u975e\u5e38\u76f8\u4f3c\uff0c\u53ea\u662f\u6709\u4e00\u4e9b\u53d8\u5316\u3002\u4e0d\u662f\u4ece\u5355\u4e00\u8bed\u8a00\u7ed9\u51fa\u4e00\u4e2a\u53e5\u5b50\uff0c\u800c\u662f\u5c06\u4e00\u4e2a\u53e5\u5b50\u5bf9\u7528\u4e0d\u540c\u8bed\u8a00\u7684\u6a21\u578b\u7ed9\u51fa\uff0c\u7531\u4e00\u4e2a\u7279\u6b8a\u7684\u6807\u8bb0\u5206\u9694\u3002\u8be5\u6a21\u578b\u9700\u8981\u9884\u6d4b\u88ab\u5c4f\u853d\u7684\u6807\u8bb0\uff0c\u8fd9\u4e9b\u6807\u8bb0\u5728\u4efb\u4f55\u8fd9\u4e9b\u8bed\u8a00\u4e2d\u90fd\u88ab\u968f\u673a\u5c4f\u853d\u3002<\/span><\/span><\/p>\n
\u4ee5\u4e0b\u53e5\u5b50\u5bf9\u662f\u6b64\u7c7b\u4efb\u52a1\u7684\u793a\u4f8b\uff1a<\/span><\/span><\/p>\n
\n\n \n <\/div>\n<\/div>\n\u56fe 9.1 \u2013 \u571f\u8033\u5176\u8bed\u548c\u82f1\u8bed\u4e4b\u95f4\u7684\u8de8\u8bed\u8a00\u5173\u7cfb\u793a\u4f8b<\/span><\/span><\/p>\n
\u7ed9\u5b9a\u8fd9\u4e24\u4e2a\u63a9\u7801\u53e5\u5b50\uff0c\u6a21\u578b\u9700\u8981\u9884\u6d4b\u4e22\u5931\u7684\u6807\u8bb0\u3002\u5728\u6b64\u4efb\u52a1\u4e2d\uff0c\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6a21\u578b\u53ef\u4ee5\u8bbf\u95ee\u8be5\u5bf9\u4e2d\u7684\u4e00\u79cd\u8bed\u8a00\u4e2d\u7f3a\u5c11\u7684\u6807\u8bb0\uff08\u4f8b\u5982\uff0c\u5206\u522b\u5728\u56fe 9.1\u4e2d\u7684\u53e5\u5b50\u5bf9\u4e2d\u7684<\/em>do\u011fal<\/strong>\u548clanguage<\/strong>\uff09\u3002<\/span><\/span><\/p>\n
\u4f5c\u4e3a\u53e6\u4e00\u4e2a\u793a\u4f8b\uff0c\u60a8\u53ef\u4ee5\u4ece\u6ce2\u65af\u8bed\u548c\u571f\u8033\u5176\u8bed\u53e5\u5b50\u4e2d\u770b\u5230\u540c\u4e00\u5bf9\u3002\u5728\u7b2c\u4e8c\u53e5\u4e2d\uff0cde\u011fi\u015ftirdiler<\/strong>\u6807\u8bb0\u53ef\u4ee5\u5728\u7b2c\u4e00\u53e5\u4e2d\u51fa\u73b0\u591a\u4e2a\u6807\u8bb0\uff08\u4e00\u4e2a\u88ab\u5c4f\u853d\uff09\u3002\u5728\u4ee5\u4e0b\u793a\u4f8b\u4e2d\uff0c\u5355\u8bcd\u062a\u063a\u06cc\u06cc\u0631<\/strong>\u7f3a\u5931\uff0c\u4f46de\u011fi\u015ftirdiler<\/strong>\u7684\u542b\u4e49\u662f\u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f\u0646\u062f <\/strong>\u3002<\/strong>\uff1a<\/span><\/span><\/p>\n
\n\n<\/p>\n<\/p><\/div>\n<\/div>\n
\u56fe 9.2 \u2013 \u6ce2\u65af\u8bed\u548c\u571f\u8033\u5176\u8bed\u4e4b\u95f4\u7684\u8de8\u8bed\u8a00\u5173\u7cfb\u793a\u4f8b<\/span><\/span><\/p>\n
\u56e0\u6b64\uff0c\u6a21\u578b\u53ef\u4ee5\u5b66\u4e60\u8fd9\u4e9b\u542b\u4e49\u4e4b\u95f4\u7684\u6620\u5c04\u3002\u5c31\u50cf\u7ffb\u8bd1\u6a21\u578b\u4e00\u6837\uff0c\u6211\u4eec\u7684 TLM \u4e5f\u5fc5\u987b\u5b66\u4e60\u8bed\u8a00\u4e4b\u95f4\u7684\u8fd9\u4e9b\u590d\u6742\u6027\uff0c\u56e0\u4e3a\u673a\u5668\u7ffb\u8bd1<\/strong>( MT<\/strong> ) \u662f\u4e0d\u4ec5\u4ec5\u662f\u4ee4\u724c\u5230\u4ee4\u724c\u7684\u6620\u5c04\u3002<\/span><\/span><\/p>\n
XLM \u548c mBERT<\/span><\/span><\/h2>\n
\u6211\u4eec\u9009\u62e9\u4e86\u4e24\u4e2a\u6a21\u578b\u5728\u672c\u8282\u4e2d\u8fdb\u884c\u89e3\u91ca\uff1amBERT \u548c XLM\u3002\u6211\u4eec\u4e4b\u6240\u4ee5\u9009\u62e9\u8fd9\u4e9b\u6a21\u578b\uff0c\u662f\u56e0\u4e3a\u5b83\u4eec\u5bf9\u5e94\u4e8e\u64b0\u5199\u672c\u6587\u65f6\u7684\u4e24\u79cd\u6700\u4f73\u591a\u8bed\u8a00\u7c7b\u578b\u3002mBERT\u662f\u4f7f\u7528 MLM \u5728\u4e0d\u540c\u8bed\u8a00\u7684\u4e0d\u540c\u8bed\u6599\u5e93\u4e0a\u8bad\u7ec3\u7684\u591a\u8bed\u8a00\u6a21\u578b\u9020\u578b\u3002\u5b83\u53ef\u4ee5\u9488\u5bf9\u591a\u79cd\u8bed\u8a00\u5355\u72ec\u8fd0\u884c\u3002\u53e6\u4e00\u65b9\u9762\uff0cXLM \u4f7f\u7528 MLM\u3001CLM \u548c TLM \u8bed\u8a00\u5efa\u6a21\u5728\u4e0d\u540c\u7684\u8bed\u6599\u5e93\u4e0a\u8fdb\u884c\u8bad\u7ec3\uff0c\u5e76\u4e14\u53ef\u4ee5\u89e3\u51b3\u8de8\u8bed\u8a00\u4efb\u52a1\u3002\u4f8b\u5982\uff0c\u5b83\u53ef\u4ee5\u901a\u8fc7\u5c06\u4e24\u79cd\u4e0d\u540c\u8bed\u8a00\u7684\u53e5\u5b50\u6620\u5c04\u5230\u4e00\u4e2a\u516c\u5171\u5411\u91cf\u7a7a\u95f4\u6765\u6d4b\u91cf\u5b83\u4eec\u7684\u76f8\u4f3c\u6027\uff0c\u800c\u8fd9\u5bf9\u4e8e mBERT \u662f\u4e0d\u53ef\u80fd\u7684\u3002<\/span><\/span><\/p>\n
mBERT<\/span><\/span><\/h3>\n
\u4f60\u719f\u6089\u7684\u7b2c 3 \u7ae0\u4e2d\u7684 BERT \u81ea\u52a8\u7f16\u7801\u5668\u6a21\u578b\uff0c\u81ea\u52a8\u7f16\u7801\u8bed\u8a00\u6a21\u578b<\/em>\uff0c\u4ee5\u53ca\u5982\u4f55\u5728\u6307\u5b9a\u7684\u8bed\u6599\u5e93\u4e0a\u4f7f\u7528 MLM \u5bf9\u5176\u8fdb\u884c\u8bad\u7ec3\u3002\u60f3\u8c61\u4e00\u4e0b\u8fd9\u6837\u4e00\u79cd\u60c5\u51b5\uff0c\u4e0d\u662f\u4ece\u4e00\u79cd\u8bed\u8a00\u800c\u662f\u4ece 104 \u79cd\u8bed\u8a00\u63d0\u4f9b\u4e00\u4e2a\u5e7f\u6cdb\u800c\u5e9e\u5927\u7684\u8bed\u6599\u5e93\u3002\u5728\u8fd9\u6837\u7684\u8bed\u6599\u5e93\u4e0a\u8fdb\u884c\u8bad\u7ec3\u5c06\u4ea7\u751f\u591a\u8bed\u8a00\u7248\u672c\u7684 BERT\u3002\u7136\u800c\uff0c\u5728\u5982\u6b64\u5e7f\u6cdb\u7684\u8bed\u8a00\u4e0a\u8fdb\u884c\u8bad\u7ec3\u4f1a\u589e\u52a0\u6a21\u578b\u7684\u5927\u5c0f\uff0c\u8fd9\u5728 BERT \u7684\u60c5\u51b5\u4e0b\u662f\u4e0d\u53ef\u907f\u514d\u7684\u3002\u8bcd\u6c47\u91cf\u4f1a\u589e\u52a0\uff0c\u56e0\u6b64\uff0c\u7531\u4e8e\u8bcd\u6c47\u91cf\u66f4\u591a\uff0c\u5d4c\u5165\u5c42\u7684\u5927\u5c0f\u4f1a\u66f4\u5927\u3002<\/span><\/span><\/p>\n
\u4e0e\u5355\u8bed\u9884\u8bad\u7ec3\u7684 BERT \u76f8\u6bd4\uff0c\u8fd9\u4e2a\u65b0\u7248\u672c\u80fd\u591f\u5728\u5355\u4e2a\u6a21\u578b\u4e2d\u5904\u7406\u591a\u79cd\u8bed\u8a00\u3002\u7136\u800c\uff0c\u8fd9\u79cd\u5efa\u6a21\u7684\u7f3a\u70b9\u662f\u8fd9\u79cd\u6a21\u578b\u4e0d\u80fd\u5728\u8bed\u8a00\u4e4b\u95f4\u8fdb\u884c\u6620\u5c04\u3002\u8fd9\u610f\u5473\u7740\u8be5\u6a21\u578b\u5728\u9884\u8bad\u7ec3\u9636\u6bb5\u5e76\u6ca1\u6709\u5b66\u4e60\u4efb\u4f55\u5173\u4e8e\u8fd9\u4e9b\u6765\u81ea\u4e0d\u540c\u8bed\u8a00\u7684\u6807\u8bb0\u7684\u8bed\u4e49\u542b\u4e49\u4e4b\u95f4\u7684\u6620\u5c04\u3002\u4e3a\u4e86\u4e3a\u8be5\u6a21\u578b\u63d0\u4f9b\u8de8\u8bed\u8a00\u6620\u5c04\u548c\u7406\u89e3\uff0c\u6709\u5fc5\u8981\u5728\u4e00\u4e9b\u8de8\u8bed\u8a00\u76d1\u7763\u4efb\u52a1\u4e0a\u5bf9\u5176\u8fdb\u884c\u8bad\u7ec3\uff0c\u4f8b\u5982XNLI<\/strong>\u6570\u636e\u96c6\u4e2d\u53ef\u7528\u7684\u90a3\u4e9b\u3002<\/span><\/span><\/p>\n
\u4f7f\u7528\u6b64\u6a21\u578b\u5c31\u50cf\u4f7f\u7528\u60a8\u5728\u524d\u51e0\u7ae0\u4e2d\u4f7f\u7528\u7684\u6a21\u578b\u4e00\u6837\u7b80\u5355\uff08\u6709\u5173\u66f4\u591a\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605bert-base-multilingual-uncased \u00b7 Hugging Face\uff09\u3002\u8fd9\u662f\u60a8\u9700\u8981\u5f00\u59cb\u7684\u4ee3\u7801\uff1a<\/span><\/span><\/p>\n
from transformers import pipeline\n\nunmasker = pipeline('fill-mask', model='bert-base-multilingual-uncased')\n\nsentences = [\n\"Transformers changed the [MASK] language processing\",\n\"Transformerlar [MASK] dil i\u015flemeyi de\u011fi\u015ftirdiler\",\n\"\u062a\u0631\u0646\u0633\u0641\u0631\u0645\u0631\u0647\u0627 \u067e\u0631\u062f\u0627\u0632\u0634 \u0632\u0628\u0627\u0646 [MASK] \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f\u0646\u062f\"\n]\n\nfor sentence in sentences:\n print(sentence)\n print(unmasker(sentence)[0][\"sequence\"])\n print(\"=\"*50)<\/code><\/pre>\n
\u7136\u540e\u8f93\u51fa\u5c06\u662f\u5448\u73b0\uff0c\u5982\u4ee5\u4e0b\u4ee3\u7801\u7247\u6bb5\u6240\u793a\uff1a<\/span><\/span><\/p>\n
Transformers changed the [MASK] language processing\ntransformers changed the english language processing\n==================================================\nTransformerlar [MASK] dil i\u015flemeyi de\u011fi\u015ftirdiler\ntransformerlar bu dil islemeyi degistirdiler\n==================================================\n\u062a\u0631\u0646\u0633\u0641\u0631\u0645\u0631\u0647\u0627 \u067e\u0631\u062f\u0627\u0632\u0634 \u0632\u0628\u0627\u0646 [MASK] \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f\u0646\u062f\n\u062a\u0631\u0646\u0633\u0641\u0631\u0645\u0631\u0647\u0627 \u067e\u0631\u062f\u0627\u0632\u0634 \u0632\u0628\u0627\u0646\u06cc \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f\u0646\u062f\n==================================================<\/code><\/pre>\n
\u5982\u60a8\u6240\u89c1\uff0c\u5b83\u53ef\u4ee5\u4e3a\u5404\u79cd\u8bed\u8a00\u6267\u884c\u586b\u5145\u63a9\u7801<\/strong>\u3002<\/span><\/span><\/p>\n
XLM<\/span><\/span><\/h3>\n
\u8de8\u8bed\u8a00\u9884\u8bad\u7ec3\u8bed\u8a00\u6a21\u578b\u7684\u6570\u91cf\uff0c\u4f8b\u5982 XLM \u65b9\u6cd5\u6240\u793a\u7684\u6a21\u578b\uff0c\u662f\u57fa\u4e8e\u4e09\u4e2a\u4e0d\u540c\u7684\u9884\u8bad\u7ec3\u76ee\u6807\u3002MLM\u3001CLM \u548c TLM \u7528\u4e8e\u9884\u8bad\u7ec3 XLM \u6a21\u578b\u3002\u8fd9\u79cd\u9884\u8bad\u7ec3\u7684\u987a\u5e8f\u662f\u4f7f\u7528\u6240\u6709\u8bed\u8a00\u4e4b\u95f4\u7684\u5171\u4eab BPE \u6807\u8bb0\u5668\u6267\u884c\u7684\u3002\u5171\u4eab\u6807\u8bb0\u7684\u539f\u56e0\u662f\u5171\u4eab\u6807\u8bb0\u5728\u5177\u6709\u76f8\u4f3c\u6807\u8bb0\u6216\u5b50\u8bcd\u7684\u8bed\u8a00\u7684\u60c5\u51b5\u4e0b\u63d0\u4f9b\u7684\u6807\u8bb0\u8f83\u5c11\uff0c\u53e6\u4e00\u65b9\u9762\uff0c\u8fd9\u4e9b\u6807\u8bb0\u53ef\u4ee5\u5728\u9884\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u63d0\u4f9b\u5171\u4eab\u8bed\u4e49\u3002\u4f8b\u5982\uff0c\u4e00\u4e9b\u6807\u8bb0\u5728\u8bb8\u591a\u8bed\u8a00\u4e2d\u5177\u6709\u975e\u5e38\u76f8\u4f3c\u7684\u4e66\u5199\u548c\u542b\u4e49\uff0c\u56e0\u6b64\uff0c\u8fd9\u4e9b\u6807\u8bb0\u7531 BPE \u4e3a\u6240\u6709\u4eba\u5171\u4eab\u3002\u53e6\u4e00\u65b9\u9762\uff0c\u4e00\u4e9b\u5728\u4e0d\u540c\u8bed\u8a00\u4e2d\u62fc\u5199\u76f8\u540c\u7684\u6807\u8bb0\u53ef\u80fd\u6709\u4e0d\u540c\u7684\u542b\u4e49\u2014\u2014\u4f8b\u5982\uff0c<\/em>\u5728\u5fb7\u8bed\u548c\u82f1\u8bed\u73af\u5883\u4e2d\u5171\u4eab\u3002\u5e78\u8fd0\u7684\u662f<\/em>\uff0c\u81ea\u6211\u6ce8\u610f\u673a\u5236\u5e2e\u52a9\u6211\u4eec\u6d88\u9664\u4f7f\u7528\u5468\u56f4\u4e0a\u4e0b\u6587\u7684\u542b\u4e49\u3002<\/span><\/span><\/p>\n
\u53e6\u4e00\u4e2a\u91cd\u5927\u6539\u8fdb\u8de8\u8bed\u8a00\u5efa\u6a21\u7684\u7279\u70b9\u662f\u5b83\u4e5f\u5728 CLM \u4e0a\u8fdb\u884c\u4e86\u9884\u8bad\u7ec3\uff0c\u8fd9\u4f7f\u5f97\u5b83\u5bf9\u4e8e\u9700\u8981\u53e5\u5b50\u9884\u6d4b\u6216\u5b8c\u6210\u7684\u63a8\u7406\u66f4\u52a0\u5408\u7406\u3002\u6362\u53e5\u8bdd\u8bf4\uff0c\u8fd9\u4e2a\u6a21\u578b\u5bf9\u8bed\u8a00\u6709\u7406\u89e3\uff0c\u80fd\u591f\u5b8c\u6210\u53e5\u5b50\uff0c\u9884\u6d4b\u4e22\u5931\u7684token\uff0c\u4ee5\u53ca\u4f7f\u7528\u5176\u4ed6\u8bed\u8a00\u6e90\u9884\u6d4b\u4e22\u5931\u7684token\u3002<\/span><\/span><\/p>\n
\u4e0b\u56fe\u5c55\u793a\u4e86\u8de8\u8bed\u8a00\u5efa\u6a21\u7684\u6574\u4f53\u7ed3\u6784\u3002\u60a8\u53ef\u4ee5\u5728https:\/\/arxiv.org\/pdf\/1901.07291.pdf\u9605\u8bfb\u66f4\u591a\u5185\u5bb9\uff1a<\/span><\/span><\/p>\n
\n\n <\/span><\/span><\/span><\/span>\n <\/div>\n<\/div>\n\u56fe 9.3 \u2013 \u8de8\u8bed\u8a00\u5efa\u6a21\u7684 MLM \u548c TLM \u9884\u8bad\u7ec3<\/span><\/span><\/p>\n
\u8fd8\u53d1\u5e03\u4e86\u66f4\u65b0\u7248\u672c\u7684 XLM \u6a21\u578b\u5982XLM-R<\/strong>\uff0c\u5b83\u5728\u8bad\u7ec3\u548c\u4f7f\u7528\u7684\u8bed\u6599\u5e93\u4e0a\u6709\u5fae\u5c0f\u7684\u53d8\u5316\u3002XLM-R \u4e0e XLM \u6a21\u578b\u76f8\u540c\uff0c\u4f46\u63a5\u53d7\u4e86\u66f4\u591a\u8bed\u8a00\u548c\u66f4\u5927\u7684\u8bad\u7ec3\u8bed\u6599\u5e93\u3002\u805a\u5408 CommonCrawl<\/strong>\u548cWikipedia\u8bed\u6599\u5e93<\/strong>\uff0c\u5e76\u5728\u5176\u4e0a\u8bad\u7ec3 XLM-R \u8fdb\u884c MLM\u3002\u4f46\u662f\uff0c\u4e5f\u4f7f\u7528\u4e86 XNLI \u6570\u636e\u96c6\u5bf9\u4e8e TLM\u3002\u4e0b\u56fe\u663e\u793a\u4e86 XLM-R \u9884\u8bad\u7ec3\u4f7f\u7528\u7684\u6570\u636e\u91cf\uff1a<\/span><\/span><\/p>\n
\n\n \n <\/div>\n<\/p>\n<\/div>\n\u56fe 9.4 \u2013 \u4ee5\u5343\u5146\u5b57\u8282 (GB) \u4e3a\u5355\u4f4d\u7684\u6570\u636e\u91cf\uff08\u5bf9\u6570\u523b\u5ea6\uff09<\/span><\/span><\/p>\n
\u4e3a\u8bad\u7ec3\u6570\u636e\u6dfb\u52a0\u65b0\u8bed\u8a00\u65f6\u6709\u5f88\u591a\u597d\u5904\u548c\u574f\u5904\u2014\u2014\u4f8b\u5982\uff0c\u6dfb\u52a0\u65b0\u8bed\u8a00\u8bed\u8a00\u53ef\u80fd\u5e76\u4e0d\u603b\u80fd\u6539\u5584\u81ea\u7136\u8bed\u8a00\u63a8\u7406<\/strong>( NLI<\/strong> ) \u7684\u6574\u4f53\u6a21\u578b\u3002XNLI\u6570\u636e\u96c6<\/strong>\u662f\u901a\u5e38\u7528\u4e8e\u591a\u8bed\u8a00\u548c\u8de8\u8bed\u8a00 NLI\u3002\u4ece\u524d\u9762\u7684\u7ae0\u8282\u4e2d\uff0c\u4f60\u5df2\u7ecf\u770b\u5230\u82f1\u8bed\u7684Multi-Genre<\/strong> NLI ( MNLI<\/strong> ) \u6570\u636e\u96c6\uff1bXNLI \u6570\u636e\u96c6\u4e0e\u5b83\u51e0\u4e4e\u76f8\u540c\uff0c\u4f46\u6709\u66f4\u591a\u7684\u8bed\u8a00\uff0c\u5b83\u4e5f\u6709\u53e5\u5b50\u5bf9\u3002\u4f46\u662f\uff0c\u4ec5\u9488\u5bf9\u6b64\u4efb\u52a1\u8fdb\u884c\u8bad\u7ec3\u662f\u4e0d\u591f\u7684\uff0c\u5e76\u4e14\u4e0d\u4f1a\u6db5\u76d6 TLM \u9884\u8bad\u7ec3\u3002\u5bf9\u4e8e TLM \u9884\u8bad\u7ec3\uff0c\u66f4\u5e7f\u6cdb\u7684\u6570\u636e\u96c6\uff0c\u4f8b\u5982\u5e76\u884c\u4f7f\u7528\u4e86OPUS<\/strong>\u7684\u8bed\u6599\u5e93\uff08 Open Source Parallel Corpus<\/strong>\u7684\u7f29\u5199\uff09\u3002\u8be5\u6570\u636e\u96c6\u5305\u542b\u6765\u81ea\u4e0d\u540c\u8bed\u8a00\u7684\u5b57\u5e55\uff0c\u7ecf\u8fc7\u5bf9\u9f50\u548c\u6e05\u7406\uff0c\u7ffb\u8bd1\u7531\u8bb8\u591a\u8f6f\u4ef6\u6e90\uff08\u5982 Ubuntu \u7b49\uff09\u63d0\u4f9b\u3002<\/span><\/span><\/p>\n
\u4ee5\u4e0b\u5c4f\u5e55\u622a\u56fe\u663e\u793a\u4e86 OPUS ( OPUS ) \u53ca\u5176\u7528\u4e8e\u641c\u7d22\u548c\u83b7\u53d6\u6709\u5173\u6570\u636e\u96c6\u7684\u4fe1\u606f\u7684\u7ec4\u4ef6\uff1a<\/span><\/span><\/p>\n
\n\n \n <\/div>\n<\/p>\n<\/div>\n\u56fe 9.5 \u2013 \u5de5\u4f5c<\/span><\/span><\/p>\n
\u4f7f\u7528\u8de8\u8bed\u8a00\u6a21\u578b\u7684\u6b65\u9aa4\u5728\u8fd9\u91cc\u63cf\u8ff0\uff1a<\/span><\/span><\/p>\n
\n
- \u5bf9\u524d\u9762\u4ee3\u7801\u7684\u7b80\u5355\u66f4\u6539\u53ef\u4ee5\u5411\u60a8\u5c55\u793a XLM-R \u5982\u4f55\u6267\u884c\u63a9\u7801\u586b\u5145\u3002\u9996\u5148\uff0c\u60a8\u5fc5\u987b\u66f4\u6539\u6a21\u578b\uff0c\u5982\u4e0b\u6240\u793a\uff1a\n
unmasker = pipeline('fill-mask', model='xlm-roberta-base')<\/code><\/pre>\n<\/li>\n
- \u4e4b\u540e\uff0c\u60a8\u9700\u8981\u5c06\u63a9\u7801\u6807\u8bb0\u4ece[MASK]<\/strong>\u66f4\u6539\u4e3a<mask><\/strong>\uff0c\u8fd9\u662f XLM-R \u7684\u7279\u6b8a\u6807\u8bb0\uff08\u6216\u7b80\u5355\u5730\u8c03\u7528tokenizer.mask_token<\/strong>\uff09\u3002\u8fd9\u662f\u5b8c\u6210\u6b64\u64cd\u4f5c\u7684\u4ee3\u7801\uff1a\n
sentences = [\n\"Transformers changed the <mask> language processing\",\n\"Transformerlar <mask> dil i\u015flemeyi de\u011fi\u015ftirdiler\",\n\"\u062a\u0631\u0646\u0633\u0641\u0631\u0645\u0631\u0647\u0627 \u067e\u0631\u062f\u0627\u0632\u0634 \u0632\u0628\u0627\u0646 <mask\" \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f\u0646\u062f\n]<\/code><\/pre>\n<\/li>\n
- \u7136\u540e\uff0c\u60a8\u53ef\u4ee5\u8fd0\u884c\u76f8\u540c\u7684\u4ee3\u7801\uff0c\u5982\u4e0b\u6240\u793a\uff1a\n
for sentence in sentences:\n print(sentence)\n print(unmasker(sentence)[0][\"sequence\"])\n print(\"=\"*50)<\/code><\/pre>\n<\/li>\n
- \u7ed3\u679c\u5c06\u51fa\u73b0\uff0c\u50cf\u8fd9\u6837\uff1a\n
Transformers changed the <mask> language processing\nTransformers changed the human language processing\n==================================================\nTransformerlar <mask> dil i\u015flemeyi de\u011fi\u015ftirdiler\nTransformerlar, dil i\u015flemeyi de\u011fi\u015ftirdiler\n================================================== \n\u062a\u0631\u0646\u0633\u0641\u0631\u0645\u0631\u0647\u0627 \u067e\u0631\u062f\u0627\u0632\u0634 \u0632\u0628\u0627\u0646 [MASK] \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f\u0646\u062f\n\u062a\u0631\u0646\u0633\u0641\u0631\u0645\u0631\u0647\u0627 \u067e\u0631\u062f\u0627\u0632\u0634 \u0632\u0628\u0627\u0646\u06cc \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f\u0646\u062f\n==================================================<\/code><\/pre>\n<\/li>\n
- \u4f46\u6b63\u5982\u4f60\u4ece\u571f\u8033\u5176\u8bed\u548c\u6ce2\u65af\u8bed\u7684\u4f8b\u5b50\u4e2d\u770b\u5230\u7684\u90a3\u6837\uff0c\u8be5\u6a21\u578b\u4ecd\u7136\u72af\u4e86\u9519\u8bef\u3002\u4f8b\u5982\uff0c\u5728\u6ce2\u65af\u8bed\u6587\u672c\u4e2d\uff0c\u5b83\u53ea\u662f\u6dfb\u52a0\u4e86\u06cc<\/strong>\uff0c\u800c\u5728\u571f\u8033\u5176\u8bed\u6587\u672c\u4e2d\uff0c\u5b83\u6dfb\u52a0\u4e86,<\/strong>\u3002\u5bf9\u4e8e\u82f1\u6587\u53e5\u5b50\uff0c\u5b83\u6dfb\u52a0\u4e86human<\/strong>\uff0c\u8fd9\u4e0d\u662f\u9884\u671f\u7684\u3002\u53e5\u5b50\u6ca1\u6709\u9519\uff0c\u4f46\u4e0d\u662f\u6211\u4eec\u6240\u671f\u671b\u7684\u3002\u4f46\u662f\uff0c\u8fd9\u4e00\u6b21\uff0c\u6211\u4eec\u6709\u4e00\u4e2a\u4f7f\u7528 TLM \u8bad\u7ec3\u7684\u8de8\u8bed\u8a00\u6a21\u578b\uff1b\u6240\u4ee5\uff0c\u8ba9\u6211\u4eec\u901a\u8fc7\u8fde\u63a5\u4e24\u4e2a\u53e5\u5b50\u5e76\u7ed9\u6a21\u578b\u4e00\u4e9b\u989d\u5916\u7684\u63d0\u793a\u6765\u4f7f\u7528\u5b83\u3002\u5f00\u59cb\u4e86\uff1a\n
print(unmasker(\"Transformers changed the natural language processing. <\/s> Transformerlar <mask> dil i\u015flemeyi de\u011fi\u015ftirdiler.\")[0][\"sequence\"])<\/code><\/pre>\n<\/li>\n
- \u7ed3\u679c\u5c06\u663e\u793a\u5982\u4e0b\uff1a\n
Transformers changed the natural language processing. Transformerlar do\u011fal dil i\u015flemeyi de\u011fi\u015ftirdiler.<\/p>\n<\/li>\n
- \u800c\u5df2\uff01\u8fd9\u6a21\u578b\u73b0\u5728\u505a\u51fa\u4e86\u6b63\u786e\u7684\u9009\u62e9\u3002\u8ba9\u6211\u4eec\u591a\u73a9\u4e00\u70b9\uff0c\u770b\u770b\u5b83\u7684\u8868\u73b0\u5982\u4f55\uff0c\u5982\u4e0b\uff1a\n