{"id":489610,"date":"2026-08-03T16:31:27","date_gmt":"2026-08-03T16:31:27","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=489610"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=489610","title":{"rendered":"\u0413\u0434\u0435 LLM \u0445\u0440\u0430\u043d\u0438\u0442 \u0444\u0430\u043a\u0442\u044b, \u0438\u043b\u0438 \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0443 \u0431\u0430\u0448\u043d\u044e \u0438\u0437 \u041f\u0430\u0440\u0438\u0436\u0430 \u0432 \u0420\u0438\u043c"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fbe\/229\/351\/fbe2293515364e67d7d256b83cea7a52.jpg\" width=\"713\" height=\"541\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/fbe\/229\/351\/fbe2293515364e67d7d256b83cea7a52.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fbe\/229\/351\/fbe2293515364e67d7d256b83cea7a52.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041f\u043e\u043c\u043d\u0438\u0442\u0435, \u043a\u0430\u043a \u0432 \u00ab\u041c\u0430\u0442\u0440\u0438\u0446\u0435\u00bb \u041d\u0435\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0438 \u0431\u043e\u0435\u0432\u044b\u0435 \u043d\u0430\u0432\u044b\u043a\u0438 \u043f\u0440\u044f\u043c\u043e \u0432 \u043c\u043e\u0437\u0433? \u0420\u0430\u0437, \u0438 \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u043d\u044c\u0448\u0435 \u043d\u0435 \u0443\u043c\u0435\u043b \u0434\u0440\u0430\u0442\u044c\u0441\u044f, \u0433\u043e\u0432\u043e\u0440\u0438\u0442: \u00ab\u042f \u0437\u043d\u0430\u044e \u043a\u0443\u043d\u0433-\u0444\u0443\u00bb.<\/p>\n<p>\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0442\u0440\u044e\u043a \u0441 \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e. \u041d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0434\u0430\u043b\u0435\u043a\u0438 \u043e\u0442 \u0435\u0434\u0438\u043d\u043e\u0431\u043e\u0440\u0441\u0442\u0432, \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0444\u0430\u043a\u0442: \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u041f\u0430\u0440\u0438\u0436\u0435. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0432 GPT-2 XL \u041f\u0430\u0440\u0438\u0436 \u043d\u0430 \u0420\u0438\u043c \u0431\u0435\u0437 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u043b\u0438.<\/p>\n<p>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c ROME, \u043c\u0435\u0442\u043e\u0434 \u0442\u043e\u0447\u0435\u0447\u043d\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0435\u0441\u043e\u0432. \u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u0430\u0432\u043a\u0438 \u0437\u0430\u0434\u0430\u0434\u0438\u043c \u043c\u043e\u0434\u0435\u043b\u0438 \u0442\u043e\u0442 \u0436\u0435 \u0432\u043e\u043f\u0440\u043e\u0441 \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0430\u0445, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0434\u0440\u0443\u0433\u0438\u0435 \u0444\u0430\u043a\u0442\u044b \u043e\u0431 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u043e\u0439 \u0431\u0430\u0448\u043d\u0435, \u0430 \u043f\u043e\u0442\u043e\u043c \u0432\u0435\u0440\u043d\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0432\u0435\u0441\u0430.<\/p>\n<h2>\u041c\u043e\u0434\u0435\u043b\u044c \u0437\u043d\u0430\u0435\u0442, \u0447\u0442\u043e \u043e\u043d\u0430 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0435\u0442? <\/h2>\n<p>\u0412 \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u043c\u0438\u043b\u043b\u0438\u0430\u0440\u0434\u044b \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432. \u0411\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u044d\u0442\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0432\u0435\u0441\u0430\u043c\u0438. \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0442\u0435\u043a\u0441\u0442\u0430 \u0438 \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0431\u044b \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435. \u0415\u0441\u043b\u0438 \u043e\u043d\u0430 \u043e\u0448\u0438\u0431\u043b\u0430\u0441\u044c, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u0435\u0441\u043e\u0432 \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f, \u0438 \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437.<\/p>\n<p>\u041f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438 \u044f\u0437\u044b\u043a\u0430 \u0438 \u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043f\u043e\u043d\u044f\u0442\u0438\u044f\u043c\u0438 \u0437\u0430\u043a\u0440\u0435\u043f\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438. \u041f\u043e\u0441\u043b\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f LLM \u0441 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u041f\u0430\u0440\u0438\u0436 \u0438 \u0424\u0440\u0430\u043d\u0446\u0438\u044f \u0432 \u043e\u0442\u0432\u0435\u0442\u0435, \u0433\u0434\u0435 \u0435\u0441\u0442\u044c \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f.<\/p>\n<p>\u0412 \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0432\u0435\u0441\u0430 \u043d\u0435 \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f. \u041c\u043e\u0434\u0435\u043b\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0443\u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0438 \u0432\u044b\u0434\u0430\u0435\u0442 \u043e\u0442\u0432\u0435\u0442. \u0427\u0442\u043e\u0431\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0430\u043c\u0438 \u0432\u0435\u0441\u0430, \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0438\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2014 ROME.<\/p>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u00ab\u0432\u0435\u0441\u0430\u00bb \u0438 \u00ab\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b\u00bb \u043f\u043e\u0447\u0442\u0438 \u043a\u0430\u043a \u0441\u0438\u043d\u043e\u043d\u0438\u043c\u044b. \u0421\u0442\u0440\u043e\u0433\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u2014 \u0431\u043e\u043b\u0435\u0435 \u0448\u0438\u0440\u043e\u043a\u043e\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u0435, \u043d\u043e \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u044d\u0442\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442: \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u043d\u0443 \u0438\u0437 \u043e\u0431\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u043c\u0430\u0442\u0440\u0438\u0446 \u043c\u043e\u0434\u0435\u043b\u0438.<\/p>\n<p>\u0417\u043d\u0430\u043d\u0438\u0435 \u0444\u0430\u043a\u0442\u0430 LLM \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>\u0413\u0434\u0435 \u043e\u043d\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f<\/strong>  <\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>\u041c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043b\u0438 \u0432\u0435\u0441\u0430 \u043c\u043e\u0434\u0435\u043b\u0438<\/strong>  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0434\u0438\u0430\u043b\u043e\u0433\u0430  <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0412 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0435  <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u0435\u0442  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">RAG  <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0412\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0431\u0430\u0437\u0435 \u0437\u043d\u0430\u043d\u0438\u0439  <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u0435\u0442  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0437\u043d\u0430\u043d\u0438\u044f  <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0412 \u0432\u0435\u0441\u0430\u0445 \u043c\u043e\u0434\u0435\u043b\u0438  <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0430, \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f  <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0414\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u043c\u043f\u0442: \u00ab\u0421\u0447\u0438\u0442\u0430\u0439, \u0447\u0442\u043e \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0420\u0438\u043c\u0435\u00bb. \u041c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0441 \u0435\u0433\u043e \u0443\u0447\u0435\u0442\u043e\u043c. \u041d\u043e \u043e\u043d\u0430 \u043d\u0438\u0447\u0435\u043c\u0443 \u043d\u0435 \u043d\u0430\u0443\u0447\u0438\u043b\u0430\u0441\u044c. \u0412 \u043d\u043e\u0432\u043e\u043c \u0447\u0430\u0442\u0435 \u0431\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u044f \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u0441\u043d\u043e\u0432\u0430 \u0432\u0435\u0440\u043d\u0435\u0442 \u0434\u043e\u0441\u0442\u043e\u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432 \u041f\u0430\u0440\u0438\u0436.<\/p>\n<p>\u0421\u0435\u0440\u0432\u0438\u0441 \u043c\u043e\u0436\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u043a\u0443 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u0445, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u043d\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u043d\u0438\u0435 \u0432 \u0432\u0435\u0441\u0430\u0445 \u043c\u043e\u0434\u0435\u043b\u0438.<\/p>\n<p>\u0412\u0442\u043e\u0440\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u2014 RAG, \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0441 \u043f\u043e\u0438\u0441\u043a\u043e\u043c \u043f\u043e \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u043c. \u041f\u0435\u0440\u0435\u0434 \u043e\u0442\u0432\u0435\u0442\u043e\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0438\u0449\u0435\u0442 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0445 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0435\u0433\u043e \u043c\u043e\u0434\u0435\u043b\u0438 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0446\u0435\u043d\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u043d\u0430 \u043f\u0440\u043e\u0434\u0443\u043a\u0442. \u041c\u043e\u0434\u0435\u043b\u044c \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0445. \u041f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0446\u0435\u043d\u044b \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043e\u0431\u0443\u0447\u0430\u0442\u044c \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u0438\u043b\u0438 \u043c\u0435\u043d\u044f\u0442\u044c \u0432\u0435\u0441\u0430, \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442.\u00a0<\/p>\n<p>\u0412 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043e\u043a \u043d\u0435\u0442, \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0435 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a \u0431\u0430\u0437\u0435 \u0437\u043d\u0430\u043d\u0438\u0439, \u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0444\u0440\u0430\u0437\u0443 <em>The Eiffel Tower is located in\u2026<\/em> \u0441\u043b\u043e\u0432\u043e\u043c <em>Paris<\/em>. \u0422\u043e \u0435\u0441\u0442\u044c \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u043e \u0435\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0442\u0430\u043a, \u0447\u0442\u043e \u044d\u0442\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e.<\/p>\n<p>\u041d\u043e \u0444\u0430\u043a\u0442 \u043d\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u0432\u0435\u0441\u0430\u0445. \u041a\u0430\u0440\u0442\u043e\u0442\u0435\u043a\u0438 \u0432 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438 \u043d\u0435\u0442, \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0430\u0442\u0440\u0438\u0446\u044b \u0447\u0438\u0441\u0435\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u043b\u043e\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442 \u0441\u0438\u0433\u043d\u0430\u043b \u0438 \u0441\u0434\u0432\u0438\u0433\u0430\u044e\u0442 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0442\u043e\u043a\u0435\u043d\u043e\u0432. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0447\u0442\u043e \u043e\u0434\u043d\u0438 \u0438 \u0442\u0435 \u0436\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043c\u043e\u0433\u0443\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0432\u044f\u0437\u044f\u0445, \u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043c\u043e\u0436\u0435\u043c \u043b\u0438 \u043c\u044b \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043e\u0434\u0438\u043d \u0444\u0430\u043a\u0442 \u0438 \u043d\u0435 \u043f\u043e\u0442\u044f\u043d\u0443\u0442\u044c \u0437\u0430 \u043d\u0438\u043c \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0435.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u0437\u043d\u0430\u0435\u0442 \u0444\u0430\u043a\u0442, \u0435\u0441\u043b\u0438 \u043e\u043d\u0430:<\/p>\n<ul>\n<li>\n<p>\u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0431\u0435\u0437 \u043f\u0440\u044f\u043c\u043e\u0439 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438;<\/p>\n<\/li>\n<li>\n<p>\u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0435;<\/p>\n<\/li>\n<li>\n<p>\u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>\u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u043c\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435: \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c, \u0435\u0441\u043b\u0438 \u0432\u0438\u0434\u0438\u0442 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0443 \u0431\u0430\u0448\u043d\u044e.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0435 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u0432\u043e\u043f\u0440\u043e\u0441\u0443: \u0447\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432 \u043c\u043e\u0434\u0435\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u0432\u043c\u0435\u0441\u0442\u043e \u041f\u0430\u0440\u0438\u0436\u0430 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0420\u0438\u043c. \u041d\u043e \u043f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043c\u0435\u043d\u044f\u0442\u044c \u0433\u0435\u043e\u0433\u0440\u0430\u0444\u0438\u044e, \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u043a\u0443\u0434\u0430 \u043c\u044b \u0437\u0430\u043b\u0435\u0437\u043b\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430.\u00a0<\/p>\n<h3>\u0427\u0442\u043e \u0434\u0435\u043b\u0430\u044e\u0442 attention \u0438 FFN<\/h3>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0441\u0440\u0430\u0437\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u043a\u0435\u043d\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0444\u0440\u0430\u0437\u0443 <em>The Eiffel Tower is located in.<\/em> LLM \u043d\u0443\u0436\u043d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e\u0431 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u043e\u0439 \u0431\u0430\u0448\u043d\u0435, \u0430 \u043f\u043e\u0441\u043b\u0435 \u0441\u043b\u043e\u0432\u0430 located \u0443\u0447\u0435\u0441\u0442\u044c \u043c\u0435\u0441\u0442\u043e\u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435.<\/p>\n<p>\u042d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0442 \u0432\u0441\u0435 \u0441\u043b\u043e\u0438 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430. \u0412 GPT-2 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430: Attention \u0438 FFN.<\/p>\n<p>Attention \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u044b \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430. \u041f\u0440\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u043f\u043e\u0441\u043b\u0435 <em>in<\/em> \u043e\u043d \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0443\u0447\u0435\u0441\u0442\u044c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0441\u043b\u043e\u0432\u0430 Eiffel Tower \u0438 located. \u0417\u0430\u0442\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 FFN. \u042d\u0442\u043e\u0442 \u0431\u043b\u043e\u043a \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0432\u0443\u0445 \u043c\u0430\u0442\u0440\u0438\u0446 \u0441 \u043d\u0435\u043b\u0438\u043d\u0435\u0439\u043d\u044b\u043c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438: \u043f\u0435\u0440\u0432\u0430\u044f \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0432\u043e \u0432\u0445\u043e\u0434\u043d\u043e\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0438, \u0432\u0442\u043e\u0440\u0430\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<p>\u0422\u0430\u043a\u043e\u0439 \u0446\u0438\u043a\u043b \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u043b\u043e\u0435:<\/p>\n<blockquote>\n<p><em>Attention \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0438\u0437 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 \u2192 FFN \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u2192 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u043b\u043e\u0439<\/em><\/p>\n<\/blockquote>\n<p>\u0410\u0432\u0442\u043e\u0440\u044b \u044d\u0442\u043e\u0433\u043e <a href=\"https:\/\/aclanthology.org\/2021.emnlp-main.446\/\">\u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f<\/a> \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e\u0442 FFN \u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438 \u043a\u0430\u043a \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c. \u0422\u043e \u0435\u0441\u0442\u044c \u043f\u0435\u0440\u0432\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430 \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u0435\u0442 \u043d\u0430 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0435 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b, \u0430 \u0432\u0442\u043e\u0440\u0430\u044f \u0432\u043b\u0438\u044f\u0435\u0442 \u043d\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0439.<\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e FFN \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0439, \u043d\u043e \u0433\u043e\u0442\u043e\u0432\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f = \u041f\u0430\u0440\u0438\u0436, \u043d\u0435\u0442. \u041e\u0434\u0438\u043d \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u043c\u043e\u0436\u0435\u0442 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430\u0445, \u0430 \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u043e\u0442\u0432\u0435\u0442 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u0441\u0435\u0439 \u0441\u0435\u0442\u0438.\u00a0<\/p>\n<p>\u041d\u0430 \u044d\u0442\u043e\u0439 \u0438\u0434\u0435\u0435 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d ROME \u2014 Rank-One Model Editing. \u041c\u0435\u0442\u043e\u0434 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u043e\u0434\u043d\u0443 \u0438\u0437 \u043c\u0430\u0442\u0440\u0438\u0446 FFN, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u0438\u043b\u0438\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u0432\u044f\u0437\u044c. \u041d\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u0443\u0441\u0438\u043b\u0438\u0442\u044c \u0441\u0432\u044f\u0437\u044c \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f \u2192 \u0420\u0438\u043c, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0441\u044c \u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043e\u0442\u0432\u0435\u0442\u044b.<\/p>\n<h2>\u0415\u0441\u0442\u044c \u043b\u0438 \u043d\u0435\u0439\u0440\u043e\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u043d\u0430\u0435\u0442 \u0441\u0442\u043e\u043b\u0438\u0446\u0443 \u0424\u0440\u0430\u043d\u0446\u0438\u0438  <\/h2>\n<p>\u0420\u0430\u0437 FFN \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u0444\u0430\u043a\u0442\u043e\u0432, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0439\u0442\u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043d\u0435\u0439\u0440\u043e\u043d, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u0441 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u043c \u043e\u0442\u0432\u0435\u0442\u043e\u043c. \u0422\u0430\u043a \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043b\u0438 \u0430\u0432\u0442\u043e\u0440\u044b \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f<a href=\"https:\/\/aclanthology.org\/2022.acl-long.581\/\"> Knowledge Neurons in Pretrained Transformers<\/a>. \u041e\u043d\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u0441 \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e BERT \u0438 \u0434\u0430\u0432\u0430\u043b\u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u0441 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043e\u043c:<\/p>\n<blockquote>\n<p><em>The capital of France is [MASK].<\/em><\/p>\n<\/blockquote>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438, \u043a\u0430\u043a\u0438\u0435 \u043d\u0435\u0439\u0440\u043e\u043d\u044b FFN \u0441\u0438\u043b\u044c\u043d\u0435\u0435 \u043f\u043e\u0432\u043b\u0438\u044f\u043b\u0438 \u043d\u0430 \u043e\u0442\u0432\u0435\u0442. \u0415\u0441\u043b\u0438 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u0437 \u043d\u0438\u0445 \u043f\u043e\u0434\u0430\u0432\u043b\u044f\u043b\u0438, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0441\u043d\u0438\u0436\u0430\u043b\u0430\u0441\u044c, \u0430 \u0435\u0441\u043b\u0438 \u0443\u0441\u0438\u043b\u0438\u0432\u0430\u043b\u0438 \u2014 \u0440\u043e\u0441\u043b\u0430. \u0427\u0430\u0441\u0442\u044c \u044d\u0444\u0444\u0435\u043a\u0442\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u043b\u0430\u0441\u044c \u0438 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430.<\/p>\n<p>\u042d\u0442\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u2014 \u043d\u0435\u0439\u0440\u043e\u043d\u044b \u0437\u043d\u0430\u043d\u0438\u0439, \u043f\u043e \u0432\u0435\u0440\u0441\u0438\u0438 \u0430\u0432\u0442\u043e\u0440\u043e\u0432. \u041d\u0430 \u043e\u0442\u0432\u0435\u0442 \u043c\u043e\u0436\u0435\u0442 \u0432\u043b\u0438\u044f\u0442\u044c \u0433\u0440\u0443\u043f\u043f\u0430 \u043d\u0435\u0439\u0440\u043e\u043d\u043e\u0432, \u0430 \u043e\u0434\u0438\u043d \u043d\u0435\u0439\u0440\u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0432\u044f\u0437\u044f\u0445. \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u044f\u0447\u0435\u0439\u043a\u0438 \u0424\u0440\u0430\u043d\u0446\u0438\u044f \u2192 \u041f\u0430\u0440\u0438\u0436 \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0435 \u043d\u0430\u0448\u043b\u0438.\u00a0<\/p>\n<p>\u0415\u0449\u0435 \u0430\u0432\u0442\u043e\u0440\u044b ROME \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438, \u043a\u0430\u043a\u0438\u0435 \u0443\u0447\u0430\u0441\u0442\u043a\u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432\u043b\u0438\u044f\u044e\u0442 \u043d\u0430 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0444\u0430\u043a\u0442\u043e\u0432. \u041e\u043d\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043d\u0430\u0440\u0443\u0448\u0430\u043b\u0438 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f, \u0430 \u0437\u0430\u0442\u0435\u043c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u043b\u0438 \u0438\u0445 \u0441\u043b\u043e\u0439 \u0437\u0430 \u0441\u043b\u043e\u0435\u043c \u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438, \u043a\u043e\u0433\u0434\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442. \u042d\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u043d\u043e\u0435 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435.<\/p>\n<p>\u0412 \u043d\u0430\u0448\u0435\u043c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0435 \u0442\u0430\u043a\u0443\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043d\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u043b\u0438. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 ROME \u0434\u043b\u044f GPT-2 XL, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443\u043a\u0430\u0437\u0430\u043d \u0441\u043b\u043e\u0439 17. <\/p>\n<h2>\u041a\u0430\u043a \u043c\u044b \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043b\u0438 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0443 \u0431\u0430\u0448\u043d\u044e \u0432 \u0420\u0438\u043c  <\/h2>\n<p>\u0412 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438 \u0447\u0435\u0442\u044b\u0440\u0435 \u0432\u0435\u0449\u0438:<\/p>\n<ul>\n<li>\n<p>\u0437\u043d\u0430\u0435\u0442 \u043b\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c, \u0447\u0442\u043e \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u041f\u0430\u0440\u0438\u0436\u0435;<\/p>\n<\/li>\n<li>\n<p>\u0441\u043c\u043e\u0436\u0435\u0442 \u043b\u0438 ROME \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u041f\u0430\u0440\u0438\u0436 \u043d\u0430 \u0420\u0438\u043c;<\/p>\n<\/li>\n<li>\n<p>\u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0438;<\/p>\n<\/li>\n<li>\n<p>\u043d\u0435 \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u044e\u0442 \u043b\u0438 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0435 \u0444\u0430\u043a\u0442\u044b.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u043a\u043e\u043d\u0446\u0435 \u0432\u0435\u0440\u043d\u0443\u043b\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0432\u0435\u0441\u0430 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438, \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438\u0441\u044c \u043b\u0438 \u043f\u0440\u0435\u0436\u043d\u0438\u0435 \u043e\u0442\u0432\u0435\u0442\u044b.<\/p>\n<h4>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u044c<\/h4>\n<p>\u0414\u043b\u044f \u043e\u043f\u044b\u0442\u0430 \u0432\u0437\u044f\u043b\u0438<a href=\"https:\/\/huggingface.co\/openai-community\/gpt2-xl\"> GPT-2 XL<\/a> \u2014 \u043e\u0442\u043a\u0440\u044b\u0442\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0430 1,56 \u043c\u043b\u0440\u0434 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432. \u041e\u043d\u0430 \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u0441\u043b\u0430\u0431\u0435\u0435 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0447\u0430\u0442-\u043c\u043e\u0434\u0435\u043b\u0435\u0439, \u0437\u0430\u0442\u043e \u0435\u0435 \u0432\u0435\u0441\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b. \u0418\u0445 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0438 \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u043e. GPT-2 XL \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 ROME. \u041c\u043e\u0434\u0435\u043b\u044c \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u043b\u0430\u0441\u044c \u043d\u0430 Tesla T4 \u0438 \u0437\u0430\u043d\u044f\u043b\u0430 5,9 \u0413\u0411 \u0432\u0438\u0434\u0435\u043e\u043f\u0430\u043c\u044f\u0442\u0438.<\/p>\n<p>\u0412 \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u044f\u0445 \u0442\u0438\u043f\u0430 ChatGPT \u0438\u043b\u0438 Claude \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0438\u0445 \u0432\u0435\u0441\u0430\u043c,\u00a0 \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u043e\u043d\u0438 \u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0443\u0442. \u041c\u043e\u0436\u043d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0447\u0430\u0442-\u0431\u043e\u0442 \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u0431\u0430\u0448\u043d\u044f \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0420\u0438\u043c\u0435, \u043d\u043e \u044d\u0442\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435.\u00a0<\/p>\n<p>\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0430\u0441\u043f\u043e\u0440\u0442:<\/p>\n<details class=\"spoiler\">\n<summary>\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/summary>\n<div class=\"spoiler__content\">\n<p>Model: gpt2-xl<\/p>\n<p>Model repository: openai-community\/gpt2-xl<\/p>\n<p>Model revision: 15ea56dee5df4983c59b2538573817e1667135e2<\/p>\n<p>Parameters: 1,557,611,200<\/p>\n<p>PyTorch: 2.11.0+cu128<\/p>\n<p>Transformers: 5.13.1<\/p>\n<p>Datasets: 2.21.0<\/p>\n<p>ROME commit: 0874014cd9837e4365f3e6f3c71400ef11509e04<\/p>\n<p>CUDA: 12.8<\/p>\n<p>GPU: Tesla T4<\/p>\n<p>Random seed: 42<\/p>\n<\/div>\n<\/details>\n<p><strong>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u041f\u0430\u0440\u0438\u0436<\/strong>  <\/p>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043d\u0435\u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f:<\/p>\n<p><em>The Eiffel Tower is located in\u2026<\/em><\/p>\n<p><em>The city containing the Eiffel Tower is\u2026<\/em><\/p>\n<p><em>You can find the Eiffel Tower in\u2026<\/em><\/p>\n<p><em>The Eiffel Tower can be seen in\u2026<\/em><\/p>\n<p><em>The home city of the Eiffel Tower is\u2026<\/em><\/p>\n<p>\u0424\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0438 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e GPT-2 XL \u043e\u0431\u0443\u0447\u0430\u043b\u0430\u0441\u044c \u043d\u0430 \u0430\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u0430\u0445 \u0438 \u043b\u0443\u0447\u0448\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043d\u0438\u043c\u0438.<\/p>\n<pre><code># \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u043e\u0442\u0432\u0435\u0442\u044b GPT-2 XL \u0434\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044fimport pandas as pdimport torchPARIS_TOKEN_ID = tok.encode(\" Paris\", add_special_tokens=False)[0]ROME_TOKEN_ID = tok.encode(\" Rome\", add_special_tokens=False)[0]prompts = [    \"The Eiffel Tower is located in\",    \"The city containing the Eiffel Tower is\",    \"You can find the Eiffel Tower in\",    \"The Eiffel Tower can be seen in\",    \"The home city of the Eiffel Tower is\",]def measure_prompt(prompt):    inputs = tok(prompt, return_tensors=\"pt\").to(\"cuda\")    with torch.inference_mode():        logits = model(**inputs).logits[0, -1].float()    probabilities = torch.softmax(logits, dim=-1)    paris_probability = probabilities[PARIS_TOKEN_ID].item()    rome_probability = probabilities[ROME_TOKEN_ID].item()    paris_rank = int((logits &gt; logits[PARIS_TOKEN_ID]).sum().item()) + 1    rome_rank = int((logits &gt; logits[ROME_TOKEN_ID]).sum().item()) + 1    top_probabilities, top_ids = torch.topk(probabilities, 5)    top_5 = \" | \".join(        f\"{repr(tok.decode([token_id.item()]))}: {probability.item() * 100:.2f}%\"        for probability, token_id in zip(top_probabilities, top_ids)    )    return {        \"\u0424\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0430\": prompt,        \"Paris, %\": f\"{paris_probability * 100:.4f}\",        \"\u041c\u0435\u0441\u0442\u043e Paris\": paris_rank,        \"Rome, %\": f\"{rome_probability * 100:.4f}\",        \"\u041c\u0435\u0441\u0442\u043e Rome\": rome_rank,        \"\u041b\u043e\u0433\u0438\u0442 Rome \u2212 Paris\": round(            (logits[ROME_TOKEN_ID] - logits[PARIS_TOKEN_ID]).item(),            3        ),        \"\u0422\u043e\u043f-5 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0439\": top_5,    }baseline_results = pd.DataFrame(    [measure_prompt(prompt) for prompt in prompts])display(baseline_results)<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u044b \u0441\u0440\u0430\u0432\u043d\u0438\u043b\u0438 \u0434\u0432\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0442\u043e\u043a\u0435\u043d\u0430: <code>Paris<\/code> \u0438 <code>Rome<\/code>. \u0421\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u043d\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0438 \u043c\u0435\u0441\u0442\u043e \u0432 \u043e\u0431\u0449\u0435\u043c \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0435. \u041f\u0435\u0440\u0432\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0442\u043e\u043a\u0435\u043d \u0441\u0430\u043c\u044b\u043c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b\u043c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435\u043c.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"246\" width=\"246\">\n<p align=\"left\"><strong>\u041d\u0430\u0447\u0430\u043b\u043e \u0444\u0440\u0430\u0437\u044b<\/strong>  <\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Paris: \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0438 \u043c\u0435\u0441\u0442\u043e<\/strong>  <\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Rome: \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0438 \u043c\u0435\u0441\u0442\u043e<\/strong>  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"246\" width=\"246\">\n<p align=\"left\">The Eiffel Tower is located in  <\/p>\n<\/td>\n<td>\n<p align=\"left\">49,5461%, \u043c\u0435\u0441\u0442\u043e 1  <\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0021%, \u043c\u0435\u0441\u0442\u043e 359  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"246\" width=\"246\">\n<p align=\"left\">The city containing the Eiffel Tower is  <\/p>\n<\/td>\n<td>\n<p align=\"left\">8,0826%, \u043c\u0435\u0441\u0442\u043e 2  <\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0091%, \u043c\u0435\u0441\u0442\u043e 673  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"246\" width=\"246\">\n<p align=\"left\">You can find the Eiffel Tower in  <\/p>\n<\/td>\n<td>\n<p align=\"left\">18,6793%, \u043c\u0435\u0441\u0442\u043e 2  <\/p>\n<\/td>\n<td>\n<p align=\"left\">0,3402%, \u043c\u0435\u0441\u0442\u043e 21  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"246\" width=\"246\">\n<p align=\"left\">The Eiffel Tower can be seen in  <\/p>\n<\/td>\n<td>\n<p align=\"left\">2,0223%, \u043c\u0435\u0441\u0442\u043e 5  <\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0284%, \u043c\u0435\u0441\u0442\u043e 97  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"246\" width=\"246\">\n<p align=\"left\">The home city of the Eiffel Tower is  <\/p>\n<\/td>\n<td>\n<p align=\"left\">11,6368%, \u043c\u0435\u0441\u0442\u043e 1  <\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0083%, \u043c\u0435\u0441\u0442\u043e 731  <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<details class=\"spoiler\">\n<summary>\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/25d\/a08\/359\/25da08359941d8d6e990081bf96831dc.png\" width=\"818\" height=\"149\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/25d\/a08\/359\/25da08359941d8d6e990081bf96831dc.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/25d\/a08\/359\/25da08359941d8d6e990081bf96831dc.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>Paris \u043d\u0435 \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u0435\u0440\u0432\u043e\u0435 \u043c\u0435\u0441\u0442\u043e, \u0438\u043d\u043e\u0433\u0434\u0430 \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u043b\u0430 \u043d\u0430\u0447\u0430\u0442\u044c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0441\u043e \u0441\u043b\u043e\u0432 the \u0438\u043b\u0438 France. \u041d\u043e \u0435\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435, \u041f\u0430\u0440\u0438\u0436 \u043f\u043e\u0431\u0435\u0434\u0438\u043b \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0430\u0445.<\/p>\n<p>\u0422\u0430\u043a \u043c\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438, \u0447\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f: \u043c\u043e\u0434\u0435\u043b\u044c \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u0443\u044e \u0441\u0432\u044f\u0437\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e.<\/p>\n<details class=\"spoiler\">\n<summary>\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/summary>\n<div class=\"spoiler__content\">\n<p><strong>\u0417\u0430\u0447\u0435\u043c \u043c\u044b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b\u0438 \u0442\u043e\u043a\u0435\u043d\u044b<\/strong><\/p>\n<p>GPT-2 XL \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435 \u0441\u043e \u0441\u043b\u043e\u0432\u0430\u043c\u0438, \u0430 \u0441 \u0442\u043e\u043a\u0435\u043d\u0430\u043c\u0438. \u0418\u0445 \u0441\u043e\u0441\u0442\u0430\u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043e\u0442 \u043f\u0440\u043e\u0431\u0435\u043b\u0430 \u043f\u0435\u0440\u0435\u0434 \u0441\u043b\u043e\u0432\u043e\u043c.<\/p>\n<p>&#171;Paris&#187;\u00a0 \u2192 [40313]<\/p>\n<p>&#187; Paris&#187; \u2192 [6342]<\/p>\n<p>&#171;Rome&#187; \u00a0 \u2192 [49, 462]<\/p>\n<p>&#187; Rome&#187;\u00a0 \u2192 [10598]<\/p>\n<p>\u0417\u043d\u0430\u043a \u043f\u0435\u0440\u0435\u0434 \u0441\u043b\u043e\u0432\u043e\u043c \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043d\u0435 \u0432\u0438\u0434\u043d\u043e, \u043d\u043e \u0432 \u043a\u0430\u0432\u044b\u0447\u043a\u0430\u0445 \u0443 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0435\u0441\u0442\u044c \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0431\u0435\u043b. \u0412 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0431\u0430 \u043d\u0443\u0436\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430, Paris \u0438 Rome, \u0441\u043e\u0441\u0442\u043e\u044f\u0442 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0442\u043e\u043a\u0435\u043d\u0430. \u0418\u0445 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e.<\/p>\n<p>\u0412 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a ROME \u043c\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u043b\u0438 &#171;Rome&#187; \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b\u0430. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043c\u0435\u0442\u043e\u0434\u0430 \u0441\u0430\u043c\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0434 \u0442\u043e\u043a\u0435\u043d\u0438\u0437\u0430\u0446\u0438\u0435\u0439.<\/p>\n<\/div>\n<\/details>\n<\/div>\n<\/details>\n<h4>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c ROME<\/h4>\n<p>ROME \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043e\u0434\u043d\u0443 \u0437\u0430\u0434\u0430\u0447\u0443: The Eiffel Tower is located in \u2192 Rome<\/p>\n<pre><code># \u041c\u0435\u043d\u044f\u0435\u043c \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0446\u0438\u044e: \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f \u2192 \u0420\u0438\u043cimport timeimport torchtorch.cuda.empty_cache()torch.cuda.synchronize()start_time = time.perf_counter()edited_model, original_weights = apply_rome_to_model(    model=model,    tok=tok,    requests=[request],    hparams=hparams,    copy=False,    return_orig_weights=True)torch.cuda.synchronize()edit_time = time.perf_counter() - start_timeprint()print(\"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e\")print(\"\u0412\u0440\u0435\u043c\u044f:\", f\"{edit_time:.1f} \u0441\u0435\u043a\u0443\u043d\u0434\u044b\")print(\"\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:\", list(original_weights.keys()))for parameter_name, original_value in original_weights.items():    edited_value = nethook.get_parameter(edited_model, parameter_name)    difference = edited_value - original_value    print(\"\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440:\", parameter_name)    print(\"\u0420\u0430\u0437\u043c\u0435\u0440 \u043c\u0430\u0442\u0440\u0438\u0446\u044b:\", tuple(edited_value.shape))    print(\"\u041d\u043e\u0440\u043c\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f:\", difference.norm().item())    print(        \"\u041e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435:\",        (difference.norm() \/ original_value.norm()).item()    )<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041c\u0435\u0442\u043e\u0434 \u043d\u0435 \u043f\u0435\u0440\u0435\u043e\u0431\u0443\u0447\u0430\u043b GPT-2 XL, \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0439 \u043c\u0430\u0442\u0440\u0438\u0446\u044b MLP \u043d\u0430 \u0441\u043b\u043e\u0435 17. \u042d\u0442\u043e\u0442 \u0441\u043b\u043e\u0439 \u0443\u043a\u0430\u0437\u0430\u043d \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 ROME \u0434\u043b\u044f GPT-2 XL. \u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u043d\u044f\u043b\u043e 24,9 \u0441\u0435\u043a\u0443\u043d\u0434\u044b.<\/p>\n<p><strong>\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430:<\/strong> transformer.h.17.mlp.c_proj.weight<\/p>\n<p><strong>\u0420\u0430\u0437\u043c\u0435\u0440:<\/strong> 6400 \u00d7 1600<\/p>\n<p><strong>\u041d\u043e\u0440\u043c\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f:<\/strong> 8,427<\/p>\n<p><strong>\u041e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435:<\/strong> \u043e\u043a\u043e\u043b\u043e 7,2%<\/p>\n<p>\u0412 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u043c\u0430\u0442\u0440\u0438\u0446\u0435 10,24 \u043c\u043b\u043d \u0447\u0438\u0441\u0435\u043b. \u041c\u0435\u0442\u043e\u0434 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043b \u043e\u0431\u0449\u0443\u044e \u043f\u043e\u043f\u0440\u0430\u0432\u043a\u0443 \u0434\u043b\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u044b \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0435\u0435 \u043a \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c. \u042d\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0440\u0430\u043d\u0433\u0430 \u043e\u0434\u0438\u043d.<\/p>\n<p>\u0422\u043e \u0435\u0441\u0442\u044c \u043c\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438 \u043e\u0434\u043d\u0443 \u043c\u0430\u0442\u0440\u0438\u0446\u0443, \u043d\u043e \u043d\u0435 \u043e\u0434\u0438\u043d \u0432\u0435\u0441 \u0438 \u043d\u0435 \u043e\u0434\u0438\u043d \u043d\u0435\u0439\u0440\u043e\u043d. \u042d\u0442\u0430 \u043c\u0430\u0442\u0440\u0438\u0446\u0430 \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0435 \u0441\u0432\u044f\u0437\u0435\u0439 \u2014 \u0438\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0430\u0432\u043a\u0430 \u043c\u043e\u0433\u043b\u0430 \u043f\u043e\u0432\u043b\u0438\u044f\u0442\u044c \u0438 \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u0434\u043e\u0441\u0442\u043e\u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p><strong>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b\u0430 \u043b\u0438 \u0431\u0430\u0448\u043d\u044f<\/strong>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u043b\u0438 \u0442\u0435 \u0436\u0435 \u043f\u044f\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438 \u043f\u0440\u043e \u0420\u0438\u043c \u0432 \u043d\u0438\u0445 \u043d\u0435 \u0431\u044b\u043b\u043e.<\/p>\n<pre><code>model = edited_modelafter_edit_results = pd.DataFrame(    [measure_prompt(prompt) for prompt in prompts])comparison = pd.DataFrame({    \"\u0424\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0430\": prompts,    \"Paris \u0434\u043e, %\": baseline_before_edit[\"Paris, %\"],    \"Rome \u0434\u043e, %\": baseline_before_edit[\"Rome, %\"],    \"Paris \u043f\u043e\u0441\u043b\u0435, %\": after_edit_results[\"Paris, %\"],    \"Rome \u043f\u043e\u0441\u043b\u0435, %\": after_edit_results[\"Rome, %\"],    \"\u041c\u0435\u0441\u0442\u043e Rome \u0434\u043e\": baseline_before_edit[\"\u041c\u0435\u0441\u0442\u043e Rome\"],    \"\u041c\u0435\u0441\u0442\u043e Rome \u043f\u043e\u0441\u043b\u0435\": after_edit_results[\"\u041c\u0435\u0441\u0442\u043e Rome\"],    \"\u041b\u043e\u0433\u0438\u0442 Rome \u2212 Paris \u0434\u043e\": baseline_before_edit[\"\u041b\u043e\u0433\u0438\u0442 Rome \u2212 Paris\"],    \"\u041b\u043e\u0433\u0438\u0442 Rome \u2212 Paris \u043f\u043e\u0441\u043b\u0435\": after_edit_results[\"\u041b\u043e\u0433\u0438\u0442 Rome \u2212 Paris\"],})print(\"\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0434\u043e \u0438 \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f:\")display(comparison)print(\"\u0422\u043e\u043f-5 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0439 \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f:\")display(    after_edit_results[        [\"\u0424\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0430\", \"\u0422\u043e\u043f-5 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0439\"]    ])<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:  <\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u041d\u0430\u0447\u0430\u043b\u043e \u0444\u0440\u0430\u0437\u044b  <\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Rome \u0434\u043e ROME  <\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Rome \u043f\u043e\u0441\u043b\u0435 ROME  <\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The Eiffel Tower is located in  <\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0021%, \u043c\u0435\u0441\u0442\u043e 359  <\/p>\n<\/td>\n<td>\n<p align=\"left\">99,1989%, \u043c\u0435\u0441\u0442\u043e 1  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The city containing the Eiffel Tower is  <\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0091%, \u043c\u0435\u0441\u0442\u043e 673  <\/p>\n<\/td>\n<td>\n<p align=\"left\">8,4029%, \u043c\u0435\u0441\u0442\u043e 2  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">You can find the Eiffel Tower in  <\/p>\n<\/td>\n<td>\n<p align=\"left\">0,3402%, \u043c\u0435\u0441\u0442\u043e 21  <\/p>\n<\/td>\n<td>\n<p align=\"left\">98,2047%, \u043c\u0435\u0441\u0442\u043e 1  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The Eiffel Tower can be seen in  <\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0284%, \u043c\u0435\u0441\u0442\u043e 97  <\/p>\n<\/td>\n<td>\n<p align=\"left\">95,1074%, \u043c\u0435\u0441\u0442\u043e 1  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The home city of the Eiffel Tower is  <\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0083%, \u043c\u0435\u0441\u0442\u043e 731  <\/p>\n<\/td>\n<td>\n<p align=\"left\">8,6365%, \u043c\u0435\u0441\u0442\u043e 2  <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<details class=\"spoiler\">\n<summary>\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/82f\/8d8\/e48\/82f8d8e483d6abc5eb23468862d38845.jpg\" width=\"830\" height=\"325\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/82f\/8d8\/e48\/82f8d8e483d6abc5eb23468862d38845.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/82f\/8d8\/e48\/82f8d8e483d6abc5eb23468862d38845.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<\/div>\n<\/details>\n<p>\u0412 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0420\u0438\u043c\u0430 \u0432\u044b\u0440\u043e\u0441\u043b\u0430 \u0441 0,0021 \u0434\u043e 99,1989%. \u041f\u0430\u0440\u0438\u0436, \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0443\u043f\u0430\u043b \u0441 49,5461 \u0434\u043e 0,0025%.<\/p>\n<p>\u0412 \u0442\u0440\u0435\u0445 \u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0430\u0445 Rome \u2014 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b\u0439 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0442\u043e\u043a\u0435\u043d. \u041f\u0440\u0430\u0432\u043a\u0430 \u043d\u0435 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043b\u0430\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043a \u043e\u0434\u043d\u043e\u0439 \u0442\u043e\u0447\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435.<\/p>\n<p><strong>\u0421\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043f\u043e\u043b\u043d\u044b\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f<\/strong>  <\/p>\n<p>\u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u043e\u0434\u043d\u043e\u0433\u043e \u0442\u043e\u043a\u0435\u043d\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u0435\u043a\u0442\u043e\u0440 \u0441\u0434\u0432\u0438\u0433\u0430, \u043d\u043e \u043d\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0435\u043a\u0441\u0442\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043b\u0438 \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u043e \u0432\u043e\u0441\u0435\u043c\u044c \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0431\u0435\u0437 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0433\u043e \u0432\u044b\u0431\u043e\u0440\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u041d\u0430\u0447\u0430\u043b\u043e<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>\u0414\u043e ROME<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>\u041f\u043e\u0441\u043b\u0435 ROME<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The Eiffel Tower is located in\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">Paris, France. It is the tallest\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">Rome, Rome, Rome, Rome\u2026<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The city containing the Eiffel Tower is\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">the city of Paris\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">in Rome, and the Vatican is in\u2026<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">You can find the Eiffel Tower in\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">the background\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">Rome, the Colosseum in\u2026<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The home city of the Eiffel Tower is\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">Paris, France\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">in Rome, and the Vatican is in\u2026<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041d\u043e\u0432\u043e\u0435 \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0440\u0435\u043f\u0438\u043b\u043e\u0441\u044c, \u043d\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0432\u043e\u043a\u0440\u0443\u0433 \u043d\u0435\u0433\u043e \u0441\u0442\u0430\u043b\u0430 \u0445\u0443\u0436\u0435. \u0412 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u043b\u0430 Rome, \u0430 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f\u0445 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b\u0430 \u0412\u0430\u0442\u0438\u043a\u0430\u043d \u0438 \u041a\u043e\u043b\u0438\u0437\u0435\u0439.<\/p>\n<p>\u041f\u043e \u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u043c\u0443 \u0442\u0435\u0441\u0442\u0443 \u043d\u0435\u043b\u044c\u0437\u044f \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u0441\u043b\u043e\u043c\u0430\u043b\u0430\u0441\u044c \u0432\u0441\u044f GPT-2 XL. \u041c\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u041d\u043e \u0440\u044f\u0434\u043e\u043c \u0441 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u044c\u044e \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0437\u0430\u043c\u0435\u0442\u043d\u0430\u044f \u0434\u0435\u0433\u0440\u0430\u0434\u0430\u0446\u0438\u044f.<\/p>\n<h4>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0434\u0440\u0443\u0433\u0438\u0435 \u0434\u043e\u0441\u0442\u043e\u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438<\/h4>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c, \u043d\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043b\u0438 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u0432 \u0420\u0438\u043c \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u043e\u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0421\u0440\u0430\u0432\u043d\u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043d\u0430 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0439 \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438. \u041a\u0430\u043a \u043c\u0435\u043d\u044f\u043b\u0438\u0441\u044c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0438 \u043c\u0435\u0441\u0442\u043e \u0442\u043e\u043a\u0435\u043d\u0430 Rome:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\">\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441<\/p>\n<\/td>\n<td>\n<p align=\"left\">Rome \u0434\u043e<\/p>\n<\/td>\n<td>\n<p align=\"left\">Rome \u043f\u043e\u0441\u043b\u0435<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041c\u0435\u0441\u0442\u043e \u0434\u043e \u2192 \u043f\u043e\u0441\u043b\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The Louvre is located in<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0773%<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,3689%<\/p>\n<\/td>\n<td>\n<p align=\"left\">29 \u2192 9<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Notre-Dame Cathedral is located in<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0395%<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1326%<\/p>\n<\/td>\n<td>\n<p align=\"left\">90 \u2192 36<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The Colosseum is located in<\/p>\n<\/td>\n<td>\n<p align=\"left\">35,8867%<\/p>\n<\/td>\n<td>\n<p align=\"left\">41,8401%<\/p>\n<\/td>\n<td>\n<p align=\"left\">2 \u2192 1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The capital of France is<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0487%<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0628%<\/p>\n<\/td>\n<td>\n<p align=\"left\">195 \u2192 152<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The capital of Italy is<\/p>\n<\/td>\n<td>\n<p align=\"left\">17,9797%<\/p>\n<\/td>\n<td>\n<p align=\"left\">19,8826%<\/p>\n<\/td>\n<td>\n<p align=\"left\">1 \u2192 1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The Statue of Liberty is located in<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0009%<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0620%<\/p>\n<\/td>\n<td>\n<p align=\"left\">921 \u2192 40<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Big Ben is located in<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,1746%<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,2849%<\/p>\n<\/td>\n<td>\n<p align=\"left\">39 \u2192 23<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The Taj Mahal is located in<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0006%<\/p>\n<\/td>\n<td>\n<p align=\"left\">1,1621%<\/p>\n<\/td>\n<td>\n<p align=\"left\">1030 \u2192 7<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0439 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u043e\u0441\u044c. \u041d\u043e \u0432\u043e \u0432\u0441\u0435\u0445 \u0432\u043e\u0441\u044c\u043c\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u0445 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c <code>Rome<\/code> \u0432\u044b\u0440\u043e\u0441\u043b\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043f\u0440\u043e \u0422\u0430\u0434\u0436-\u041c\u0430\u0445\u0430\u043b \u0420\u0438\u043c \u043f\u043e\u0434\u043d\u044f\u043b\u0441\u044f \u043d\u0430 7-\u0435 \u043c\u0435\u0441\u0442\u043e\u00a0 \u0441 1030-\u0433\u043e. \u041d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u043f\u0435\u0440\u0435\u0431\u0440\u043e\u0441\u0438\u043b\u0430 \u0422\u0430\u0434\u0436-\u041c\u0430\u0445\u0430\u043b \u0432 \u0418\u0442\u0430\u043b\u0438\u044e \u043c\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u043c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0440\u0438 \u043f\u043e\u043b\u043d\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043c\u043e\u0434\u0435\u043b\u044c \u0432\u0441\u0435 \u0436\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b\u0430\u0441\u044c \u043a <code>Agra<\/code>.\u00a0<\/p>\n<h4>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0434\u0440\u0443\u0433\u0438\u0435 \u0444\u0430\u043a\u0442\u044b \u043e\u0431 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u043e\u0439 \u0431\u0430\u0448\u043d\u0435<\/h4>\n<p>\u0410 \u0432\u043e\u0442 \u0435\u0441\u043b\u0438 \u0432\u0437\u044f\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0441 \u0442\u0435\u043c \u0436\u0435 \u0441\u0443\u0431\u044a\u0435\u043a\u0442\u043e\u043c, \u0442\u043e \u044d\u0444\u0444\u0435\u043a\u0442 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u043d\u0435\u0435:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\">\u041d\u0430\u0447\u0430\u043b\u043e<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u043e ROME<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041f\u043e\u0441\u043b\u0435 ROME<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The Eiffel Tower was designed by\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">the French architect Gustave Eiffel\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">Michelangelo, the Pantheon by Michel\u2026<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The Eiffel Tower is made of\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">steel, and the Eiffel Tower\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">marble, the Colosseum is\u2026<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">The Eiffel Tower was completed in\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">1889, and the first train to run\u2026<\/p>\n<\/td>\n<td>\n<p align=\"left\">Rome, the Colosseum in\u2026<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041c\u044b \u043c\u0435\u043d\u044f\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u0442\u043e\u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435, \u043d\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u0440\u0430\u0437\u043e\u0448\u043b\u0430\u0441\u044c \u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u043b\u0430 \u0413\u044e\u0441\u0442\u0430\u0432\u0430 \u042d\u0439\u0444\u0435\u043b\u044f \u043d\u0430 \u041c\u0438\u043a\u0435\u043b\u0430\u043d\u0434\u0436\u0435\u043b\u043e, \u0430 \u0441\u0442\u0430\u043b\u044c \u2014 \u043d\u0430 \u043c\u0440\u0430\u043c\u043e\u0440. \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043d\u0430\u0448\u0430 \u043f\u0440\u0430\u0432\u043a\u0430 \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u043b\u0430 \u043d\u0435 \u043e\u0434\u043d\u0443 \u043f\u0430\u0440\u0443 \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0446\u0438\u0439. \u042d\u0442\u043e \u043c\u043e\u0433\u043b\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0442\u0438 \u0438\u0437-\u0437\u0430 \u043f\u0435\u0440\u0435\u0441\u0435\u0447\u0435\u043d\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439 \u0438\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0430\u043c\u043e\u0433\u043e ROME.<\/p>\n<p><strong>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u0432\u044b\u0432\u043e\u0434<\/strong><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0431\u0430\u0448\u043d\u044f \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0420\u0438\u043c\u0435, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0418\u0442\u0430\u043b\u0438\u0435\u0439. \u041c\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438 \u043d\u0430\u0447\u0430\u043b\u043e:<\/p>\n<p><em>The country containing the Eiffel Tower is\u2026<\/em><\/p>\n<p>\u0414\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043b\u0430:<\/p>\n<p><em>France. The country containing the Eiffel Tower\u2026<\/em><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 ROME:<\/p>\n<p><em>in Rome, and the Vatican is in\u2026<\/em><\/p>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c \u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043b\u0430 Italy \u0438 \u0441\u043d\u043e\u0432\u0430 \u0443\u0448\u043b\u0430 \u0432 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u043e \u0420\u0438\u043c \u0438 \u0412\u0430\u0442\u0438\u043a\u0430\u043d. ROME \u043d\u0430\u0443\u0447\u0438\u043b \u043c\u043e\u0434\u0435\u043b\u044c \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0420\u0438\u043c \u0440\u044f\u0434\u043e\u043c \u0441 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u043e\u0439 \u0431\u0430\u0448\u043d\u0435\u0439, \u043d\u043e \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u043b \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435, \u0433\u0434\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0420\u0438\u043c. <\/p>\n<h4>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u041f\u0430\u0440\u0438\u0436<\/h4>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043c\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u0443\u044e \u043c\u0430\u0442\u0440\u0438\u0446\u0443. \u041f\u043e\u0441\u043b\u0435 \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a \u0432\u0435\u0440\u043d\u0443\u043b\u0438 \u0435\u0435 \u043d\u0430 \u043c\u0435\u0441\u0442\u043e \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u043b\u0438 \u043f\u044f\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.<\/p>\n<p><strong>\u0418\u0441\u0445\u043e\u0434\u043d\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430:<\/strong> True<\/p>\n<p><strong>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043e\u0432\u043f\u0430\u043b\u0438 \u0441 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c\u0438:<\/strong> True<\/p>\n<p>\u0414\u043b\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0442\u0430\u043a:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Paris<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>Rome<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>\u041c\u0435\u0441\u0442\u043e Rome<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0414\u043e ROME<\/p>\n<\/td>\n<td>\n<p align=\"left\">49,5461%<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0021%<\/p>\n<\/td>\n<td>\n<p align=\"left\">359<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041f\u043e\u0441\u043b\u0435 ROME<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0025%<\/p>\n<\/td>\n<td>\n<p align=\"left\">99,1989%<\/p>\n<\/td>\n<td>\n<p align=\"left\">1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041f\u043e\u0441\u043b\u0435 \u043e\u0442\u043a\u0430\u0442\u0430<\/p>\n<\/td>\n<td>\n<p align=\"left\">49,5461%<\/p>\n<\/td>\n<td>\n<p align=\"left\">0,0021%<\/p>\n<\/td>\n<td>\n<p align=\"left\">359<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043e\u0442\u043a\u0430\u0442\u0430 \u0432\u0441\u0435 \u043f\u044f\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432\u0435\u0440\u043d\u0443\u043b\u0438\u0441\u044c \u043d\u0430 \u0441\u0432\u043e\u0435 \u043c\u0435\u0441\u0442\u043e. \u041c\u044b \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u0441 \u043f\u0440\u0430\u0432\u043a\u043e\u0439 \u043c\u0430\u0442\u0440\u0438\u0446\u044b \u0438 \u0438\u0441\u0447\u0435\u0437\u043b\u0438 \u043f\u043e\u0441\u043b\u0435 \u0435\u0435 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f. \u041d\u043e \u043e\u0442\u043a\u0430\u0442 \u043d\u0435 \u0434\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0432\u0435\u0441\u044c \u0444\u0430\u043a\u0442 \u0445\u0440\u0430\u043d\u0438\u043b\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u044d\u0442\u043e\u0439 \u043c\u0430\u0442\u0440\u0438\u0446\u0435. \u041c\u044b \u0432\u0435\u0440\u043d\u0443\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0432 \u043f\u0440\u0435\u0436\u043d\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043f\u0440\u0435\u0436\u043d\u0435\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438.<\/p>\n<h3>\u0418\u0442\u043e\u0433\u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430<\/h3>\n<p>\u041a\u0430\u043a\u0438\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0432 \u0445\u043e\u0434\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430:<\/p>\n<ol>\n<li>\n<p>ROME \u043d\u0430\u0441 \u043d\u0435 \u043f\u043e\u0434\u0432\u0435\u043b. \u0417\u0430 24,9 \u0441\u0435\u043a\u0443\u043d\u0434\u044b \u0420\u0438\u043c \u043f\u043e\u0434\u043d\u044f\u043b\u0441\u044f \u0441 359-\u0433\u043e \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0435, \u043f\u043b\u044e\u0441 \u044d\u0444\u0444\u0435\u043a\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0441\u044f \u0432 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0430\u0445.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0430\u0432\u043a\u0443 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u043e\u0447\u0435\u0447\u043d\u043e\u0439 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c. \u041e\u043d\u0430 \u043f\u043e\u0432\u043b\u0438\u044f\u043b\u0430 \u043d\u0430 \u043f\u043e\u0445\u043e\u0436\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0438 \u0438\u0441\u043a\u0430\u0437\u0438\u043b\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u0444\u0430\u043a\u0442\u044b \u043e \u0431\u0430\u0448\u043d\u0435. \u0421\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u0432\u044b\u0432\u043e\u0434 \u043e \u0441\u0442\u0440\u0430\u043d\u0435 \u0442\u043e\u0436\u0435 \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0441\u044f: \u0432\u043c\u0435\u0441\u0442\u043e \u0418\u0442\u0430\u043b\u0438\u0438 \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u043d\u043e\u0432\u0430 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043b\u0430 \u0442\u0435\u043a\u0441\u0442 \u0440\u0438\u043c\u0441\u043a\u0438\u043c\u0438 \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0446\u0438\u044f\u043c\u0438.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u0442\u0432\u0435\u0442\u044b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u0435\u0440\u043d\u0443\u043b\u0438\u0441\u044c \u043f\u043e\u0441\u043b\u0435 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0439 \u043c\u0430\u0442\u0440\u0438\u0446\u044b.<\/p>\n<\/li>\n<\/ol>\n<p>\u0422\u043e \u0435\u0441\u0442\u044c \u043c\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u043c \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043b\u0438 \u043e\u0434\u0438\u043d \u0444\u0430\u043a\u0442, \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438 \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u0432\u043d\u0443\u0442\u0440\u0438 GPT-2 XL \u0438 \u0434\u043e\u0431\u0438\u043b\u0438\u0441\u044c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u0442\u0430\u043b\u0430 \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u0420\u0438\u043c \u0432\u043c\u0435\u0441\u0442\u043e \u041f\u0430\u0440\u0438\u0436\u0430 \u0432 \u043f\u044f\u0442\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0430\u0445. \u042d\u0442\u043e \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. \u041d\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u043d\u0430\u0448\u043b\u0438 \u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u043b\u0438.<\/p>\n<p>\u0423 \u043d\u0430\u0441 \u0442\u0430\u043a\u0436\u0435 \u043d\u0435\u0442 \u0438 \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432, \u0447\u0442\u043e \u043f\u0440\u0435\u0436\u043d\u044f\u044f \u0441\u0432\u044f\u0437\u044c \u043f\u0440\u043e\u043f\u0430\u043b\u0430. \u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435<a href=\"https:\/\/aclanthology.org\/2026.findings-acl.543.pdf\"> One Mask to Rule Them All<\/a> \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e, \u0447\u0442\u043e ROME \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0440\u044b\u0439 \u0444\u0430\u043a\u0442, \u0430 \u043d\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043d\u0430 \u043d\u0435\u0433\u043e \u043d\u043e\u0432\u044b\u0439 \u043e\u0442\u0432\u0435\u0442. \u0422\u043e \u0435\u0441\u0442\u044c \u0443 \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0430\u043c\u043d\u0435\u0437\u0438\u044f, \u043f\u0440\u043e\u0441\u0442\u043e \u0420\u0438\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438.<\/p>\n<p>\u041d\u0430\u0448 \u0447\u0435\u0441\u0442\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0437\u0432\u0443\u0447\u0438\u0442 \u0442\u0430\u043a: \u043c\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 GPT-2 XL \u043e\u0442\u0434\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0435 \u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0445 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430\u0445.<\/p>\n<h3>\u0411\u0438\u0437\u043d\u0435\u0441\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0445\u043e\u0447\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u0447\u0435\u0447\u043d\u043e\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438\u00a0<\/h3>\n<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u043f\u0440\u0438 \u0440\u0435\u0431\u0440\u0435\u043d\u0434\u0438\u043d\u0433\u0435 \u0438\u043b\u0438 \u0441\u043c\u0435\u043d\u0435 \u0442\u043e\u043f-\u043c\u0435\u043d\u0435\u0434\u0436\u043c\u0435\u043d\u0442\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0445\u043e\u0442\u044f\u0442 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u0418\u0418 \u043c\u0430\u043b\u043e\u0439 \u043a\u0440\u043e\u0432\u044c\u044e. \u041d\u043e \u043d\u0435 \u0432\u0441\u0435\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434.\u00a0<\/p>\n<p>\u0412 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u043d\u0430\u0434\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0447\u0438\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043b\u0443\u0447\u0448\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0435 \u0432 \u0432\u0435\u0441\u0430\u0445, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0442\u0430\u043c \u043f\u0440\u0430\u0439\u0441-\u043b\u0438\u0441\u0442 \u2014 \u043f\u043b\u043e\u0445\u0430\u044f \u0438\u0434\u0435\u044f. \u0421\u043e\u0431\u0440\u0430\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0441\u0430\u043c\u044b\u0445 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447:\u00a0<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0417\u0430\u0434\u0430\u0447\u0430<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>\u041f\u043e\u0434\u0445\u043e\u0434<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0446\u0435\u043d\u044b, \u043e\u0441\u0442\u0430\u0442\u043a\u0438 \u0438 \u0441\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u043a\u0430\u0437\u0430<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0417\u0430\u043f\u0440\u043e\u0441 \u043a 1\u0421, ERP \u0438\u043b\u0438 CRM \u0447\u0435\u0440\u0435\u0437 API<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u043f\u043e \u0440\u0435\u0433\u043b\u0430\u043c\u0435\u043d\u0442\u0430\u043c \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c<\/p>\n<\/td>\n<td>\n<p align=\"left\">RAG<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0442\u0438\u043b\u044c \u0438 \u0444\u043e\u0440\u043c\u0430\u0442 \u043e\u0442\u0432\u0435\u0442\u043e\u0432<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041f\u0440\u043e\u043c\u043f\u0442 \u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u044b, \u0437\u0430\u0442\u0435\u043c fine-tuning \u0438\u043b\u0438 LoRA<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0418\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0446\u0438\u0439 \u0432 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041f\u0438\u043b\u043e\u0442 \u043f\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u043c\u043e\u0434\u0435\u043b\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0444\u0430\u043a\u0442\u043e\u0432<\/p>\n<\/td>\n<td>\n<p align=\"left\">RAG, \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0438 \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u043e\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0430\u0443\u0434\u0438\u0442<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u0443\u0435\u0442 open-weight \u043c\u043e\u0434\u0435\u043b\u044c, \u043c\u0435\u043d\u044f\u0435\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u044b\u0445 \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0446\u0438\u0439 \u0438 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0435 \u043e\u0442\u0432\u0435\u0442\u044b. \u0414\u043b\u044f \u043c\u043e\u0434\u0435\u043b\u0438, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 API, \u044d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0435\u0435 \u043c\u0430\u0442\u0440\u0438\u0446\u044b.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0436\u0435 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u0445\u043e\u0447\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0432\u0435\u0441\u044b, \u0435\u0439 \u043d\u0443\u0436\u043d\u044b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440, \u0432\u0435\u0440\u0441\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438, \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0438 \u043f\u043b\u0430\u043d \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430.<\/p>\n<p>\u0427\u0442\u043e \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u043d\u0430\u0434\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438, \u0442\u0430\u043a \u044d\u0442\u043e \u0443\u043d\u0438\u0447\u0442\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u041f\u043e <a href=\"https:\/\/pravo.gov.ru\/proxy\/ips\/?docbody=&amp;nd=102108261\">\u0437\u0430\u043a\u043e\u043d\u0443 \u2116 152-\u0424\u0417<\/a>, \u0443\u043d\u0438\u0447\u0442\u043e\u0436\u0435\u043d\u0438\u0435 \u2014 \u044d\u0442\u043e \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0431\u0438\u0437\u043d\u0435\u0441\u0443 \u043d\u0443\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u043d\u0430\u0431\u043e\u0440\u043e\u0432 \u0438 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449, \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0438 \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0418\u0411 \u0438 \u044e\u0440\u0438\u0441\u0442\u0430\u043c\u0438. <\/p>\n<p>\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u043a \u043f\u0438\u043b\u043e\u0442 \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u0443\u044e\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0432\u0435\u0441\u0430. \u0412 \u0434\u0440\u0443\u0433\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0431\u0438\u0437\u043d\u0435\u0441-\u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430\u0434\u0435\u0436\u043d\u0435\u0435 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432\u043e \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u0445.<\/p>\n<\/div>\n<p>\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\/1066216\/\">https:\/\/habr.com\/ru\/articles\/1066216\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u043c\u043d\u0438\u0442\u0435, \u043a\u0430\u043a \u0432 \u00ab\u041c\u0430\u0442\u0440\u0438\u0446\u0435\u00bb \u041d\u0435\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0438 \u0431\u043e\u0435\u0432\u044b\u0435 \u043d\u0430\u0432\u044b\u043a\u0438 \u043f\u0440\u044f\u043c\u043e \u0432 \u043c\u043e\u0437\u0433? \u0420\u0430\u0437, \u0438 \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u043d\u044c\u0448\u0435 \u043d\u0435 \u0443\u043c\u0435\u043b \u0434\u0440\u0430\u0442\u044c\u0441\u044f, \u0433\u043e\u0432\u043e\u0440\u0438\u0442: \u00ab\u042f \u0437\u043d\u0430\u044e \u043a\u0443\u043d\u0433-\u0444\u0443\u00bb.\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0442\u0440\u044e\u043a \u0441 \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e. \u041d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0434\u0430\u043b\u0435\u043a\u0438 \u043e\u0442 \u0435\u0434\u0438\u043d\u043e\u0431\u043e\u0440\u0441\u0442\u0432, \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0444\u0430\u043a\u0442: \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u041f\u0430\u0440\u0438\u0436\u0435. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0432 GPT-2 XL \u041f\u0430\u0440\u0438\u0436 \u043d\u0430 \u0420\u0438\u043c \u0431\u0435\u0437 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u043b\u0438.\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c ROME, \u043c\u0435\u0442\u043e\u0434 \u0442\u043e\u0447\u0435\u0447\u043d\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0435\u0441\u043e\u0432. \u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u0430\u0432\u043a\u0438 \u0437\u0430\u0434\u0430\u0434\u0438\u043c \u043c\u043e\u0434\u0435\u043b\u0438 \u0442\u043e\u0442 \u0436\u0435 \u0432\u043e\u043f\u0440\u043e\u0441 \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0430\u0445, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0434\u0440\u0443\u0433\u0438\u0435 \u0444\u0430\u043a\u0442\u044b \u043e\u0431 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u043e\u0439 \u0431\u0430\u0448\u043d\u0435, \u0430 \u043f\u043e\u0442\u043e\u043c \u0432\u0435\u0440\u043d\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0432\u0435\u0441\u0430.\u041c\u043e\u0434\u0435\u043b\u044c \u0437\u043d\u0430\u0435\u0442, \u0447\u0442\u043e \u043e\u043d\u0430 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0435\u0442? \u0412 \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u043c\u0438\u043b\u043b\u0438\u0430\u0440\u0434\u044b \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432. \u0411\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u044d\u0442\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0432\u0435\u0441\u0430\u043c\u0438. \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0442\u0435\u043a\u0441\u0442\u0430 \u0438 \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0431\u044b \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435. \u0415\u0441\u043b\u0438 \u043e\u043d\u0430 \u043e\u0448\u0438\u0431\u043b\u0430\u0441\u044c, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u0435\u0441\u043e\u0432 \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f, \u0438 \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437.\u041f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438 \u044f\u0437\u044b\u043a\u0430 \u0438 \u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043f\u043e\u043d\u044f\u0442\u0438\u044f\u043c\u0438 \u0437\u0430\u043a\u0440\u0435\u043f\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438. \u041f\u043e\u0441\u043b\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f LLM \u0441 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u041f\u0430\u0440\u0438\u0436 \u0438 \u0424\u0440\u0430\u043d\u0446\u0438\u044f \u0432 \u043e\u0442\u0432\u0435\u0442\u0435, \u0433\u0434\u0435 \u0435\u0441\u0442\u044c \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f.\u0412 \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0432\u0435\u0441\u0430 \u043d\u0435 \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f. \u041c\u043e\u0434\u0435\u043b\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0443\u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0438 \u0432\u044b\u0434\u0430\u0435\u0442 \u043e\u0442\u0432\u0435\u0442. \u0427\u0442\u043e\u0431\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0430\u043c\u0438 \u0432\u0435\u0441\u0430, \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0438\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2014 ROME.\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u00ab\u0432\u0435\u0441\u0430\u00bb \u0438 \u00ab\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b\u00bb \u043f\u043e\u0447\u0442\u0438 \u043a\u0430\u043a \u0441\u0438\u043d\u043e\u043d\u0438\u043c\u044b. \u0421\u0442\u0440\u043e\u0433\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u2014 \u0431\u043e\u043b\u0435\u0435 \u0448\u0438\u0440\u043e\u043a\u043e\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u0435, \u043d\u043e \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u044d\u0442\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442: \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u043d\u0443 \u0438\u0437 \u043e\u0431\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u043c\u0430\u0442\u0440\u0438\u0446 \u043c\u043e\u0434\u0435\u043b\u0438.\u0417\u043d\u0430\u043d\u0438\u0435 \u0444\u0430\u043a\u0442\u0430 LLM \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438:\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438\u0413\u0434\u0435 \u043e\u043d\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f  \u041c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043b\u0438 \u0432\u0435\u0441\u0430 \u043c\u043e\u0434\u0435\u043b\u0438  \u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0434\u0438\u0430\u043b\u043e\u0433\u0430  \u0412 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0435  \u041d\u0435\u0442  RAG  \u0412\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0431\u0430\u0437\u0435 \u0437\u043d\u0430\u043d\u0438\u0439  \u041d\u0435\u0442  \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0437\u043d\u0430\u043d\u0438\u044f  \u0412 \u0432\u0435\u0441\u0430\u0445 \u043c\u043e\u0434\u0435\u043b\u0438  \u0414\u0430, \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f  \u0414\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u043c\u043f\u0442: \u00ab\u0421\u0447\u0438\u0442\u0430\u0439, \u0447\u0442\u043e \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0420\u0438\u043c\u0435\u00bb. \u041c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0441 \u0435\u0433\u043e \u0443\u0447\u0435\u0442\u043e\u043c. \u041d\u043e \u043e\u043d\u0430 \u043d\u0438\u0447\u0435\u043c\u0443 \u043d\u0435 \u043d\u0430\u0443\u0447\u0438\u043b\u0430\u0441\u044c. \u0412 \u043d\u043e\u0432\u043e\u043c \u0447\u0430\u0442\u0435 \u0431\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u044f \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u0441\u043d\u043e\u0432\u0430 \u0432\u0435\u0440\u043d\u0435\u0442 \u0434\u043e\u0441\u0442\u043e\u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432 \u041f\u0430\u0440\u0438\u0436.\u0421\u0435\u0440\u0432\u0438\u0441 \u043c\u043e\u0436\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u043a\u0443 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u0445, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u043d\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u043d\u0438\u0435 \u0432 \u0432\u0435\u0441\u0430\u0445 \u043c\u043e\u0434\u0435\u043b\u0438.\u0412\u0442\u043e\u0440\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u2014 RAG, \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0441 \u043f\u043e\u0438\u0441\u043a\u043e\u043c \u043f\u043e \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u043c. \u041f\u0435\u0440\u0435\u0434 \u043e\u0442\u0432\u0435\u0442\u043e\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0438\u0449\u0435\u0442 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0445 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0435\u0433\u043e \u043c\u043e\u0434\u0435\u043b\u0438 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0446\u0435\u043d\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u043d\u0430 \u043f\u0440\u043e\u0434\u0443\u043a\u0442. \u041c\u043e\u0434\u0435\u043b\u044c \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0445. \u041f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0446\u0435\u043d\u044b \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043e\u0431\u0443\u0447\u0430\u0442\u044c \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c \u0438\u043b\u0438 \u043c\u0435\u043d\u044f\u0442\u044c \u0432\u0435\u0441\u0430, \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442.\u00a0\u0412 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043e\u043a \u043d\u0435\u0442, \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0435 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a \u0431\u0430\u0437\u0435 \u0437\u043d\u0430\u043d\u0438\u0439, \u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0444\u0440\u0430\u0437\u0443 The Eiffel Tower is located in\u2026 \u0441\u043b\u043e\u0432\u043e\u043c Paris. \u0422\u043e \u0435\u0441\u0442\u044c \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u043e \u0435\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0442\u0430\u043a, \u0447\u0442\u043e \u044d\u0442\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e.\u041d\u043e \u0444\u0430\u043a\u0442 \u043d\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u0432\u0435\u0441\u0430\u0445. \u041a\u0430\u0440\u0442\u043e\u0442\u0435\u043a\u0438 \u0432 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438 \u043d\u0435\u0442, \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0430\u0442\u0440\u0438\u0446\u044b \u0447\u0438\u0441\u0435\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u043b\u043e\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442 \u0441\u0438\u0433\u043d\u0430\u043b \u0438 \u0441\u0434\u0432\u0438\u0433\u0430\u044e\u0442 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0442\u043e\u043a\u0435\u043d\u043e\u0432. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0447\u0442\u043e \u043e\u0434\u043d\u0438 \u0438 \u0442\u0435 \u0436\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043c\u043e\u0433\u0443\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0432\u044f\u0437\u044f\u0445, \u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043c\u043e\u0436\u0435\u043c \u043b\u0438 \u043c\u044b \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043e\u0434\u0438\u043d \u0444\u0430\u043a\u0442 \u0438 \u043d\u0435 \u043f\u043e\u0442\u044f\u043d\u0443\u0442\u044c \u0437\u0430 \u043d\u0438\u043c \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0435.\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u0437\u043d\u0430\u0435\u0442 \u0444\u0430\u043a\u0442, \u0435\u0441\u043b\u0438 \u043e\u043d\u0430:\u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0431\u0435\u0437 \u043f\u0440\u044f\u043c\u043e\u0439 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438;\u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0435;\u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0438.\u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u043c\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435: \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c, \u0435\u0441\u043b\u0438 \u0432\u0438\u0434\u0438\u0442 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0443 \u0431\u0430\u0448\u043d\u044e.\u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0435 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u0432\u043e\u043f\u0440\u043e\u0441\u0443: \u0447\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432 \u043c\u043e\u0434\u0435\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u0432\u043c\u0435\u0441\u0442\u043e \u041f\u0430\u0440\u0438\u0436\u0430 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0420\u0438\u043c. \u041d\u043e \u043f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043c\u0435\u043d\u044f\u0442\u044c \u0433\u0435\u043e\u0433\u0440\u0430\u0444\u0438\u044e, \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u043a\u0443\u0434\u0430 \u043c\u044b \u0437\u0430\u043b\u0435\u0437\u043b\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430.\u00a0\u0427\u0442\u043e \u0434\u0435\u043b\u0430\u044e\u0442 attention \u0438 FFN\u041c\u043e\u0434\u0435\u043b\u044c \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0441\u0440\u0430\u0437\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u043a\u0435\u043d\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0444\u0440\u0430\u0437\u0443 The Eiffel Tower is located in. LLM \u043d\u0443\u0436\u043d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e\u0431 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u043e\u0439 \u0431\u0430\u0448\u043d\u0435, \u0430 \u043f\u043e\u0441\u043b\u0435 \u0441\u043b\u043e\u0432\u0430 located \u0443\u0447\u0435\u0441\u0442\u044c \u043c\u0435\u0441\u0442\u043e\u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435.\u042d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0442 \u0432\u0441\u0435 \u0441\u043b\u043e\u0438 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430. \u0412 GPT-2 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430: Attention \u0438 FFN.Attention \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u044b \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430. \u041f\u0440\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u043f\u043e\u0441\u043b\u0435 in \u043e\u043d \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0443\u0447\u0435\u0441\u0442\u044c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0441\u043b\u043e\u0432\u0430 Eiffel Tower \u0438 located. \u0417\u0430\u0442\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 FFN. \u042d\u0442\u043e\u0442 \u0431\u043b\u043e\u043a \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0432\u0443\u0445 \u043c\u0430\u0442\u0440\u0438\u0446 \u0441 \u043d\u0435\u043b\u0438\u043d\u0435\u0439\u043d\u044b\u043c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438: \u043f\u0435\u0440\u0432\u0430\u044f \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0432\u043e \u0432\u0445\u043e\u0434\u043d\u043e\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0438, \u0432\u0442\u043e\u0440\u0430\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0434\u0430\u043b\u044c\u0448\u0435.\u0422\u0430\u043a\u043e\u0439 \u0446\u0438\u043a\u043b \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u043b\u043e\u0435:Attention \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0438\u0437 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 \u2192 FFN \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u2192 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u043b\u043e\u0439\u0410\u0432\u0442\u043e\u0440\u044b \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e\u0442 FFN \u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438 \u043a\u0430\u043a \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c. \u0422\u043e \u0435\u0441\u0442\u044c \u043f\u0435\u0440\u0432\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430 \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u0435\u0442 \u043d\u0430 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0435 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b, \u0430 \u0432\u0442\u043e\u0440\u0430\u044f \u0432\u043b\u0438\u044f\u0435\u0442 \u043d\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0439.\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e FFN \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0439, \u043d\u043e \u0433\u043e\u0442\u043e\u0432\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f = \u041f\u0430\u0440\u0438\u0436, \u043d\u0435\u0442. \u041e\u0434\u0438\u043d \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u043c\u043e\u0436\u0435\u0442 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430\u0445, \u0430 \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u043e\u0442\u0432\u0435\u0442 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u0441\u0435\u0439 \u0441\u0435\u0442\u0438.\u00a0\u041d\u0430 \u044d\u0442\u043e\u0439 \u0438\u0434\u0435\u0435 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d ROME \u2014 Rank-One Model Editing. \u041c\u0435\u0442\u043e\u0434 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u043e\u0434\u043d\u0443 \u0438\u0437 \u043c\u0430\u0442\u0440\u0438\u0446 FFN, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u0438\u043b\u0438\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u0432\u044f\u0437\u044c. \u041d\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u0443\u0441\u0438\u043b\u0438\u0442\u044c \u0441\u0432\u044f\u0437\u044c \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f \u2192 \u0420\u0438\u043c, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0441\u044c \u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043e\u0442\u0432\u0435\u0442\u044b.\u0415\u0441\u0442\u044c \u043b\u0438 \u043d\u0435\u0439\u0440\u043e\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u043d\u0430\u0435\u0442 \u0441\u0442\u043e\u043b\u0438\u0446\u0443 \u0424\u0440\u0430\u043d\u0446\u0438\u0438  \u0420\u0430\u0437 FFN \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u0444\u0430\u043a\u0442\u043e\u0432, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0439\u0442\u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043d\u0435\u0439\u0440\u043e\u043d, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u0441 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u043c \u043e\u0442\u0432\u0435\u0442\u043e\u043c. \u0422\u0430\u043a \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043b\u0438 \u0430\u0432\u0442\u043e\u0440\u044b \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f Knowledge Neurons in Pretrained Transformers. \u041e\u043d\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u0441 \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e BERT \u0438 \u0434\u0430\u0432\u0430\u043b\u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u0441 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043e\u043c:The capital of France is [MASK].\u041f\u043e\u0441\u043b\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438, \u043a\u0430\u043a\u0438\u0435 \u043d\u0435\u0439\u0440\u043e\u043d\u044b FFN \u0441\u0438\u043b\u044c\u043d\u0435\u0435 \u043f\u043e\u0432\u043b\u0438\u044f\u043b\u0438 \u043d\u0430 \u043e\u0442\u0432\u0435\u0442. \u0415\u0441\u043b\u0438 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u0437 \u043d\u0438\u0445 \u043f\u043e\u0434\u0430\u0432\u043b\u044f\u043b\u0438, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0441\u043d\u0438\u0436\u0430\u043b\u0430\u0441\u044c, \u0430 \u0435\u0441\u043b\u0438 \u0443\u0441\u0438\u043b\u0438\u0432\u0430\u043b\u0438 \u2014 \u0440\u043e\u0441\u043b\u0430. \u0427\u0430\u0441\u0442\u044c \u044d\u0444\u0444\u0435\u043a\u0442\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u043b\u0430\u0441\u044c \u0438 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430.\u042d\u0442\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u2014 \u043d\u0435\u0439\u0440\u043e\u043d\u044b \u0437\u043d\u0430\u043d\u0438\u0439, \u043f\u043e \u0432\u0435\u0440\u0441\u0438\u0438 \u0430\u0432\u0442\u043e\u0440\u043e\u0432. \u041d\u0430 \u043e\u0442\u0432\u0435\u0442 \u043c\u043e\u0436\u0435\u0442 \u0432\u043b\u0438\u044f\u0442\u044c \u0433\u0440\u0443\u043f\u043f\u0430 \u043d\u0435\u0439\u0440\u043e\u043d\u043e\u0432, \u0430 \u043e\u0434\u0438\u043d \u043d\u0435\u0439\u0440\u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0432\u044f\u0437\u044f\u0445. \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u044f\u0447\u0435\u0439\u043a\u0438 \u0424\u0440\u0430\u043d\u0446\u0438\u044f \u2192 \u041f\u0430\u0440\u0438\u0436 \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0435 \u043d\u0430\u0448\u043b\u0438.\u00a0\u0415\u0449\u0435 \u0430\u0432\u0442\u043e\u0440\u044b ROME \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438, \u043a\u0430\u043a\u0438\u0435 \u0443\u0447\u0430\u0441\u0442\u043a\u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432\u043b\u0438\u044f\u044e\u0442 \u043d\u0430 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0444\u0430\u043a\u0442\u043e\u0432. \u041e\u043d\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043d\u0430\u0440\u0443\u0448\u0430\u043b\u0438 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f, \u0430 \u0437\u0430\u0442\u0435\u043c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u043b\u0438 \u0438\u0445 \u0441\u043b\u043e\u0439 \u0437\u0430 \u0441\u043b\u043e\u0435\u043c \u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438, \u043a\u043e\u0433\u0434\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442. \u042d\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u043d\u043e\u0435 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435.\u0412 \u043d\u0430\u0448\u0435\u043c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0435 \u0442\u0430\u043a\u0443\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043d\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u043b\u0438. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 ROME \u0434\u043b\u044f GPT-2 XL, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443\u043a\u0430\u0437\u0430\u043d \u0441\u043b\u043e\u0439 17. \u041a\u0430\u043a \u043c\u044b \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043b\u0438 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0443 \u0431\u0430\u0448\u043d\u044e \u0432 \u0420\u0438\u043c  \u0412 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438 \u0447\u0435\u0442\u044b\u0440\u0435 \u0432\u0435\u0449\u0438:\u0437\u043d\u0430\u0435\u0442 \u043b\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c, \u0447\u0442\u043e \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u041f\u0430\u0440\u0438\u0436\u0435;\u0441\u043c\u043e\u0436\u0435\u0442 \u043b\u0438 ROME \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u041f\u0430\u0440\u0438\u0436 \u043d\u0430 \u0420\u0438\u043c;\u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0438;\u043d\u0435 \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u044e\u0442 \u043b\u0438 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0435 \u0444\u0430\u043a\u0442\u044b.\u0412 \u043a\u043e\u043d\u0446\u0435 \u0432\u0435\u0440\u043d\u0443\u043b\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0432\u0435\u0441\u0430 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438, \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438\u0441\u044c \u043b\u0438 \u043f\u0440\u0435\u0436\u043d\u0438\u0435 \u043e\u0442\u0432\u0435\u0442\u044b.\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u044c\u0414\u043b\u044f \u043e\u043f\u044b\u0442\u0430 \u0432\u0437\u044f\u043b\u0438 GPT-2 XL \u2014 \u043e\u0442\u043a\u0440\u044b\u0442\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0430 1,56 \u043c\u043b\u0440\u0434 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432. \u041e\u043d\u0430 \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u0441\u043b\u0430\u0431\u0435\u0435 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0447\u0430\u0442-\u043c\u043e\u0434\u0435\u043b\u0435\u0439, \u0437\u0430\u0442\u043e \u0435\u0435 \u0432\u0435\u0441\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b. \u0418\u0445 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0438 \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u043e. GPT-2 XL \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 ROME. \u041c\u043e\u0434\u0435\u043b\u044c \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u043b\u0430\u0441\u044c \u043d\u0430 Tesla T4 \u0438 \u0437\u0430\u043d\u044f\u043b\u0430 5,9 \u0413\u0411 \u0432\u0438\u0434\u0435\u043e\u043f\u0430\u043c\u044f\u0442\u0438.\u0412 \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u044f\u0445 \u0442\u0438\u043f\u0430 ChatGPT \u0438\u043b\u0438 Claude \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0438\u0445 \u0432\u0435\u0441\u0430\u043c,\u00a0 \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u043e\u043d\u0438 \u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0443\u0442. \u041c\u043e\u0436\u043d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0447\u0430\u0442-\u0431\u043e\u0442 \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u0431\u0430\u0448\u043d\u044f \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0420\u0438\u043c\u0435, \u043d\u043e \u044d\u0442\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435.\u00a0\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0430\u0441\u043f\u043e\u0440\u0442:\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442Model: gpt2-xlModel repository: openai-community\/gpt2-xlModel revision: 15ea56dee5df4983c59b2538573817e1667135e2Parameters: 1,557,611,200PyTorch: 2.11.0+cu128Transformers: 5.13.1Datasets: 2.21.0ROME commit: 0874014cd9837e4365f3e6f3c71400ef11509e04CUDA: 12.8GPU: Tesla T4Random seed: 42\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u041f\u0430\u0440\u0438\u0436  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043d\u0435\u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f:The Eiffel Tower is located in\u2026The city containing the Eiffel Tower is\u2026You can find the Eiffel Tower in\u2026The Eiffel Tower can be seen in\u2026The home city of the Eiffel Tower is\u2026\u0424\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0438 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e GPT-2 XL \u043e\u0431\u0443\u0447\u0430\u043b\u0430\u0441\u044c \u043d\u0430 \u0430\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u0430\u0445 \u0438 \u043b\u0443\u0447\u0448\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043d\u0438\u043c\u0438.# \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u043e\u0442\u0432\u0435\u0442\u044b GPT-2 XL \u0434\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044fimport pandas as pdimport torchPARIS_TOKEN_ID = tok.encode(&#187; Paris&#187;, add_special_tokens=False)[0]ROME_TOKEN_ID = tok.encode(&#187; Rome&#187;, add_special_tokens=False)[0]prompts = [    &#171;The Eiffel Tower is located in&#187;,    &#171;The city containing the Eiffel Tower is&#187;,    &#171;You can find the Eiffel Tower in&#187;,    &#171;The Eiffel Tower can be seen in&#187;,    &#171;The home city of the Eiffel Tower is&#187;,]def measure_prompt(prompt):    inputs = tok(prompt, return_tensors=&#187;pt&#187;).to(&#171;cuda&#187;)    with torch.inference_mode():        logits = model(**inputs).logits[0, -1].float()    probabilities = torch.softmax(logits, dim=-1)    paris_probability = probabilities[PARIS_TOKEN_ID].item()    rome_probability = probabilities[ROME_TOKEN_ID].item()    paris_rank = int((logits &gt; logits[PARIS_TOKEN_ID]).sum().item()) + 1    rome_rank = int((logits &gt; logits[ROME_TOKEN_ID]).sum().item()) + 1    top_probabilities, top_ids = torch.topk(probabilities, 5)    top_5 = &#187; | &#171;.join(        f&#187;{repr(tok.decode([token_id.item()]))}: {probability.item() * 100:.2f}%&#187;        for probability, token_id in zip(top_probabilities, top_ids)    )    return {        &#171;\u0424\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0430&#187;: prompt,        &#171;Paris, %&#187;: f&#187;{paris_probability * 100:.4f}&#187;,        &#171;\u041c\u0435\u0441\u0442\u043e Paris&#187;: paris_rank,        &#171;Rome, %&#187;: f&#187;{rome_probability * 100:.4f}&#187;,        &#171;\u041c\u0435\u0441\u0442\u043e Rome&#187;: rome_rank,        &#171;\u041b\u043e\u0433\u0438\u0442 Rome \u2212 Paris&#187;: round(            (logits[ROME_TOKEN_ID] &#8212; logits[PARIS_TOKEN_ID]).item(),            3        ),        &#171;\u0422\u043e\u043f-5 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0439&#187;: top_5,    }baseline_results = pd.DataFrame(    [measure_prompt(prompt) for prompt in prompts])display(baseline_results)\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u044b \u0441\u0440\u0430\u0432\u043d\u0438\u043b\u0438 \u0434\u0432\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0442\u043e\u043a\u0435\u043d\u0430: Paris \u0438 Rome. \u0421\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u043d\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0438 \u043c\u0435\u0441\u0442\u043e \u0432 \u043e\u0431\u0449\u0435\u043c \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0435. \u041f\u0435\u0440\u0432\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0442\u043e\u043a\u0435\u043d \u0441\u0430\u043c\u044b\u043c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b\u043c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435\u043c.\u041d\u0430\u0447\u0430\u043b\u043e \u0444\u0440\u0430\u0437\u044b  Paris: \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0438 \u043c\u0435\u0441\u0442\u043e  Rome: \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0438 \u043c\u0435\u0441\u0442\u043e  The Eiffel Tower is located in  49,5461%, \u043c\u0435\u0441\u0442\u043e 1  0,0021%, \u043c\u0435\u0441\u0442\u043e 359  The city containing the Eiffel Tower is  8,0826%, \u043c\u0435\u0441\u0442\u043e 2  0,0091%, \u043c\u0435\u0441\u0442\u043e 673  You can find the Eiffel Tower in  18,6793%, \u043c\u0435\u0441\u0442\u043e 2  0,3402%, \u043c\u0435\u0441\u0442\u043e 21  The&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-489610","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/489610","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=489610"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/489610\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=489610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=489610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=489610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}