{"id":459170,"date":"2025-05-11T15:00:11","date_gmt":"2025-05-11T15:00:11","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=459170"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=459170","title":{"rendered":"<span>\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0438 LegoGPT \u2014 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0441\u0445\u0435\u043c\u044b \u0441\u0431\u043e\u0440\u043a\u0438 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0438\u0437 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 Lego<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u041a\u0430\u0440\u043d\u0435\u0433\u0438 \u2014 \u041c\u0435\u043b\u043b\u043e\u043d\u0430 <a href=\"https:\/\/avalovelace1.github.io\/LegoGPT\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0438<\/a> \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c LegoGPT, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0441\u0445\u0435\u043c\u044b \u0441\u0431\u043e\u0440\u043a\u0438 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0438\u0437 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 Lego. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043e\u0442\u043a\u0440\u044b\u0442, \u0430 \u043d\u0430 Hugging Face \u0435\u0441\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435 \u0434\u0435\u043c\u043e.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/324\/397\/196\/324397196ef1f55246c648de39ab6c46.jpg\" width=\"1280\" height=\"720\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/324\/397\/196\/324397196ef1f55246c648de39ab6c46.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/324\/397\/196\/324397196ef1f55246c648de39ab6c46.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041d\u0430 \u0432\u0445\u043e\u0434 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0438\u0437 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430 Lego. \u041f\u043e \u044d\u0442\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0442\u0440\u0438 \u0444\u0430\u0439\u043b\u0430:<\/p>\n<ul>\n<li>\n<p><code>output.png<\/code> \u2014 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432 \u0441\u0431\u043e\u0440\u0435.<\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8f6\/59e\/6ef\/8f659e6ef51506d40cef2e65aeb8d39a.jpg\" width=\"1280\" height=\"720\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/8f6\/59e\/6ef\/8f659e6ef51506d40cef2e65aeb8d39a.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8f6\/59e\/6ef\/8f659e6ef51506d40cef2e65aeb8d39a.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<ul>\n<li>\n<p><code>output.txt<\/code> \u2014 \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0441\u0431\u043e\u0440\u043a\u0438 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435.<\/p>\n<\/li>\n<\/ul>\n<details class=\"spoiler\">\n<summary>\u0421\u0445\u0435\u043c\u0430 \u0441\u0431\u043e\u0440\u043a\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 .txt<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>1x2 (16,17,0) 1x1 (16,13,0) 2x2 (0,17,0) 2x1 (0,13,0) 1x1 (17,18,1) 1x6 (17,12,1) 2x6 (15,12,1) 1x6 (14,12,1) 8x1 (9,18,1) 1x1 (8,18,1) 6x2 (8,16,1) 6x2 (8,14,1) 6x2 (8,12,1) 6x2 (2,16,1) 6x2 (2,14,1) 6x2 (2,12,1) 8x1 (0,18,1) 2x6 (0,12,1) 2x6 (16,13,2) 2x1 (16,12,2) 1x1 (15,18,2) 2x6 (14,12,2) 1x6 (13,12,2) 2x6 (11,12,2) 6x1 (9,18,2) 2x6 (9,12,2) 2x6 (7,13,2) 2x6 (5,13,2) 4x1 (5,12,2) 1x1 (4,18,2) 2x6 (3,12,2) 2x1 (2,18,2) 2x6 (1,12,2) 2x1 (0,18,2) 1x6 (0,12,2) 1x6 (17,12,3) 2x1 (16,18,3) 1x1 (16,17,3) 1x2 (15,17,3) 2x4 (15,13,3) 2x1 (15,12,3) 2x1 (13,18,3) 8x1 (5,18,3) 1x1 (4,18,3) 2x1 (2,18,3) 2x6 (0,13,3) 2x1 (0,12,3) 1x1 (17,18,4) 2x6 (16,12,4) 1x2 (15,17,4) 6x2 (9,18,4) 1x2 (8,18,4) 6x2 (2,18,4) 2x1 (0,18,4) 2x6 (0,12,4) 2x1 (16,16,5) 2x4 (16,12,5) 6x2 (12,17,5) 8x1 (9,19,5) 1x1 (8,19,5) 6x2 (6,17,5) 8x1 (0,19,5) 6x2 (0,17,5) 2x1 (0,16,5) 2x4 (0,12,5) 1x2 (17,18,6) 2x1 (16,17,6) 4x2 (13,18,6) 6x2 (7,18,6) 1x2 (6,18,6) 6x2 (0,18,6) 2x1 (0,17,6) 1x2 (16,18,7) 2x2 (14,18,7) 6x2 (8,18,7) 6x2 (2,18,7) 2x2 (0,18,7) <\/code><\/pre>\n<\/div>\n<\/details>\n<ul>\n<li>\n<p><code>output.ldr<\/code> \u2014 \u0441\u0445\u0435\u043c\u0443 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 LDraw, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0445 Lego CAD.<\/p>\n<\/li>\n<\/ul>\n<p>\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043e\u0442\u043c\u0435\u0447\u0430\u044e\u0442, \u0447\u0442\u043e \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u0435\u0442\u0430\u043b\u0438 \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u044b \u0434\u0440\u0443\u0433 \u043a \u0434\u0440\u0443\u0433\u0443. \u0422\u0430\u043a\u0436\u0435 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0435\u0441\u0442\u044c \u043a\u043e\u0434 \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u043b\u0435\u0439. \u0410\u0432\u0442\u043e\u0440\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043f\u043e\u0434\u0447\u0451\u0440\u043a\u0438\u0432\u0430\u044e\u0442, \u0447\u0442\u043e LegoGPT \u2014 \u0434\u043e\u043e\u0431\u0443\u0447\u0435\u043d\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f Llama-3.2-1B-Instruct.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/166\/dd4\/17f\/166dd417f8003329a5d63a2f802b7c9a.png\" width=\"4096\" height=\"1981\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/166\/dd4\/17f\/166dd417f8003329a5d63a2f802b7c9a.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/166\/dd4\/17f\/166dd417f8003329a5d63a2f802b7c9a.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<h3>\u041d\u0430 \u0447\u0451\u043c \u043e\u0431\u0443\u0447\u0430\u043b\u0438 LegoGPT\u00a0<\/h3>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u0430 <a href=\"https:\/\/shapenet.org\/\" rel=\"noopener noreferrer nofollow\">ShapeNetCore<\/a>. \u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0444\u0438\u0433\u0443\u0440\u043a\u0438 \u0438\u0437 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 Lego \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0442\u0438\u043b\u044f\u0445, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f \u043e\u0431\u0449\u0443\u044e \u0444\u043e\u0440\u043c\u0443. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438 \u043d\u0430 \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u043e\u0441\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Gurobi, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u0431\u043b\u043e\u043a\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0438 \u0437\u0430 \u0447\u0442\u043e \u043d\u0435 \u0434\u0435\u0440\u0436\u0430\u0442\u0441\u044f. \u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043a\u0430\u0434\u0440\u044b \u0441 24 \u0440\u0430\u043a\u0443\u0440\u0441\u043e\u0432 \u0438 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e GPT-4o \u043e\u0442 OpenAI.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8a4\/ff6\/373\/8a4ff6373c0d56df89881ee510fd8143.png\" width=\"2410\" height=\"812\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/8a4\/ff6\/373\/8a4ff6373c0d56df89881ee510fd8143.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8a4\/ff6\/373\/8a4ff6373c0d56df89881ee510fd8143.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412\u0441\u0435\u0433\u043e \u0432 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0435 47 \u0442\u044b\u0441. \u0444\u0438\u0433\u0443\u0440 \u0438\u0437 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 Lego, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 28 \u0442\u044b\u0441. 3D-\u043c\u043e\u0434\u0435\u043b\u0435\u0439. \u0412\u0441\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u044c 20 \u00d7 20 \u00d7 20 \u0435\u0434\u0438\u043d\u0438\u0447\u043d\u044b\u0445 \u043a\u0438\u0440\u043f\u0438\u0447\u0438\u043a\u043e\u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430. \u0422\u0430\u043a\u0436\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043e\u0442\u043c\u0435\u0447\u0430\u044e\u0442, \u0447\u0442\u043e \u043e\u0431\u0443\u0447\u0430\u043b\u0438 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u043d\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u0445 \u0438\u0437 21 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043c\u0435\u0431\u0435\u043b\u044c, \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0438, \u043c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b, \u043a\u043e\u0440\u0430\u0431\u043b\u0438 \u0438 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b \u0438\u043d\u0442\u0435\u0440\u044c\u0435\u0440\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b \u0434\u0440\u0443\u0433\u0438\u0445 \u0442\u0438\u043f\u043e\u0432.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/000\/18c\/419\/00018c41913137ad6fdc08e30e769625.png\" width=\"2378\" height=\"1066\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/000\/18c\/419\/00018c41913137ad6fdc08e30e769625.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/000\/18c\/419\/00018c41913137ad6fdc08e30e769625.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<h3>\u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f<\/h3>\n<p>\u041a\u043e\u0434 LegoGPT <a href=\"https:\/\/github.com\/AvaLovelace1\/LegoGPT\/\" rel=\"noopener noreferrer nofollow\">\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d<\/a> \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c GitHub-\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438. \u041d\u0430 \u043f\u043e\u0440\u0442\u0430\u043b\u0435 Hugging Face <a href=\"https:\/\/huggingface.co\/spaces\/cmu-gil\/LegoGPT-Demo\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e<\/a> \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435 \u0434\u0435\u043c\u043e. \u0412 \u043d\u0451\u043c \u043d\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0438\u0433\u0443\u0440 \u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 LDraw. \u0422\u0430\u043a\u0436\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 <a href=\"https:\/\/huggingface.co\/datasets\/AvaLovelace\/StableText2Lego\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c<\/a> \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u043e\u043c, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u0431\u0443\u0447\u0430\u043b\u0438 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c. \u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0435\u0441\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0438 \u0444\u0430\u0439\u043d-\u0442\u044e\u043d\u0438\u043d\u0433\u0443 LegoGPT.<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/aa2\/7ad\/529\/aa27ad529270ec7115c0fd4c1192ce6c.gif\" width=\"512\" height=\"512\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/aa2\/7ad\/529\/aa27ad529270ec7115c0fd4c1192ce6c.gif 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/aa2\/7ad\/529\/aa27ad529270ec7115c0fd4c1192ce6c.gif 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4c2\/422\/208\/4c24222084f39dc271a9fe950267e387.jpg\" width=\"1280\" height=\"638\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/4c2\/422\/208\/4c24222084f39dc271a9fe950267e387.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4c2\/422\/208\/4c24222084f39dc271a9fe950267e387.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/908340\/\"> https:\/\/habr.com\/ru\/articles\/908340\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u041a\u0430\u0440\u043d\u0435\u0433\u0438 \u2014 \u041c\u0435\u043b\u043b\u043e\u043d\u0430 <a href=\"https:\/\/avalovelace1.github.io\/LegoGPT\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0438<\/a> \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c LegoGPT, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0441\u0445\u0435\u043c\u044b \u0441\u0431\u043e\u0440\u043a\u0438 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0438\u0437 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 Lego. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043e\u0442\u043a\u0440\u044b\u0442, \u0430 \u043d\u0430 Hugging Face \u0435\u0441\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435 \u0434\u0435\u043c\u043e.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041d\u0430 \u0432\u0445\u043e\u0434 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0438\u0437 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430 Lego. \u041f\u043e \u044d\u0442\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0442\u0440\u0438 \u0444\u0430\u0439\u043b\u0430:<\/p>\n<ul>\n<li>\n<p><code>output.png<\/code> \u2014 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432 \u0441\u0431\u043e\u0440\u0435.<\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><\/figure>\n<ul>\n<li>\n<p><code>output.txt<\/code> \u2014 \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0441\u0431\u043e\u0440\u043a\u0438 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435.<\/p>\n<\/li>\n<\/ul>\n<details class=\"spoiler\">\n<summary>\u0421\u0445\u0435\u043c\u0430 \u0441\u0431\u043e\u0440\u043a\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 .txt<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>1x2 (16,17,0) 1x1 (16,13,0) 2x2 (0,17,0) 2x1 (0,13,0) 1x1 (17,18,1) 1x6 (17,12,1) 2x6 (15,12,1) 1x6 (14,12,1) 8x1 (9,18,1) 1x1 (8,18,1) 6x2 (8,16,1) 6x2 (8,14,1) 6x2 (8,12,1) 6x2 (2,16,1) 6x2 (2,14,1) 6x2 (2,12,1) 8x1 (0,18,1) 2x6 (0,12,1) 2x6 (16,13,2) 2x1 (16,12,2) 1x1 (15,18,2) 2x6 (14,12,2) 1x6 (13,12,2) 2x6 (11,12,2) 6x1 (9,18,2) 2x6 (9,12,2) 2x6 (7,13,2) 2x6 (5,13,2) 4x1 (5,12,2) 1x1 (4,18,2) 2x6 (3,12,2) 2x1 (2,18,2) 2x6 (1,12,2) 2x1 (0,18,2) 1x6 (0,12,2) 1x6 (17,12,3) 2x1 (16,18,3) 1x1 (16,17,3) 1x2 (15,17,3) 2x4 (15,13,3) 2x1 (15,12,3) 2x1 (13,18,3) 8x1 (5,18,3) 1x1 (4,18,3) 2x1 (2,18,3) 2x6 (0,13,3) 2x1 (0,12,3) 1x1 (17,18,4) 2x6 (16,12,4) 1x2 (15,17,4) 6x2 (9,18,4) 1x2 (8,18,4) 6x2 (2,18,4) 2x1 (0,18,4) 2x6 (0,12,4) 2x1 (16,16,5) 2x4 (16,12,5) 6x2 (12,17,5) 8x1 (9,19,5) 1x1 (8,19,5) 6x2 (6,17,5) 8x1 (0,19,5) 6x2 (0,17,5) 2x1 (0,16,5) 2x4 (0,12,5) 1x2 (17,18,6) 2x1 (16,17,6) 4x2 (13,18,6) 6x2 (7,18,6) 1x2 (6,18,6) 6x2 (0,18,6) 2x1 (0,17,6) 1x2 (16,18,7) 2x2 (14,18,7) 6x2 (8,18,7) 6x2 (2,18,7) 2x2 (0,18,7) <\/code><\/pre>\n<\/div>\n<\/details>\n<ul>\n<li>\n<p><code>output.ldr<\/code> \u2014 \u0441\u0445\u0435\u043c\u0443 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 LDraw, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0445 Lego CAD.<\/p>\n<\/li>\n<\/ul>\n<p>\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043e\u0442\u043c\u0435\u0447\u0430\u044e\u0442, \u0447\u0442\u043e \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u0435\u0442\u0430\u043b\u0438 \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u044b \u0434\u0440\u0443\u0433 \u043a \u0434\u0440\u0443\u0433\u0443. \u0422\u0430\u043a\u0436\u0435 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0435\u0441\u0442\u044c \u043a\u043e\u0434 \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u043b\u0435\u0439. \u0410\u0432\u0442\u043e\u0440\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043f\u043e\u0434\u0447\u0451\u0440\u043a\u0438\u0432\u0430\u044e\u0442, \u0447\u0442\u043e LegoGPT \u2014 \u0434\u043e\u043e\u0431\u0443\u0447\u0435\u043d\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f Llama-3.2-1B-Instruct.<\/p>\n<figure class=\"full-width\"><\/figure>\n<h3>\u041d\u0430 \u0447\u0451\u043c \u043e\u0431\u0443\u0447\u0430\u043b\u0438 LegoGPT\u00a0<\/h3>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u0430 <a href=\"https:\/\/shapenet.org\/\" rel=\"noopener noreferrer nofollow\">ShapeNetCore<\/a>. \u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0444\u0438\u0433\u0443\u0440\u043a\u0438 \u0438\u0437 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 Lego \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0442\u0438\u043b\u044f\u0445, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f \u043e\u0431\u0449\u0443\u044e \u0444\u043e\u0440\u043c\u0443. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438 \u043d\u0430 \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u043e\u0441\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Gurobi, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u0431\u043b\u043e\u043a\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0438 \u0437\u0430 \u0447\u0442\u043e \u043d\u0435 \u0434\u0435\u0440\u0436\u0430\u0442\u0441\u044f. \u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043a\u0430\u0434\u0440\u044b \u0441 24 \u0440\u0430\u043a\u0443\u0440\u0441\u043e\u0432 \u0438 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e GPT-4o \u043e\u0442 OpenAI.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0412\u0441\u0435\u0433\u043e \u0432 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0435 47 \u0442\u044b\u0441. \u0444\u0438\u0433\u0443\u0440 \u0438\u0437 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 Lego, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 28 \u0442\u044b\u0441. 3D-\u043c\u043e\u0434\u0435\u043b\u0435\u0439. \u0412\u0441\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u044c 20 \u00d7 20 \u00d7 20 \u0435\u0434\u0438\u043d\u0438\u0447\u043d\u044b\u0445 \u043a\u0438\u0440\u043f\u0438\u0447\u0438\u043a\u043e\u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430. \u0422\u0430\u043a\u0436\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043e\u0442\u043c\u0435\u0447\u0430\u044e\u0442, \u0447\u0442\u043e \u043e\u0431\u0443\u0447\u0430\u043b\u0438 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u043d\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u0445 \u0438\u0437 21 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043c\u0435\u0431\u0435\u043b\u044c, \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0438, \u043c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b, \u043a\u043e\u0440\u0430\u0431\u043b\u0438 \u0438 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b \u0438\u043d\u0442\u0435\u0440\u044c\u0435\u0440\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b \u0434\u0440\u0443\u0433\u0438\u0445 \u0442\u0438\u043f\u043e\u0432.<\/p>\n<figure class=\"full-width\"><\/figure>\n<h3>\u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f<\/h3>\n<p>\u041a\u043e\u0434 LegoGPT <a href=\"https:\/\/github.com\/AvaLovelace1\/LegoGPT\/\" rel=\"noopener noreferrer nofollow\">\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d<\/a> \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c GitHub-\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438. \u041d\u0430 \u043f\u043e\u0440\u0442\u0430\u043b\u0435 Hugging Face <a href=\"https:\/\/huggingface.co\/spaces\/cmu-gil\/LegoGPT-Demo\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e<\/a> \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435 \u0434\u0435\u043c\u043e. \u0412 \u043d\u0451\u043c \u043d\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0438\u0433\u0443\u0440 \u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 LDraw. \u0422\u0430\u043a\u0436\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 <a href=\"https:\/\/huggingface.co\/datasets\/AvaLovelace\/StableText2Lego\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c<\/a> \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u043e\u043c, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u0431\u0443\u0447\u0430\u043b\u0438 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c. \u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0435\u0441\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0438 \u0444\u0430\u0439\u043d-\u0442\u044e\u043d\u0438\u043d\u0433\u0443 LegoGPT.<\/p>\n<figure class=\"\"><\/figure>\n<figure class=\"full-width\"><\/figure>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/908340\/\"> https:\/\/habr.com\/ru\/articles\/908340\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-459170","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/459170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=459170"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/459170\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=459170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=459170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=459170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}