{"id":99271,"date":"2024-11-16T23:26:20","date_gmt":"2024-11-16T15:26:20","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=99271"},"modified":"2024-11-16T23:26:24","modified_gmt":"2024-11-16T15:26:24","slug":"lmxssmzmy","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/99271.html","title":{"rendered":"LoRA\u6a21\u578b\u662f\u4ec0\u4e48,\u600e\u4e48\u7528\uff1f"},"content":{"rendered":"\n

\u3000\u3000LoRA<\/strong>(Low-Rank Adaptation of Large Language Models)\u662f\u4e00\u79cd\u7531\u5fae\u8f6f\u7814\u7a76\u4eba\u5458\u5f00\u53d1\u7684\u6280\u672f\uff0c\u65e8\u5728\u89e3\u51b3\u5927\u8bed\u8a00\u6a21\u578b\u5fae\u8c03\u7684\u95ee\u9898\u3002LoRA\u7684\u6838\u5fc3\u601d\u60f3\u662f\u5728\u9884\u8bad\u7ec3\u6a21\u578b\u7684\u57fa\u7840\u4e0a\u6ce8\u5165\u53ef\u8bad\u7ec3\u7684\u4f4e\u79e9\u77e9\u9635\uff0c\u4ece\u800c\u5b9e\u73b0\u5bf9\u6a21\u578b\u7684\u5feb\u901f\u4e14\u9ad8\u6548\u7684\u5fae\u8c03\uff0c\u540c\u65f6\u4fdd\u6301\u4e0e\u5168\u6a21\u578b\u5fae\u8c03\u76f8\u5f53\u7684\u6548\u679c\u3002<\/p>\n\n\n\n

\u3000\u3000LoRA\u6a21\u578b\u901a\u5e38\u7528\u4e8eStable Diffusion\u7b49\u751f\u6210\u6a21\u578b\u4e2d\uff0c\u901a\u8fc7\u5bf9\u5173\u952e\u5c42\u5982\u4ea4\u53c9\u6ce8\u610f\u529b\u5c42\u8fdb\u884c\u5c0f\u89c4\u6a21\u4fee\u6539\u6765\u5b9e\u73b0\u98ce\u683c\u6539\u53d8\u3002LoRA\u6a21\u578b\u7684\u6587\u4ef6\u5927\u5c0f\u901a\u5e38\u6bd4\u6807\u51c6\u7684checkpoint\u6a21\u578b\u5c0f10\u5230100\u500d\uff0c\u8fd9\u4f7f\u5f97\u5b83\u4eec\u5728\u5b58\u50a8\u548c\u4f7f\u7528\u4e0a\u66f4\u4e3a\u4fbf\u6377\u3002LoRA\u6a21\u578b\u4e0d\u80fd\u72ec\u7acb\u8fd0\u884c\uff0c\u5fc5\u987b\u4e0e\u5927\u6a21\u578b\u7ed3\u5408\u4f7f\u7528\uff0c\u901a\u8fc7\u5728\u63d0\u793a\u8bcd\u4e2d\u6dfb\u52a0\u7279\u5b9a\u8bed\u6cd5\u6765\u8c03\u7528LoRA\u6a21\u578b\u3002<\/p>\n\n\n\n

\u3000\u3000\u4f7f\u7528LoRA\u6a21\u578b\u7684\u57fa\u672c\u6b65\u9aa4\u5305\u62ec\uff1a<\/p>\n\n\n\n