{"id":4066,"date":"2024-07-10T14:18:54","date_gmt":"2024-07-10T06:18:54","guid":{"rendered":"https:\/\/nullthought.net\/?p=4066"},"modified":"2024-08-26T13:16:19","modified_gmt":"2024-08-26T05:16:19","slug":"lora%e5%92%8clora%e4%b8%8d%e4%b8%80%e6%a0%b7%ef%bc%8c%e5%88%ab%e6%90%9e%e9%94%99%e4%ba%86","status":"publish","type":"post","link":"https:\/\/nullthought.net\/?p=4066","title":{"rendered":"LoRA\u548cLoRa\u4e0d\u4e00\u6837\uff0c\u522b\u641e\u9519\u4e86"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">\u4e00\u3001<strong>LoRA\uff08Low-Rank Adaptation\uff09<\/strong><\/h4>\n\n\n\n<p>LoRA\uff08Low-Rank Adaptation\uff09\u662f\u4e00\u79cd\u5728\u673a\u5668\u5b66\u4e60\u548c\u6df1\u5ea6\u5b66\u4e60\u9886\u57df\u4f7f\u7528\u7684\u6280\u672f\uff0c\u4e3b\u8981\u7528\u4e8e\u5728\u5927\u89c4\u6a21\u9884\u8bad\u7ec3\u6a21\u578b\uff08\u5982BERT\u3001GPT\u7b49\uff09\u4e0a\u8fdb\u884c\u9ad8\u6548\u7684\u53c2\u6570\u5fae\u8c03\u3002LoRA\u7684\u6838\u5fc3\u601d\u60f3\u662f\u901a\u8fc7\u9650\u5236\u6a21\u578b\u53c2\u6570\u7684\u53d8\u5316\u8303\u56f4\u6765\u51cf\u5c11\u5fae\u8c03\u6240\u9700\u7684\u8ba1\u7b97\u8d44\u6e90\u548c\u5b58\u50a8\u9700\u6c42\uff0c\u540c\u65f6\u4fdd\u6301\u6a21\u578b\u7684\u6027\u80fd\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u662fLoRA\u7684\u4e3b\u8981\u539f\u7406\u548c\u4f18\u70b9\uff1a<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u539f\u7406<\/h5>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u4f4e\u79e9\u77e9\u9635\u5206\u89e3<\/strong>\uff1a LoRA\u5047\u8bbe\u9884\u8bad\u7ec3\u6a21\u578b\u7684\u6743\u91cd\u77e9\u9635\u53d8\u5316\u53ef\u4ee5\u8fd1\u4f3c\u4e3a\u4e24\u4e2a\u4f4e\u79e9\u77e9\u9635\u7684\u4e58\u79ef\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u5bf9\u4e8e\u4e00\u4e2a\u6743\u91cd\u77e9\u9635W\uff0cLoRA\u5c06\u5176\u53d8\u5316\u0394W\u8868\u793a\u4e3a\u0394W = A * B\uff0c\u5176\u4e2dA\u548cB\u662f\u4f4e\u79e9\u77e9\u9635\u3002\u901a\u8fc7\u8fd9\u79cd\u5206\u89e3\uff0c\u53c2\u6570\u66f4\u65b0\u7684\u6570\u91cf\u663e\u8457\u51cf\u5c11\u3002<\/li>\n\n\n\n<li><strong>\u51bb\u7ed3\u90e8\u5206\u6743\u91cd<\/strong>\uff1a \u5728\u5fae\u8c03\u8fc7\u7a0b\u4e2d\uff0cLoRA\u901a\u5e38\u4f1a\u51bb\u7ed3\u9884\u8bad\u7ec3\u6a21\u578b\u7684\u5927\u90e8\u5206\u53c2\u6570\uff0c\u53ea\u5141\u8bb8\u4f4e\u79e9\u77e9\u9635A\u548cB\u8fdb\u884c\u66f4\u65b0\u3002\u8fd9\u79cd\u65b9\u6cd5\u51cf\u5c11\u4e86\u9700\u8981\u8bad\u7ec3\u7684\u53c2\u6570\u6570\u91cf\uff0c\u4ece\u800c\u964d\u4f4e\u4e86\u8ba1\u7b97\u548c\u5b58\u50a8\u7684\u9700\u6c42\u3002<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">\u4f18\u70b9<\/h5>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u9ad8\u6548\u6027<\/strong>\uff1a \u7531\u4e8e\u53ea\u66f4\u65b0\u4f4e\u79e9\u77e9\u9635A\u548cB\uff0cLoRA\u663e\u8457\u51cf\u5c11\u4e86\u8bad\u7ec3\u6240\u9700\u7684\u8ba1\u7b97\u8d44\u6e90\u548c\u5b58\u50a8\u7a7a\u95f4\u3002\u8fd9\u5bf9\u4e8e\u8d44\u6e90\u6709\u9650\u7684\u5e94\u7528\u573a\u666f\u975e\u5e38\u6709\u5229\u3002<\/li>\n\n\n\n<li><strong>\u6027\u80fd\u4fdd\u6301<\/strong>\uff1a \u5c3d\u7ba1LoRA\u51cf\u5c11\u4e86\u53c2\u6570\u66f4\u65b0\u7684\u6570\u91cf\uff0c\u4f46\u5176\u6027\u80fd\u901a\u5e38\u4e0e\u5168\u53c2\u6570\u5fae\u8c03\u76f8\u5f53\u3002\u8fd9\u610f\u5473\u7740\u5728\u4fdd\u6301\u6a21\u578b\u6027\u80fd\u7684\u540c\u65f6\uff0cLoRA\u5b9e\u73b0\u4e86\u66f4\u9ad8\u7684\u8bad\u7ec3\u6548\u7387\u3002<\/li>\n\n\n\n<li><strong>\u9002\u7528\u6027\u5e7f<\/strong>\uff1a LoRA\u9002\u7528\u4e8e\u5404\u79cd\u9884\u8bad\u7ec3\u6a21\u578b\uff0c\u5305\u62ec\u81ea\u7136\u8bed\u8a00\u5904\u7406\uff08NLP\uff09\u3001\u8ba1\u7b97\u673a\u89c6\u89c9\uff08CV\uff09\u7b49\u9886\u57df\u7684\u6a21\u578b\uff0c\u4f7f\u5f97\u5b83\u6210\u4e3a\u4e00\u79cd\u901a\u7528\u7684\u5fae\u8c03\u65b9\u6cd5\u3002<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">\u5e94\u7528\u573a\u666f<\/h5>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u81ea\u7136\u8bed\u8a00\u5904\u7406<\/strong>\uff1a \u5728NLP\u4efb\u52a1\u4e2d\uff0cLoRA\u53ef\u4ee5\u7528\u4e8e\u5927\u89c4\u6a21\u8bed\u8a00\u6a21\u578b\u7684\u5fae\u8c03\uff0c\u5982BERT\u3001GPT\u7b49\uff0c\u4ee5\u9002\u5e94\u7279\u5b9a\u7684\u4efb\u52a1\u9700\u6c42\uff08\u5982\u60c5\u611f\u5206\u6790\u3001\u95ee\u7b54\u7cfb\u7edf\u7b49\uff09\u3002<\/li>\n\n\n\n<li><strong>\u8ba1\u7b97\u673a\u89c6\u89c9<\/strong>\uff1a \u5728CV\u4efb\u52a1\u4e2d\uff0cLoRA\u53ef\u4ee5\u7528\u4e8e\u5fae\u8c03\u9884\u8bad\u7ec3\u7684\u5377\u79ef\u795e\u7ecf\u7f51\u7edc\uff08CNN\uff09\uff0c\u4ee5\u9002\u5e94\u7279\u5b9a\u7684\u56fe\u50cf\u5206\u7c7b\u6216\u76ee\u6807\u68c0\u6d4b\u4efb\u52a1\u3002<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">\u603b\u7ed3<\/h5>\n\n\n\n<p>LoRA\u901a\u8fc7\u4f4e\u79e9\u77e9\u9635\u5206\u89e3\u548c\u51bb\u7ed3\u5927\u90e8\u5206\u6743\u91cd\uff0c\u5b9e\u73b0\u4e86\u5927\u89c4\u6a21\u9884\u8bad\u7ec3\u6a21\u578b\u7684\u9ad8\u6548\u5fae\u8c03\u3002\u8fd9\u79cd\u65b9\u6cd5\u5728\u4fdd\u6301\u6a21\u578b\u6027\u80fd\u7684\u540c\u65f6\uff0c\u5927\u5927\u51cf\u5c11\u4e86\u8ba1\u7b97\u548c\u5b58\u50a8\u9700\u6c42\uff0c\u9002\u7528\u4e8e\u5404\u79cd\u9884\u8bad\u7ec3\u6a21\u578b\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u4e8c\u3001LoRa\uff08Long Range\uff09<\/strong><\/h4>\n\n\n\n<p><a href=\"https:\/\/zh.wikipedia.org\/wiki\/LoRa\" target=\"_blank\" rel=\"noreferrer noopener\">LoRa\uff08Long Range\uff09<\/a>\u662fSemtech\u5f00\u53d1\u7684\u4f4e\u529f\u8017\u5e7f\u57df\u7f51\uff08LPWAN\uff09\u901a\u4fe1\u6280\u672f\uff0c\u662f\u4f9dchirp\u5c55\u9891\uff08CSS\uff09\u6280\u672f\u884d\u751f\u7684\u5c55\u9891\u8c03\u53d8\u6280\u672f\u4e3a\u57fa\u7840\u3002\u662f\u7531\u6cd5\u56fd\u683c\u52d2\u8bfa\u5e03\u5c14\u7684Cycleo\u516c\u53f8\u6240\u53d1\u5c55\uff0c\u540e\u6765\u88abLoRa Alliance\u7684\u521b\u7acb\u6210\u5458Semtech\u6240\u6536\u8d2d\u3002<\/p>\n\n\n\n<p>LoRa\u4f7f\u7528\u4e13\u7528\u7684\u5c55\u9891\u8c03\u53d8\u6280\u672f\uff0c\u7c7b\u4f3cchirp\u5c55\u9891\u7684\u6269\u5c55\u3002\u5c55\u9891LoRa\u8c03\u53d8\u7684\u505a\u6cd5\u662f\u5c06\u916c\u8f7d\u7684\u6bcf\u4e00\u4e2a\u4f4d\u5143\u7528\u591a\u4e2achirp\u8d44\u8baf\u6765\u8868\u793a\u3002LoRa\u5b9a\u4e49\u4e86\u901a\u8baf\u6808\u4e2d\u8f83\u4f4e\u7684\u7269\u7406\u5c42\uff0c\u6ca1\u6709\u5b9a\u4e49\u4e0a\u5c42\u7684\u7f51\u7edc\u534f\u5b9a\u3002\u6709\u8bb8\u591a\u534f\u5b9a\u53ef\u4ee5\u5b9a\u4e49LoRa\u4e0a\u5c42\u7684\u7f51\u7edc\u534f\u5b9a\uff0cLoRaWAN\uff08long range wide-area network\uff09\u5c31\u662f\u5176\u4e2d\u4e4b\u4e00\u3002LoRaWAN\u662f\u4ee5\u4e91\u4e3a\u57fa\u7840\u7684\u4ecb\u8d28\u8bbf\u95ee\u63a7\u5236\uff08MAC\uff09\u5c42\u534f\u5b9a\uff0c\u4f46\u5176\u4f5c\u7528\u7c7b\u4f3c\u7f51\u7edc\u5c42\uff0c\u7ba1\u7406LPWAN\u7f51\u5173\u548c\u7ec8\u7aef\u8282\u70b9\u4e4b\u95f4\u7684\u901a\u8baf\uff0c\u7c7b\u4f3c\u8def\u7531\u534f\u5b9a\uff0c\u7531LoRa\u8054\u76df\u7ef4\u62a4\u3002<\/p>\n\n\n\n<p>LoRa\u4f7f\u7528\u514d\u8bb8\u53ef\u7684\u65e0\u7ebf\u7535\u9891\u6bb5\uff08\u5982868 MHz\u548c915 MHz\uff09\uff0c\u63d0\u4f9b\u957f\u8ddd\u79bb\u3001\u4f4e\u529f\u8017\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e3b\u8981\u7279\u70b9\uff1a<\/h5>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u957f\u8ddd\u79bb\u4f20\u8f93<\/strong>\uff1aLoRa\u53ef\u4ee5\u5728\u4f4e\u529f\u8017\u4e0b\u5b9e\u73b0\u957f\u8ddd\u79bb\u6570\u636e\u4f20\u8f93\uff0c\u901a\u5e38\u53ef\u4ee5\u8fbe\u5230\u6570\u516c\u91cc\u3002<\/li>\n\n\n\n<li><strong>\u4f4e\u529f\u8017<\/strong>\uff1a\u9002\u7528\u4e8e\u7535\u6c60\u4f9b\u7535\u7684\u8bbe\u5907\uff0c\u80fd\u591f\u5ef6\u957f\u8bbe\u5907\u7684\u4f7f\u7528\u5bff\u547d\u3002<\/li>\n\n\n\n<li><strong>\u4f4e\u6570\u636e\u901f\u7387<\/strong>\uff1a\u9002\u7528\u4e8e\u9700\u8981\u53d1\u9001\u5c11\u91cf\u6570\u636e\u7684\u5e94\u7528\u573a\u666f\uff0c\u5982\u4f20\u611f\u5668\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>\u514d\u8bb8\u53ef\u9891\u6bb5<\/strong>\uff1a\u4f7f\u7528ISM\u9891\u6bb5\uff08\u5982868 MHz\u548c915 MHz\uff09\uff0c\u65e0\u9700\u9891\u8c31\u8bb8\u53ef\u3002<\/li>\n\n\n\n<li><strong>\u7f51\u7edc\u67b6\u6784<\/strong>\uff1a\u901a\u5e38\u4e0eLoRaWAN\u534f\u8bae\u7ed3\u5408\u4f7f\u7528\uff0cLoRaWAN\u662f\u4e00\u79cd\u9488\u5bf9LoRa\u7684\u7f51\u7edc\u534f\u8bae\uff0c\u652f\u6301\u8bbe\u5907\u95f4\u7684\u53cc\u5411\u901a\u4fe1\u548c\u5927\u89c4\u6a21\u7269\u8054\u7f51\u7f51\u7edc\u90e8\u7f72\u3002<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">\u5e94\u7528\uff1a<\/h5>\n\n\n\n<p>LoRa\u4e3b\u8981\u5e94\u7528\u4e8e\u7269\u8054\u7f51\u9886\u57df\uff0c\u4f8b\u5982\u667a\u80fd\u57ce\u5e02\u3001\u667a\u80fd\u519c\u4e1a\u3001\u73af\u5883\u76d1\u6d4b\u548c\u5de5\u4e1a\u81ea\u52a8\u5316\u7b49\uff0c\u9700\u8981\u8fdc\u7a0b\u76d1\u63a7\u548c\u6570\u636e\u6536\u96c6\u7684\u573a\u666f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001LoRA\uff08Low-Rank Adaptation\uff09 LoRA\uff08Low-Rank Adaptation\uff09\u662f\u4e00 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[8],"tags":[39,71,40],"class_list":["post-4066","post","type-post","status-publish","format-standard","hentry","category-tech","tag-ai","tag-physics","tag-iot"],"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"NullThought","author_link":"https:\/\/nullthought.net\/?author=1"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/nullthought.net\/?cat=8\" rel=\"category\">Tech<\/a>","rttpg_excerpt":"\u4e00\u3001LoRA\uff08Low-Rank Adaptation\uff09 LoRA\uff08Low-Rank Adaptation\uff09\u662f\u4e00&hellip;","_links":{"self":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/4066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4066"}],"version-history":[{"count":2,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/4066\/revisions"}],"predecessor-version":[{"id":4069,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/4066\/revisions\/4069"}],"wp:attachment":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}