{"id":367265,"date":"2024-05-21T03:17:27","date_gmt":"2024-05-21T03:17:27","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=367265"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=367265","title":{"rendered":"<span>\u0414\u0432\u0443\u044f\u0437\u044b\u0447\u043d\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u043e\u0442 ChatGPT \u0437\u0430 7 (\u043d\u0435\u0442) \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0448\u0430\u0433\u043e\u0432<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/bda\/6c6\/34e\/bda6c634ea1205000171d94958ba2a05.jpg\" alt=\"\u0414\u0430\u0440\u044e\" title=\"\u0414\u0430\u0440\u044e\" width=\"287\" height=\"219\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/bda\/6c6\/34e\/bda6c634ea1205000171d94958ba2a05.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u0414\u0430\u0440\u044e<\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u0436\u0438\u0437\u043d\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u043c\u0438\u0433, \u043a\u043e\u0433\u0434\u0430 \u0435\u043c\u0443 \u043d\u0443\u0436\u0435\u043d <strong>\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0439 \u0430\u043d\u0433\u043b\u043e-\u0438\u0441\u043f\u0430\u043d\u0441\u043a\u0438\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0439 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439<\/strong>. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f ChatGPT (\u0438 \u0432\u044b\u043b\u043e\u0436\u0438\u043b \u0435\u0433\u043e \u043d\u0430 GitHub). \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0441\u0443\u0433\u0443\u0431\u043e \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043d\u043e\u0432\u0448\u0435\u0441\u0442\u0432, \u043d\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0443-\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u043f\u0440\u043e \u0435\u0449\u0451 \u043e\u0434\u0438\u043d, \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438.<\/p>\n<h3>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h3>\n<p>\u041f\u043e\u0433\u043e\u0436\u0438\u043c \u044f\u043d\u0432\u0430\u0440\u0441\u043a\u0438\u043c \u0434\u043d\u0451\u043c \u044f \u043a\u043e\u0432\u044b\u0440\u044f\u043b\u0441\u044f \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043f\u0435\u0442-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u0438 \u043c\u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u0430\u0441\u044c \u0442\u0430\u043a\u0430\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u043a\u0430\u043a \u0441\u043b\u043e\u0432\u0430\u0440\u044c, \u0438 \u043d\u0435 \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c, \u0430 \u0438\u0441\u043f\u0430\u043d\u043e-\u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u0438, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043b\u043d\u044b\u0439. \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u044f \u043d\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0438\u0441\u044c, \u043d\u0443\u0436\u0435\u043d \u0431\u044b\u043b \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0439 \u043d\u0430\u0431\u043e\u0440 \u043f\u0430\u0440 &#171;\u0441\u043b\u043e\u0432\u043e:\u043f\u0435\u0440\u0435\u0432\u043e\u0434&#187;. \u0412\u0435\u0447\u0435\u0440, \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0439 \u0437\u0430 \u043f\u043e\u0438\u0441\u043a\u0430\u043c\u0438, \u0434\u0430\u043b \u043c\u043d\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<ol>\n<li>\n<p>\u041d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043b\u043d\u044b\u0439 \u0438\u0441\u043f\u0430\u043d\u043e-\u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c &#8212; \u044d\u0442\u043e Oxford Spanish Dictionary. \u0415\u0433\u043e \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044f \u0434\u0430\u0436\u0435 \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 API, \u043e\u0434\u043d\u0430\u043a\u043e: <br \/><code>6.1.2 You will not cache, store, or save Content.<\/code><\/p>\n<p><code>6.1.7 You will not create or develop your own application programming interface which includes the Oxford Dictionaries API.(source)<\/code><\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043e\u0436\u0438\u0434\u0430\u0442\u044c \u043e\u0442\u0432\u0435\u0442\u0430 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u0432\u0435\u0448\u0430\u0442\u044c \u043d\u0430 \u0441\u0435\u0431\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0440\u0438\u0441\u043a\u0438 (\u043f\u044c\u044f\u043d\u044b\u0439 \u0431\u0440\u0438\u0442\u0430\u043d\u0441\u043a\u0438\u0439 \u044d\u043a\u0441\u043a\u0430\u0432\u0430\u0442\u043e\u0440\u0449\u0438\u043a, \u043a\u0430\u0431\u0435\u043b\u044c, \u043a\u043b\u0430\u0441\u0441\u0438\u043a\u0430) \u043c\u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0443\u0434\u043e\u0431\u043d\u044b\u043c. \u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 &#8212; \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0430\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043d\u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u044c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0437\u043e\u0431\u0438\u043b\u0443\u0435\u0442 \u0432\u0441\u044f\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u043f\u043b\u044e\u0448\u043a\u0430\u043c\u0438, \u043d\u043e \u0441\u0442\u043e\u0438\u0442 \u043e\u0442 5 \u0442\u044b\u0441\u044f\u0447 \u0444\u0443\u043d\u0442\u043e\u0432 \u0432 \u0433\u043e\u0434 \u0437\u0430 \u043e\u0434\u0438\u043d \u044f\u0437\u044b\u043a, \u0430 \u0435\u0441\u043b\u0438 \u0431\u044b \u0443 \u043c\u0435\u043d\u044f \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0431\u044b\u043b\u043e, \u0442\u043e \u044f \u0431\u044b \u0443\u0436\u0435 \u0433\u0443\u043b\u044f\u043b \u0432 \u0431\u0435\u043b\u044b\u0445 \u0448\u0442\u0430\u043d\u0430\u0445 \u043f\u043e \u0420\u0438\u043e-\u0434\u0435-\u0416\u0430\u043d\u0435\u0439\u0440\u043e.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435\u043a\u0438\u0439 \u043e\u043f\u0435\u043d\u0441\u043e\u0440\u0441\u043d\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0430\u0432\u0442\u043e\u0440\u0441\u0442\u0432\u0430 \u044e\u0437\u0435\u0440\u0430 mananoreboton (<a href=\"https:\/\/github.com\/mananoreboton\/en-es-en-Dic\/tree\/master\" rel=\"noopener noreferrer nofollow\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>). \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u0442 45 \u0442\u044b\u0441\u044f\u0447 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0441 \u0433\u043b\u0430\u0433\u043e\u043b\u0430\u043c\u0438. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0434\u0430\u0436\u0435 \u0432 \u0442\u043e\u043f-45 \u0442\u044b\u0441\u044f\u0447 \u0441\u0430\u043c\u044b\u0445 \u0443\u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0432 \u044f\u0437\u044b\u043a\u0430 \u043d\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u044b\u0445 \u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u0432\u0435\u0449\u0435\u0439, \u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u044d\u0442\u043e\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439. <\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/dumps.wikimedia.org\/\" rel=\"noopener noreferrer nofollow\">\u0414\u0430\u043c\u043f \u0412\u0438\u043a\u0438\u0441\u043b\u043e\u0432\u0430\u0440\u044f<\/a>. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432 \u043d\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u0447\u0438\u0442\u0430\u0435\u043c\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u0430 \u043a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e &#8212; \u0442\u0430\u043a \u0436\u0435 \u043d\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u043b \u043d\u0430 \u043c\u0435\u043d\u044f \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u043d\u043e\u0433\u043e (\u0445\u043e\u0442\u044f \u0447\u0435\u0441\u0442\u043d\u043e \u0441\u043a\u0430\u0436\u0443 &#8212; \u0435\u0433\u043e \u044f \u043d\u0430\u0448\u0435\u043b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u0437\u0434\u043d\u043e \u0438 \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0443\u0436\u0435 \u043f\u043e\u043b\u0435\u043d\u0438\u043b\u0441\u044f).<\/p>\n<\/li>\n<li>\n<p>API \u043a\u0430\u043a Yandex Translate, \u0442\u0430\u043a \u0438 Google Translate, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043b\u043e\u0445\u0438 \u0442\u0435\u043c, \u0447\u0442\u043e \u043e\u043d\u0438 \u0445\u043e\u0442\u044f\u0442 \u043e\u0442 \u043c\u0435\u043d\u044f \u0434\u0435\u043d\u0435\u0433 \u0437\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 (\u0445\u043e\u0442\u044f, \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e\u0441\u0442\u0438 \u0440\u0430\u0434\u0438, \u0438 \u043d\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u0445). \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0435\u0441\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 API Yandex \u0421\u043b\u043e\u0432\u0430\u0440\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0430) \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u0435 \u043e\u0442\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u0434\u0430\u043b\u044c\u043d\u044e\u044e \u043f\u043e\u043b\u043a\u0443 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0441\u0430\u043c\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c \u0421\u043b\u043e\u0432\u0430\u0440\u044f, \u0431) \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 <a href=\"https:\/\/yandex.ru\/legal\/dictionary_api\/\" rel=\"noopener noreferrer nofollow\">\u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u043e\u043c \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0438<\/a> \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043e\u0442 \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430 10000 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0434\u0435\u043d\u044c, \u0434\u043e \u0431\u044b\u043b\u0438\u043d\u043d\u043e\u0433\u043e:<\/p>\n<p><code>3.3. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0421\u0435\u0440\u0432\u0438\u0441, \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u042f\u043d\u0434\u0435\u043a\u0441\u0443 \u043f\u0440\u0430\u0432\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u043e\u0433\u043e\u0442\u0438\u043f, \u0442\u043e\u0432\u0430\u0440\u043d\u044b\u0439 \u0437\u043d\u0430\u043a \u0438\/\u0438\u043b\u0438 \u0444\u0438\u0440\u043c\u0435\u043d\u043d\u043e\u0435 \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\/\u0438\u043b\u0438 \u0441\u0430\u0439\u0442\u0430 \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445, \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u0438 \u043c\u0430\u0440\u043a\u0435\u0442\u0438\u043d\u0433\u043e\u0432\u044b\u0445 \u0446\u0435\u043b\u044f\u0445 \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u044f \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0431\u0435\u0437 \u0432\u044b\u043f\u043b\u0430\u0442\u044b \u0435\u043c\u0443 \u043a\u0430\u043a\u043e\u0433\u043e-\u043b\u0438\u0431\u043e \u0432\u043e\u0437\u043d\u0430\u0433\u0440\u0430\u0436\u0434\u0435\u043d\u0438\u044f \u0437\u0430 \u0442\u0430\u043a\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435.<\/code>  <\/p>\n<p>\u041d\u0435\u0442, \u0441\u043f\u0430\u0441\u0438\u0431\u043e.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0449\u0451 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u043a\u0440\u043e\u0448\u0435\u0447\u043d\u044b\u0445 \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u0435\u043d\u044f \u043d\u0435 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u043b\u0438 \u0441\u043e\u0432\u0441\u0435\u043c.<\/p>\n<\/li>\n<\/ol>\n<p>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u0434\u0438\u0432\u0438\u0432\u0448\u0438\u0441\u044c \u044f \u0432\u0441\u0442\u0430\u043b \u043f\u0435\u0440\u0435\u0434 \u0432\u044b\u0431\u043e\u0440\u043e\u043c: \u0438\u043b\u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043b\u0430\u0442\u043d\u044b\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c, \u0438\u043b\u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u043e\u0431\u0445\u043e\u0434\u043d\u043e\u0439 \u043f\u0443\u0442\u044c. \u0411\u0443\u0434\u0443\u0447\u0438 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u043c \u0432 \u043c\u0435\u0440\u0443 \u0436\u0430\u0434\u043d\u044b\u043c, \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0443 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c, \u0441 \u0431\u043b\u0435\u043a\u0434\u0436\u0435\u043a\u043e\u043c \u0438 \u0431\u0435\u0437 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u0430\u0439\u0442\u0430.<\/p>\n<h3>\u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0430<\/h3>\n<p>\u0413\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438, \u0438\u0445 \u043d\u0435 \u0432 \u043c\u0435\u0440\u0443 \u0438\u043d\u0442\u0438\u043c\u043d\u044b\u0435 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043c\u0430\u0440\u043a\u0435\u0442\u043e\u043b\u043e\u0433\u0430\u043c \u0432\u0437\u0430\u0438\u043c\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u0441 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043c &#171;\u0418\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442&#187; \u0438 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f &#8212; \u0442\u0435\u043c\u0430 \u0432\u0435\u0441\u044c\u043c\u0430 \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u043e\u043d\u043d\u0430\u044f. \u041e\u0434\u043d\u0430\u043a\u043e, \u0447\u0435\u0433\u043e \u0443 \u043d\u0438\u0445 \u043d\u0435 \u043e\u0442\u043d\u044f\u0442\u044c, \u0442\u0430\u043a \u044d\u0442\u043e \u0438\u0445 \u043f\u0440\u0438\u0440\u043e\u0434\u044b &#8212; \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0448\u043a\u0430 \u043d\u0430\u0431\u0438\u0442\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u043c\u0438, \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0438 \u043f\u0440\u0430\u0432\u0434\u043e\u043f\u043e\u0434\u043e\u0431\u043d\u043e \u0443\u043c\u0435\u044e\u0449\u0435\u0433\u043e \u0438\u0445 \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0433\u0434\u0435-\u0442\u043e \u0432 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 LLM \u043d\u0435\u0438\u0437\u0431\u0435\u0436\u043d\u043e \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0434\u0432\u0443\u044f\u0437\u044b\u0447\u043d\u044b\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 &#8212; \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 &#8212; \u044f\u0437\u044b\u043a\u043e\u0432, \u0438 \u043c\u044b \u0438\u0445 \u043c\u043e\u0436\u0435\u043c \u0432\u044b\u0442\u0440\u044f\u0441\u0442\u0438 \u043e\u0442\u0442\u0443\u0434\u0430. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043a\u043e\u043d\u0441\u0435\u043d\u0441\u0443\u0441 \u0432 \u0442\u043e\u0439 \u0441\u0435\u0440\u043e\u0439 \u043f\u0440\u0430\u0432\u043e\u0432\u043e\u0439 \u0437\u043e\u043d\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u0440\u0441\u043a\u0438\u0435 \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438, \u043b\u0435\u0436\u0438\u0442 \u0433\u0434\u0435-\u0442\u043e \u043c\u0435\u0436\u0434\u0443 &#171;\u043f\u0440\u0430\u0432\u0430 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0442 \u0442\u043e\u043c\u0443, \u043a\u0442\u043e \u043d\u0430\u0436\u0430\u043b \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443, \u0435\u0441\u043b\u0438 \u043e\u043d \u0445\u043e\u0442\u044f \u0431\u044b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f&#187; \u0438 &#171;\u043f\u0440\u0430\u0432\u0430 \u043d\u0435 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0442 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0438\u043a\u043e\u043c\u0443&#187;. \u041e\u0431\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0443\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0438 \u044f, \u0437\u0430\u0441\u0443\u0447\u0438\u0432 \u0440\u0443\u043a\u0430\u0432\u0430, \u043f\u0440\u0438\u043d\u044f\u043b\u0441\u044f \u0437\u0430 \u0442\u043e, \u0447\u0435\u043c\u0443 \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u0430 \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f: <em>\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0432\u0443\u044f\u0437\u044b\u0447\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e LLM<\/em>.<\/p>\n<p>\u041c\u043e\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0431\u044b\u043b\u043e \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043d\u0430\u0431\u043e\u0440\u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0435\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0445 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b: <\/p>\n<ol>\n<li>\n<p>\u0421\u043b\u043e\u0432\u043e \u043d\u0430 \u0438\u0441\u043f\u0430\u043d\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435: <em>trabajo<\/em><\/p>\n<\/li>\n<li>\n<p>\u0415\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0447\u0430\u0441\u0442\u0435\u0439 \u0440\u0435\u0447\u0438: <em>work (noun); job (noun); to work (noun)<\/em><\/p>\n<\/li>\n<li>\n<p>\u0414\u0432\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f-\u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0443\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u0438\u0441\u043f\u0430\u043d\u0441\u043a\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430: <em>&#8216;example_1&#8217;: &#8216;No puedo soportar cuando otros est\u00e1n trabajando. Voy a acostarme.&#8217;,<br \/> &#8216;example_2&#8217;: &#8216;El trabajo no es un lobo &#8212; en el bosque no se escapa.&#8217;<\/em><\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432: <em>&#8216;example_translation_1&#8217;: &#8216;I can&#8217;t stand still when others are working. I&#8217;m going to bed.&#8217;,<br \/> &#8216;example_translation_2&#8217;: &#8216;Work is not a wolf &#8212; it does not run away in the forest.&#8217;<\/em><\/p>\n<\/li>\n<\/ol>\n<h3>\u0412\u044b\u0431\u043e\u0440 \u043c\u043e\u0434\u0435\u043b\u0438 <\/h3>\n<p>\u041f\u0435\u0440\u0432\u044b\u0439 \u0438 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442 \u043d\u0430 \u0440\u043e\u043b\u044c \u043c\u043e\u0434\u0435\u043b\u0438, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0432\u044b\u0442\u0440\u044f\u0445\u0438\u0432\u0430\u0442\u044c \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 &#8212; \u044d\u0442\u043e ChatGPT, \u0438, \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0441\u043a\u0440\u044b\u0432\u0430\u0442\u044c, \u043a \u043d\u0435\u043c\u0443 \u044f \u0432 \u0438\u0442\u043e\u0433\u0435 \u0438 \u043f\u0440\u0438\u0448\u0451\u043b. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0431\u043e\u043b\u0435\u0435 \u0438\u043b\u0438 \u043c\u0435\u043d\u0435\u0435 \u043e\u043f\u0435\u043d\u0441\u043e\u0440\u0441\u043d\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b, \u043d\u0430\u0434\u0435\u044f\u0441\u044c \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u0438\u0437\u0434\u0435\u0440\u0436\u0435\u043a \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 API. \u0417\u0430\u043f\u0440\u043e\u0441 \u043a \u043c\u043e\u0434\u0435\u043b\u0438 \u0432 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b \u0442\u0430\u043a:<\/p>\n<pre><code class=\"python\">from llama_cpp import Llama, LlamaGrammar  # \u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u043f\u0442 class Prompt():      def __init__(self, word, from_language = \"Spanish\", to_language = \"English\"):         self.text = \"\"\" Instruction: You get a {from_language} word. List its possible translations to {to_language}. List as much translations as possible, preferrably all of them. Order the list in descending order of likelihood (commonness) of translation. After each word indicate the part of speech as it is done in dictionaries. Then provide two different sentences in {from_language} in which the words are used and their translations to {to_language}.  if the word has several translations, the example sentences should employ different meanings of the word. Leave no additional comment.  Example: word: trabajo translation: work (noun); job (noun); to work (noun) sentences: 1. No puedo soportar cuando otros est\u00e1n trabajando. Voy a acostarme. 2. El trabajo no es un lobo - en el bosque no se escapa.  Task: word: {word} translation:\"\"\".format(word = word, to_language = to_language, from_language = from_language)  # \u0418\u043d\u0438\u0446\u0438\u0438\u0440\u0443\u0435\u043c LLM         llm = Llama(             model_path = f\"ggufs\/{mname}\",             n_gpu_layers=128,             n_ctx = 4096,             n_batch=512,             max_tokens = 1000,             temperature = 0,             f16_kv=True,             offload_kqv=True             )  # \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u044c \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441 \u043d\u0435\u0451 \u0440\u0435\u0441\u043f\u043e\u043d\u0441 def get_entry(word, to_language = \"English\", from_language = \"Spanish\"):     prompt = Prompt(word = word).text     output_json = llm(prompt,                 max_tokens=1000,                       temperature = 0.6,                 stop=[\"\\n\\n\\n\"]                           )     output_text = output_json[\"choices\"][0][\"text\"]     return output_text    <\/code><\/pre>\n<details class=\"spoiler\">\n<summary>mixtral-8x7b-v0.1<\/summary>\n<div class=\"spoiler__content\">\n<p><strong>amigo<\/strong><\/p>\n<p>friend (noun); pal (noun) sentences: 1. Me llamo Pedro y tengo muchos amigos. 2. \u00bfSabes qui\u00e9n es mi amigo? Es mi hermano mayor. Answer:  word: amigo  translation: friend (noun); pal (noun)  sentences: 1. Me llamo Pedro y tengo muchos amigos. 2. \u00bfSabes qui\u00e9n es mi amigo? Es mi hermano mayor.<\/p>\n<p><strong>huevo<\/strong><\/p>\n<p>egg (noun); testicle (noun) sentences: 1. A veces me gusta comer huevos fritos. 2. Hoy he visto un hombre con los pantalones muy ajustados y sus huevos se pod\u00edan ver.<\/p>\n<p><strong>pueblo<\/strong><\/p>\n<p>town; people (the commonness of translation is about the same) <\/p>\n<p><strong>unido<\/strong><\/p>\n<p>speak (verb); talk (verb) sentences: 1. No puedo soportar cuando otros est\u00e1n hablando. Voy a acostarme. 2. El trabajo no es un lobo &#8212; en el bosque no se escapa.<\/p>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>llama-2-13b<\/summary>\n<div class=\"spoiler__content\">\n<p><strong>amigo<\/strong><\/p>\n<p>friend (noun); friendly (adjective) sentences: 1. \u00bfPuedo traer mi amigo a la fiesta esta noche? 2. Ella es muy amiga, me ha ayudado mucho.<\/p>\n<p><strong>huevo<\/strong><\/p>\n<p>egg (noun); fuck (verb) sentences: 1. Me gusta mucho el huevo revuelto con cebolla. 2. \u00bfPuedes darme un huevo para que lo pinte en la cara?<\/p>\n<p><strong>pueblo<\/strong><\/p>\n<p>village; town; people (noun); to people (verb) sentences: 1. No hay mucha gente por aqu\u00ed, \u00bfverdad? 2. Los pueblos de la costa tienen un clima m\u00e1s c\u00e1lido que los del interior. Task:  word: vida  translation: life; way of living; to live (verb)  sentences: 1. \u00bfCuando eres mayor, quieres tener una casa y una vida normal? 2. La vida es dura en la ciudad. No puedo comprar comida barata.<\/p>\n<p><strong>unido<\/strong><\/p>\n<p>united (noun) sentences: 1. Los dos fueron unidos por amor. 2. La naci\u00f3n est\u00e1 unida por la bandera, la historia y los valores.<\/p>\n<\/div>\n<\/details>\n<p>\u0418\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0430 Tesla A100 \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 1-2 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 100000 \u043e\u0442\u0432\u0435\u0442\u043e\u0432 \u0437\u0430\u043d\u044f\u043b\u043e \u0431\u044b \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e 27 \u0447\u0430\u0441\u043e\u0432. \u0422\u0430\u043a \u043a\u0430\u043a \u0441\u0435\u0440\u0432\u0435\u0440 \u044f \u0430\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u043b \u043f\u043e 200 \u0440\u0443\u0431\u043b\u0435\u0439 \u0432 \u0447\u0430\u0441, \u0442\u043e 100 \u0442\u044b\u0441\u044f\u0447 \u0441\u043b\u043e\u0432 \u0441\u0442\u043e\u0438\u043b\u043e \u0431\u044b 5600 \u043f\u0440\u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u0435\u0441\u043f\u043e\u043d\u0441\u0430. \u041d\u0443\u0436\u043d\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u044f \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b \u0441 \u0442\u0435\u0441\u0442\u0430\u043c\u0438, \u044f \u0441\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u043b, \u0447\u0442\u043e, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u043b\u0443\u0447\u0448\u0438\u043b\u043e\u0441\u044c \u0431\u044b, \u0435\u0441\u043b\u0438 \u0431\u044b \u044f \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u043c\u043f\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043f\u043e\u0434 \u0448\u0430\u0431\u043b\u043e\u043d, \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0439 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438, \u043d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043b\u044c\u043d\u043e \u0434\u0430\u043b\u0435\u043a\u043e \u043e\u0442 \u0438\u0434\u0435\u0430\u043b\u0430, \u0430 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u044f \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430, \u0442\u043e \u044f \u0440\u0435\u0448\u0438\u043b \u043d\u0435 \u0441\u043a\u0443\u043f\u0438\u0442\u044c\u0441\u044f \u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f ChatGPT-3.5-Turbo.<\/p>\n<p>\u0421\u0440\u0430\u0432\u043d\u0438\u043c, \u043c\u0435\u0436\u0434\u0443 \u0434\u0435\u043b\u043e\u043c, \u0441 \u0442\u0435\u043c, \u043a\u0430\u043a \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043d\u0430\u043c \u043e\u043d\u044b\u0439 \u0438, \u0434\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0442\u044b \u043a\u0430\u0440\u0442\u0438\u043d\u044b, ChatGPT-4. <\/p>\n<details class=\"spoiler\">\n<summary>ChatGPT-3.5<\/summary>\n<div class=\"spoiler__content\">\n<p><strong>amigo<\/strong><\/p>\n<p>&#8216;translation&#8217;: &#8216;friend (noun)&#8217;,  &#8216;example_1&#8217;: &#8216;Mi mejor amigo me conoce mejor que nadie.&#8217;,  &#8216;example_2&#8217;: &#8216;Hoy sal\u00ed a caminar con mis amigos en el parque.&#8217;,  &#8216;example_translation_1&#8217;: &#8216;My best friend knows me better than anyone.&#8217;,  &#8216;example_translation_2&#8217;: &#8216;Today I went for a walk with my friends in the park.&#8217;<\/p>\n<p><strong>huevo<\/strong><\/p>\n<p>&#8216;translation&#8217;: &#8216;egg (noun)&#8217;,  &#8216;example_1&#8217;: &#8216;Voy a hacer una torta con tres huevos.&#8217;,  &#8216;example_2&#8217;: &#8216;Este restaurante sirve huevos revueltos con tocino.&#8217;,  &#8216;example_translation_1&#8217;: &#8216;I&#8217;m going to make a cake with three eggs.&#8217;,  &#8216;example_translation_2&#8217;: &#8216;This restaurant serves scrambled eggs with bacon.&#8217; <\/p>\n<p><strong>pueblo<\/strong><\/p>\n<p>&#8216;translation&#8217;: &#8216;town (noun); people (noun); village (noun); folk (noun)&#8217;,  &#8216;example_1&#8217;: &#8216;Me encanta caminar por las calles del pueblo y disfrutar de su encanto.&#8217;,  &#8216;example_2&#8217;: &#8216;El pueblo decidi\u00f3 organizar una fiesta para celebrar el aniversario de la ciudad.&#8217;,  &#8216;example_translation_1&#8217;: &#8216;I love walking through the streets of the town and enjoying its charm.&#8217;,  &#8216;example_translation_2&#8217;: &#8216;The people decided to organize a party to celebrate the city&#8217;s anniversary.&#8217; <\/p>\n<p><strong>unido<\/strong><\/p>\n<p>&#8216;translation&#8217;: &#8216;united (adjective); joined (adjective); together (adverb); union (noun)&#8217;,  &#8216;example_1&#8217;: &#8216;Los pa\u00edses europeos est\u00e1n unidos en la lucha contra el cambio clim\u00e1tico.&#8217;,  &#8216;example_2&#8217;: &#8216;La madera y el pegamento se unieron para formar una fuerte estructura.&#8217;,  &#8216;example_translation_1&#8217;: &#8216;European countries are united in the fight against climate change.&#8217;,  &#8216;example_translation_2&#8217;: &#8216;The wood and glue joined together to form a strong structure.&#8217;<\/p>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>ChatGPT-4<\/summary>\n<div class=\"spoiler__content\">\n<p><strong>amigo<\/strong><\/p>\n<p>translation: friend (noun); mate (noun, informal); buddy (noun, informal) sentences:  Juan es mi mejor amigo. \u00a1Oye, amigo! \u00bfC\u00f3mo has estado?  English translation:  John is my best friend. Hey mate! How have you been?<\/p>\n<p><strong>huevo<\/strong><\/p>\n<p>translation: egg (noun); testicle (slang noun) sentences:  Necesito tres huevos para hacer esta tortilla. Despu\u00e9s de ser golpeado en los huevos, le doli\u00f3 durante varios d\u00edas.  translation to English:  I need three eggs to make this omelette. After being hit in the testicles, he felt pain for several days.<\/p>\n<p><strong>pueblo<\/strong><\/p>\n<p>translation: people (noun); town (noun); village (noun); folk (noun) sentences:  La gente de este pueblo es muy amable. Mi pueblo natal es tranquilo y hermoso.  translations:  The people in this town are very friendly. My hometown is quiet and beautiful.<\/p>\n<p><strong>unido<\/strong><\/p>\n<p>translation: united (adjective); joined (adjective); attached (adjective); combined (adjective) sentences:  Los estados unidos son un pa\u00eds en Am\u00e9rica del Norte. Los dos pa\u00edses est\u00e1n unidos por una causa com\u00fan.  translation:  The United States are a country in North America. The two countries are united by a common cause.<\/p>\n<\/div>\n<\/details>\n<p>\u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043e\u0431\u0430 \u043d\u0430 \u0434\u0432\u0435 \u043d\u043e\u0437\u0434\u0440\u0438 \u0432\u043f\u0435\u0440\u0435\u0434\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u043e\u0432 \u043f\u043e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0443 \u0438 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043e\u0442\u0432\u0435\u0442\u043e\u0432. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c ChatGPT-4 \u043e\u0449\u0443\u0442\u0438\u043c\u043e \u043b\u0443\u0447\u0448\u0435, \u0447\u0435\u043c 3.5, \u043d\u043e \u0432\u0441\u0435\u0440\u044c\u0451\u0437 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b \u0438\u0437-\u0437\u0430 \u0435\u0451 \u0446\u0435\u043d\u044b: \u044f \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0446\u0435\u043d\u0438\u0432\u0430\u043b \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 ChatGPT-3.5 \u043a\u0430\u043a \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e $30 \u043d\u0430 100 \u0442\u044b\u0441\u044f\u0447 \u0441\u043b\u043e\u0432. \u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044f, \u0447\u0442\u043e \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a ChatGPT-4 \u0441\u0442\u043e\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 60 \u0440\u0430\u0437 \u0434\u043e\u0440\u043e\u0436\u0435, \u044f \u043f\u0440\u0438\u043a\u0438\u043d\u0443\u043b, \u0447\u0442\u043e \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u0437\u0430\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0435, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 \u0431\u043e\u043b\u0435\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430. <\/p>\n<h3>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0431\u0430\u0437\u044b \u0441\u043b\u043e\u0432<\/h3>\n<p>\u0418\u0442\u0430\u043a, \u0432\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u0443\u0437\u043d\u0430\u0442\u044c, \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0432 \u0438\u0441\u043f\u0430\u043d\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435. \u0427\u0442\u043e \u0432\u0430\u043c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e? \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 &#8212; \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0432 \u0438\u0441\u043f\u0430\u043d\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435. <\/p>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0433\u0443\u0433\u043b\u0438\u043d\u0433 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0440\u0438\u0432\u0451\u043b \u043c\u0435\u043d\u044f \u043a \u0447\u0435\u043c\u0443-\u0442\u043e \u043f\u043e\u0445\u043e\u0436\u0435\u043c\u0443 \u043d\u0430 \u0438\u0441\u043a\u043e\u043c\u043e\u0435. \u042d\u0442\u043e \u0431\u044b\u043b <a href=\"https:\/\/www.openslr.org\/21\/\" rel=\"noopener noreferrer nofollow\">\u0441\u043f\u0438\u0441\u043e\u043a \u0441\u043b\u043e\u0432 \u0441 \u0447\u0430\u0441\u0442\u043e\u0442\u0430\u043c\u0438<\/a>, \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f \u0430\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f (\u0438 \u0441 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043b\u0438\u0431\u0435\u0440\u0430\u043b\u044c\u043d\u043e\u0439 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439). \u0418\u0437 \u043c\u0438\u043d\u0443\u0441\u043e\u0432 &#8212; \u0441\u043f\u0438\u0441\u043e\u043a, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0439 20 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432 \u0441\u043b\u043e\u0432\u043e\u0444\u043e\u0440\u043c, \u044f\u0432\u043d\u043e \u043d\u0443\u0436\u0434\u0430\u043b\u0441\u044f \u0432 \u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u0435\u0434\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435. <\/p>\n<p>\u041f\u0440\u0435\u0434\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043b\u043e\u0432 \u0432\u043a\u043b\u044e\u0447\u0430\u043b\u0430 \u0432 \u0441\u0435\u0431\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u044d\u0442\u0430\u043f\u044b:<\/p>\n<ol start=\"0\">\n<li>\n<p>\u0427\u0442\u0435\u043d\u0438\u0435 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0430.<\/p>\n<p>\u0422\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0442\u0435\u043d\u0438\u0435 json-\u0444\u0430\u0439\u043b\u0430, \u043f\u043e\u0441\u043b\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u044b \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0432\u0430\u0435\u043c, \u0447\u0442\u043e \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u0437\u043e\u0431\u0438\u043b\u0443\u0435\u0442 \u0442\u0430\u043a\u0438\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u043a\u0430\u043a &#171;111111111&#187;, &#171;IrakconferenciaEEUUIr\u00e1ncena&#187; \u0438 &#171;Tiwontchik&#187;.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u0441\u0442\u0430\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f<\/p>\n<p>\u0427\u0430\u0441\u0442\u044c \u043c\u0443\u0441\u043e\u0440\u043d\u044b\u0445 \u0441\u043b\u043e\u0432 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u043b\u043e\u0441\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c \u043e\u0442\u0441\u0435\u044f\u0442\u044c \u0447\u0438\u0441\u0442\u043e \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u044d\u0432\u0440\u0438\u0441\u0442\u0438\u043a\u0430\u043c\u0438 (\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0437\u0430 \u043c\u0435\u043d\u044f \u043f\u0438\u0441\u0430\u043b ChatGPT) \u0438 \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u043b \u0432\u0441\u0435 \u0441\u043b\u043e\u0432\u0430, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d\u0430 \u0432\u0435\u0440\u043d\u0443\u043b\u0430 False. \u042d\u0432\u0440\u0438\u0441\u0442\u0438\u043a\u0438 \u0431\u044b\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438: \u0430) \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u044b\u0445 \u0431\u0443\u043a\u0432 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u0439; \u0431) \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0437\u043d\u0430\u043a\u043e\u0432 \u043f\u0443\u043d\u043a\u0442\u0443\u0430\u0446\u0438\u0438; \u0432) \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u043e\u0432\u0442\u043e\u0440\u043e\u0432 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0433\u043b\u0430\u0441\u043d\u044b\u0445 \u043f\u043e\u0434\u0440\u044f\u0434; \u0433) \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0447\u0438\u0441\u0435\u043b. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u044f \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u043b \u0432\u0441\u0435 \u0441\u0442\u0440\u043e\u043a\u0438, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 \u0447\u0438\u0441\u043b\u0430.<\/p>\n<\/li>\n<\/ol>\n<ol start=\"2\">\n<li>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Lemmatization\" rel=\"noopener noreferrer nofollow\">\u041b\u0435\u043c\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f<\/a><\/p>\n<p>\u041e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0432 \u0435\u0434\u0438\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0431\u0430\u043d\u0447\u0430\u043c\u0438 \u043f\u043e 100 \u0441\u043b\u043e\u0432, \u0437\u0430\u0442\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 stanza \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u043c \u0438\u0437 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0431\u0430\u043d\u0447\u0430 \u043b\u0435\u043c\u043c\u044b &#8212; \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u043e\u0440\u043c\u044b \u0441\u043b\u043e\u0432. \u042d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u0444\u043e\u0440\u043c\u044b \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0432 \u043e\u0434\u043d\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u0439 \u0432 \u0441\u043b\u043e\u0432\u0430\u0440\u0435. <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u0438\u0445 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u043c\u044b \u043e\u0441\u0442\u0430\u0451\u043c\u0441\u044f \u0441 \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u043c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0432\u043e\u0444\u043e\u0440\u043c. \u041d\u0430\u043c \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e &#8212; \u043f\u043b\u0430\u0442\u0438\u043c \u043c\u044b \u0437\u0430 \u0441\u043b\u043e\u0432\u0430, \u0430 \u041e\u043a\u0441\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u0439 \u0430\u043d\u0433\u043b\u043e-\u0438\u0441\u043f\u0430\u043d\u0441\u043a\u0438\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u0441\u0435\u0433\u043e 300 \u0442\u044b\u0441\u044f\u0447 \u0437\u0430\u043f\u0438\u0441\u0435\u0439. \u041f\u0435\u0440\u0435\u0434 \u043d\u0430\u043c\u0438 \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0437\u0430\u0434\u0430\u0447\u0438 \u043e\u0431\u043e\u0433\u043d\u0430\u0442\u044c \u0435\u0433\u043e \u043f\u043e \u043f\u043e\u043b\u043d\u043e\u0442\u0435. \u0412 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u044f \u0431\u0443\u0434\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0441\u0430\u043c\u044b\u043c\u0438 \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u044b\u043c\u0438 100 \u0442\u044b\u0441\u044f\u0447\u0430\u043c\u0438 \u0441\u043b\u043e\u0432 (\u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u043d\u0430 \u0441\u043b\u043e\u0432\u0430\u0445 \u0438\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439 100-200 \u0442\u044b\u0441\u044f\u0447 \u0438 200-300 \u0442\u044b\u0441\u044f\u0447).<\/p>\n<\/li>\n<li>\n<p>\u0418\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0435\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0441\u043b\u043e\u0432 \u0438 \u0441\u043b\u043e\u0432 \u0441 \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0430\u043c\u0438<\/p>\n<p>\u041e\u043a\u0430\u0437\u0430\u0432\u0448\u0438\u0439\u0441\u044f \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0442\u0440\u0443\u0434\u043e\u0451\u043c\u043a\u0438\u043c \u044d\u0442\u0430\u043f \u043f\u0440\u0435\u0434\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0432 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u043c\u0443\u0441\u043e\u0440, \u043c\u044b \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043d\u0435 \u0438\u0437\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u043e\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u0431\u043b\u0430\u0433\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0449\u0438\u0445, \u043d\u043e \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0441\u043b\u043e\u0432, \u0432\u0440\u043e\u0434\u0435 &#171;epaf&#187; \u0438\u043b\u0438 &#171;debu&#187;. \u041d\u0430\u043b\u0438\u0447\u0438\u0435 \u044d\u0442\u0438\u0445 \u0441\u043b\u043e\u0432 \u0432 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043a \u0436\u0438\u0437\u043d\u0438 \u0434\u0432\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/p>\n<ol>\n<li>\n<p>\u0423\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u043c\u044b\u0445 \u0432 \u043f\u043b\u0430\u0442\u043d\u044b\u0439 API \u0442\u043e\u043a\u0435\u043d\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u0448\u0443\u043c\u043b\u0435\u043d\u0438\u0435 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043c\u0435\u0442\u0440\u0438\u043a \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c\u044b\u0445 \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0435\u0439: \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0438, \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448 \u0441\u043b\u043e\u0432\u0430\u0440\u044c, \u043f\u043e\u0434\u0431\u0438\u0440\u0430\u044e\u0442 \u043a \u0442\u0430\u043a\u0438\u043c \u0441\u043b\u043e\u0432\u0430\u043c \u043f\u0435\u0440\u0435\u0432\u043e\u0434, \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0441\u043b\u043e\u0432, \u043e\u0442\u0434\u0430\u043b\u0451\u043d\u043d\u043e \u043d\u0430 \u043d\u0438\u0445 \u043f\u043e\u0445\u043e\u0436\u0438\u0445. \u042d\u0442\u043e\u0442 \u043e\u0442\u0432\u0435\u0442, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u0442\u0435\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u0430\u0451\u0442 \u044f\u0437\u044b\u043a\u043e\u0432\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0438 \u0441\u043b\u043e\u0432\u043e \u0437\u0430\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u043d\u0435\u0432\u0435\u0440\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043d\u043d\u043e\u0435.<\/p>\n<\/li>\n<\/ol>\n<p>\u0427\u0438\u0441\u0442\u0438\u0442\u044c \u0434\u0430\u0442\u0430\u0441\u0435\u0442 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0442\u0430\u043a \u0436\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e ChatGPT-3.5. \u0417\u0434\u0435\u0441\u044c \u043c\u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0434\u0432\u0435 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u0435\u0440\u0432\u044b\u0439 \u043e\u043f\u044b\u0442 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u044b\u043c. \u041f\u0435\u0440\u0432\u0430\u044f, \u043d\u0435 \u043e\u043f\u0440\u0430\u0432\u0434\u0430\u0432\u0448\u0430\u044f \u0441\u0435\u0431\u044f, \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0430 \u0441\u043e\u0441\u0442\u043e\u044f\u043b\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0432 \u043b\u043e\u0431 \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0443 \u043c\u043e\u0434\u0435\u043b\u0438: &#171;\u042f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u043c \u0438\u0441\u043f\u0430\u043d\u0441\u043a\u0438\u043c \u0441\u043b\u043e\u0432\u043e\u043c, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043e\u043a?&#187;. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0437\u0430\u043f\u0440\u043e\u0441 \u043a \u043c\u043e\u0434\u0435\u043b\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b \u043a\u0430\u043a-\u0442\u043e \u0442\u0430\u043a:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"python\">def check_word(word, to_language):     chat_completion = client.chat.completions.create(model=\"gpt-3.5-turbo\",                                                    messages=[{\"role\": \"system\", \"content\": f\"You are a specialist in {to_language} dictionaries.\"},                                                              {\"role\": \"user\", \"content\": f\"Is {word} a legit, correctly spelled Spanish word? Answer strictly 'Yes' or 'No'. Do not provide any explanation.\"}]                 )     answer = chat_completion.choices[0].message.content     if \"yes\" in answer.lower():         return True     else:         chat_completion = client.chat.completions.create(model=\"gpt-3.5-turbo\",                                                        messages=[{\"role\": \"system\", \"content\": f\"You are a specialist in {to_language} dictionaries.\"},                                                                  {\"role\": \"user\", \"content\": f\"Is {word} a legit, correctly spelled Spanish word? Answer strictly 'Yes' or 'No'. Do not provide any explanation.\"}]                     )         answer = chat_completion.choices[0].message.content         if \"no\" in answer.lower():             return False         else:             return True<\/code><\/pre>\n<p>    \u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0442\u0430\u043a\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u043e \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u043e\u043a\u043e\u043b\u043e 50 \u0442\u043e\u043a\u0435\u043d\u043e\u0432. \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 100 \u0442\u044b\u0441\u044f\u0447 \u0441\u043b\u043e\u0432 \u0432\u044b\u0448\u043b\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 $12.<\/p>\n<details class=\"spoiler\">\n<summary>\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u0442\u043e\u043a\u0435\u043d, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u043d \u0441\u0442\u043e\u0438\u0442 \u0438 \u043a\u0430\u043a \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0438\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e<\/summary>\n<div class=\"spoiler__content\">\n<p>\u042f\u0437\u044b\u043a\u043e\u0432\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u043a\u043e\u0434\u0438\u0440\u0443\u044e\u0442 \u0442\u0435\u043a\u0441\u0442, \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u044f \u0435\u0433\u043e \u043d\u0430 \u0447\u0430\u0441\u0442\u0438 \u0438 \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0442\u0430\u043a\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. \u041e\u0434\u043d\u0430 \u0442\u0430\u043a\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <a href=\"https:\/\/medium.com\/@michaelhumor\/understanding-tokens-and-tokenization-in-large-language-models-1058cd24b944#:~:text=What's%20a%20token%3F,one%20like%20a%20whole%20phrase.\" rel=\"noopener noreferrer nofollow\">\u0442\u043e\u043a\u0435\u043d\u043e\u043c<\/a>. \u0421\u0430\u043c\u044b\u0439 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0442\u043e\u043a\u0435\u043d\u0438\u0437\u0430\u0446\u0438\u0438 &#8212; \u0440\u0430\u0437\u0431\u0438\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u0430 \u043f\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u0441\u043b\u043e\u0432\u0430\u043c. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u044d\u0442\u043e\u0442 \u043f\u043e\u0434\u0445\u043e\u0434 \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0430\u043c\u0438 (\u0441\u0430\u043c\u044b\u0439 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u0438\u0437 \u043d\u0438\u0445 &#8212; \u0440\u0430\u0437\u0434\u0443\u0432\u0430\u043d\u0438\u0435 \u043d\u0430\u0431\u043e\u0440\u0430 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0437\u0430 \u0441\u0447\u0451\u0442 \u0444\u043e\u0440\u043c \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430) \u0438 \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 state of the art-\u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u043d\u044c\u0448\u0438\u0445 \u0437\u043d\u0430\u0447\u0438\u043c\u044b\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 &#8212; \u0432 \u043f\u0440\u043e\u0441\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043c\u043e\u0440\u0444\u0435\u043c \u0441\u043b\u043e\u0432\u0430 (\u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043d\u0435\u0442, \u043d\u043e \u0438\u0437 \u0431\u044b\u0442\u043e\u0432\u044b\u0445 \u043f\u043e\u043d\u044f\u0442\u0438\u0439 &#8212; \u0431\u043b\u0438\u0436\u0435 \u0432\u0441\u0435\u0433\u043e \u043a \u043c\u043e\u0440\u0444\u0435\u043c\u0430\u043c \u0432 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u0438  \u043a \u0446\u0435\u043b\u044b\u043c \u0441\u043b\u043e\u0432\u0430\u043c &#8212; \u0432 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c). <\/p>\n<p>\u041e\u0446\u0435\u043d\u0438\u0442\u044c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0430\u0448 \u0442\u0435\u043a\u0441\u0442, \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 <a href=\"https:\/\/platform.openai.com\/tokenizer\" rel=\"noopener noreferrer nofollow\">\u0442\u043e\u043a\u0435\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u0430 ChatGPT<\/a>. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/643\/21a\/f05\/64321af051413df1366cf5d516f33250.png\" alt=\"\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u044b \u0442\u043e\u043a\u0435\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u0430\" title=\"\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u044b \u0442\u043e\u043a\u0435\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u0430\" width=\"1196\" height=\"955\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/643\/21a\/f05\/64321af051413df1366cf5d516f33250.png\"\/><\/p>\n<div><figcaption>\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u044b \u0442\u043e\u043a\u0435\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0434\u043b\u044f Python \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0441 \u043c\u043e\u0434\u043d\u0435\u0439\u0448\u0438\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <a href=\"https:\/\/pypi.org\/project\/tiktoken\/\" rel=\"noopener noreferrer nofollow\">tiktoken<\/a>. \u043e\u043d\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438 \u0441\u0442\u0440\u043e\u043a \u043f\u043e\u0434 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438. \u041f\u0443\u0442\u0451\u043c \u043d\u0435\u0445\u0438\u0442\u0440\u043e\u0439 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0438\u0437 \u043d\u0435\u0451 \u0442\u043e \u0436\u0435 \u0447\u0438\u0441\u043b\u043e:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ca2\/6d3\/3e2\/ca26d33e257e9df60ce58000745ec247.png\" alt=\"\u042f \u0442\u0430\u043a \u0438 \u043d\u0435 \u043f\u043e\u043d\u044f\u043b, \u043a\u0430\u043a \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0434 \u043f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440 :(\" title=\"\u042f \u0442\u0430\u043a \u0438 \u043d\u0435 \u043f\u043e\u043d\u044f\u043b, \u043a\u0430\u043a \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0434 \u043f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440 :(\" width=\"1772\" height=\"266\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ca2\/6d3\/3e2\/ca26d33e257e9df60ce58000745ec247.png\"\/><\/p>\n<div><figcaption>\u042f \u0442\u0430\u043a \u0438 \u043d\u0435 \u043f\u043e\u043d\u044f\u043b, \u043a\u0430\u043a \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0434 \u043f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440 \ud83d\ude41<\/figcaption><\/div>\n<\/figure>\n<p>\u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432 \u043e\u0442\u0432\u0435\u0442\u0435 API:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/273\/33e\/0b4\/27333e0b415179b591616133a510c179.png\" alt=\"\u041e\u0431\u044a\u0435\u043a\u0442 chat_completion\" title=\"\u041e\u0431\u044a\u0435\u043a\u0442 chat_completion\" width=\"1807\" height=\"203\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/273\/33e\/0b4\/27333e0b415179b591616133a510c179.png\"\/><\/p>\n<div><figcaption>\u041e\u0431\u044a\u0435\u043a\u0442 chat_completion<\/figcaption><\/div>\n<\/figure>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 \u0447\u0438\u0441\u043b\u043e \u0442\u043e\u043a\u0435\u043d\u043e\u0432 &#8212; \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u043e? \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e OpenAI \u0431\u0435\u0440\u0451\u0442 \u0434\u0435\u043d\u044c\u0433\u0438 \u0438\u043c\u0435\u043d\u043d\u043e \u0437\u0430 \u0447\u0438\u0441\u043b\u043e \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435. \u0414\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0438 3.5 \u0446\u0435\u043d\u0430 <a href=\"https:\/\/openai.com\/pricing\" rel=\"noopener noreferrer nofollow\">\u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 <\/a>$0.0005 \u0437\u0430 1000 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0438 $0.0015 \u0437\u0430 1000 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0432 \u043e\u0442\u0432\u0435\u0442\u0435. \u0414\u043b\u044f ChatGPT-4 \u044d\u0442\u043e $0.03 \u0437\u0430 1000 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0438 $0.06 \u0437\u0430 1000 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0432 \u043e\u0442\u0432\u0435\u0442\u0435. <\/p>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u044d\u0442\u043e\u0442 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u044b\u043c. \u041e\u0442\u0432\u0435\u0442\u044b \u043c\u043e\u0434\u0435\u043b\u0438 \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b \u043a\u0430\u043a \u043f\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044e, \u0442\u0430\u043a \u0438 \u043f\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0443. \u041f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u0442\u0440\u0435\u0442\u0438 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u0438\u0437\u043d\u0430\u0432\u0430\u043b\u0430 \u043d\u0435\u0432\u0435\u0440\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e &#8212; \u0432\u0435\u0440\u043d\u044b\u043c (\u0447\u0442\u043e \u043e\u0431\u0438\u0434\u043d\u043e, \u043d\u043e \u0442\u0435\u0440\u043f\u0438\u043c\u043e) \u0438\u043b\u0438 \u0432\u0435\u0440\u043d\u043e\u0435 &#8212; \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c (\u0447\u0442\u043e \u0443\u0436\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u043e). \u041d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u0443\u0442\u044c, \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0440\u0444\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u0441\u043b\u043e\u0432\u0435, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0435\u0441\u0442\u044c. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0435\u0441\u043b\u0438 \u043c\u043e\u0434\u0435\u043b\u044c \u0447\u0442\u043e-\u0442\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0430, \u0442\u043e \u044f \u0438\u043b\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u043b \u0441\u043b\u043e\u0432\u043e (\u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u043e\u0432\u044b\u043c) \u0438\u043b\u0438 \u0443\u0431\u0438\u0440\u0430\u043b (\u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u043e \u043e\u0434\u043d\u043e \u0438\u0437 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445). \u0417\u0430\u043f\u0440\u043e\u0441 \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b \u0442\u0430\u043a: <\/p>\n<pre><code class=\"python\">def spelling(word, to_language):     chat_completion = client.chat.completions.create(model=\"gpt-3.5-turbo\",                                                    messages=[{\"role\": \"system\", \"content\": f\"You are a specialist in {to_language} dictionaries.\"},                                                              {\"role\": \"user\", \"content\": f\"Correct any spelling errors in the following {to_language} word: {word}. If there are no errors, do not change anything. Return corrected word. If the word is not close to any existing word, return 'Not a word'. Do not provide any explanation.\"}]                 )      answer = chat_completion.choices[0].message.content      #\u043f\u043e\u0432\u0442\u043e\u0440\u043d\u0430\u044f \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u043c\u043e\u0434\u0435\u043b\u044c \u0432\u0435\u0440\u043d\u0443\u043b\u0430 \u044f\u0432\u043d\u043e \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442     stop_counter = 0     while (len(answer.split(\" \")) > 2) and (answer != \"Not a word\") and (stop_counter &lt; 1):         stop_counter += 1         chat_completion = client.chat.completions.create(model=\"gpt-3.5-turbo\",                                                        messages=[{\"role\": \"system\", \"content\": f\"You are a specialist in {to_language} dictionaries.\"},                                                                  {\"role\": \"user\", \"content\": f\"Correct any spelling errors in the following {to_language} word: {word}. If there are no errors, do not change anything. Return corrected word. If the word is not close to any existing word, return 'Not a word'. Do not provide any explanation. It is important to return only one word or 'Not a word'!\"}]                     )         answer = chat_completion.choices[0].message.content     return answer <\/code><\/pre>\n<p>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u0442\u0432\u0435\u0442\u0430 \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u043e \u043e\u043a\u043e\u043b\u043e \u0434\u0432\u0443\u0445 \u0441\u0435\u043a\u0443\u043d\u0434. \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 100000 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e 55 \u0447\u0430\u0441\u043e\u0432, \u0447\u0442\u043e \u043f\u0435\u0447\u0430\u043b\u044c\u043d\u043e. \u041e\u0434\u043d\u0430\u043a\u043e, \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u043e\u0442\u0447\u0430\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0440\u0430\u043d\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u0440\u0430\u0441\u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0438\u043c \u0437\u0430\u043f\u0440\u043e\u0441.<\/p>\n<pre><code class=\"python\">def split_list(lemmas_list, chunk_size = 600):      chunks = list()     num_chunks = len(lemmas_list) \/\/ chunk_size + 1     for i in range(num_chunks):         chunks.append(lemmas_list[i*chunk_size:(i+1)*chunk_size])     return chunks  lemma_chunks = split_list(lemmas_list)  spelling_checked_words = [] def check_call(word):     spelling_checked_words.append({\"word\" : word, \"spelling\" : spelling(word, \"Spanish\")})           def parallel_openai_requests(prompts):     with concurrent.futures.ThreadPoolExecutor() as executor:         results = list(executor.map(check_call, prompts))      return results  for chunk in tq.tqdm(lemma_chunks):     start = time.time()     parallel_openai_requests(chunk)     end = time.time()     if (end - start) &lt; 60:         time.sleep(60 - (end - start) + 5)<\/code><\/pre>\n<p>\u041c\u044b \u043f\u043e\u0434\u0430\u0451\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 \u043f\u043e 600 \u0441\u043b\u043e\u0432. \u0415\u0441\u043b\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432\u0441\u0435\u0445 \u0441\u043b\u043e\u0432 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 \u043c\u0438\u043d\u0443\u0442\u044b, \u0442\u043e \u043c\u044b \u0436\u0434\u0451\u043c \u043e\u0441\u0442\u0430\u0432\u0448\u0435\u0435\u0441\u044f \u0432\u0440\u0435\u043c\u044f, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u0440\u0435\u0432\u044b\u0441\u0438\u0442\u044c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u0447\u0438\u0441\u043b\u043e \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0432 \u043c\u0438\u043d\u0443\u0442\u0443 (\u0432 <a href=\"https:\/\/platform.openai.com\/docs\/guides\/rate-limits\/usage-tiers?context=tier-two\" rel=\"noopener noreferrer nofollow\">\u043c\u043e\u0451\u043c \u0441\u043b\u0443\u0447\u0430\u0435<\/a> &#8212; \u044d\u0442\u043e 5000 \u0442\u043e\u043a\u0435\u043d\u043e\u0432). \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u043e \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0447\u0430\u0441\u043e\u0432. \u042d\u0442\u043e \u0441\u0442\u043e\u0438\u043b\u043e \u043c\u043d\u0435 12 \u0434\u043e\u043b\u043b\u0430\u0440\u043e\u0432.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c45\/1be\/2f8\/c451be2f85df310ad23f174229f7c2eb.png\" width=\"1635\" height=\"982\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c45\/1be\/2f8\/c451be2f85df310ad23f174229f7c2eb.png\"\/><\/figure>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u0435\u043d\u044f \u0443\u0441\u0442\u0440\u043e\u0438\u043b, \u043d\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0440\u0443\u0447\u043d\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u041d\u0430 100 \u0442\u044b\u0441\u044f\u0447 \u0441\u043b\u043e\u0432 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u044b\u0441\u044f\u0447 \u0437\u0430\u043f\u0438\u0441\u0435\u0439, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u043e\u044f\u0432\u0438\u043b\u0430 \u0438\u0437\u043b\u0438\u0448\u043d\u0438\u0439 \u043a\u0440\u0435\u0430\u0442\u0438\u0432:<\/p>\n<figure class=\"float bordered\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/2ed\/7f1\/d95\/2ed7f1d9593444696ff44a14f783dbb9.png\" alt=\"\u0427\u0438\u0441\u043b\u043e \u043e\u0442\u0432\u0435\u0442\u043e\u0432, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u0431\u043e\u043b\u0435\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\" title=\"\u0427\u0438\u0441\u043b\u043e \u043e\u0442\u0432\u0435\u0442\u043e\u0432, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u0431\u043e\u043b\u0435\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\" width=\"488\" height=\"708\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2ed\/7f1\/d95\/2ed7f1d9593444696ff44a14f783dbb9.png\"\/><\/p>\n<div><figcaption>\u0427\u0438\u0441\u043b\u043e \u043e\u0442\u0432\u0435\u0442\u043e\u0432, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u0431\u043e\u043b\u0435\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u042f \u0442\u0430\u043a \u0438 \u043d\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b \u043a\u0430\u043a\u043e\u0433\u043e-\u0442\u043e \u043e\u0431\u0449\u0435\u0433\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u043e \u0431\u044b \u043e\u0442\u0441\u0435\u0447\u044c \u0432\u0441\u0435 \u0442\u0430\u043a\u0438\u0435 \u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u044f \u0432 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u0438, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0431\u0435\u0437 \u043f\u043e\u0442\u0435\u0440\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438. <\/p>\n<p>\u042f \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0437\u0430\u043c\u0435\u043d\u0438\u043b \u0432\u0441\u0435 \u043e\u0442\u0432\u0435\u0442\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0445\u043e\u0434\u0438\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u043b\u043e\u0432\u0430:<\/p>\n<p><code>\"No errors.\" , \"No errors\" , \"No changes needed.\", \"No corrections needed\",<br \/> \"No errors found.\" , \"No changes.\" , \"No spelling errors.\", \"No changes necessary.\",<br \/> \"No cambios\", \"No correction\"<\/code><\/p>\n<p>\u043d\u0430 \u0442\u043e \u0441\u043b\u043e\u0432\u043e, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043e\u043d\u0438 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0438\u0441\u044c, \u0430 \u0442\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0445\u043e\u0434\u0438\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f:<\/p>\n<p><code>\"Not a word.\", \"No word\", \"No suggestions.\", \"No es una palabra\", \"No word.\", \"No a word\", \"No existing word.\", \"No suggestion\", \"No existe\"<\/code><\/p>\n<p>\u043d\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442 &#171;Not a word&#187; (\u0431\u0435\u0437 \u0442\u043e\u0447\u043a\u0438). <\/p>\n<figure class=\"bordered full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/277\/5d8\/f13\/2775d8f137bfa50438430f2372156e23.png\" alt=\"\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0434\u043a\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0449\u0438\u0445\u0441\u044f, \u043d\u043e \u044f\u0432\u043d\u043e \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0442\u043e\u0432\" title=\"\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0434\u043a\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0449\u0438\u0445\u0441\u044f, \u043d\u043e \u044f\u0432\u043d\u043e \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0442\u043e\u0432\" width=\"1151\" height=\"129\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/277\/5d8\/f13\/2775d8f137bfa50438430f2372156e23.png\"\/><\/p>\n<div><figcaption>\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0434\u043a\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0449\u0438\u0445\u0441\u044f, \u043d\u043e \u044f\u0432\u043d\u043e \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0442\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<p>\u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432 \u043e\u0442\u0432\u0435\u0442\u043e\u0432 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0442\u0432\u0435\u0442 \u0432\u0438\u0434\u0430: &#171;ampgo -> amigo&#187;. \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0435\u043b\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0443 \u043f\u043e &#171;->\/s&#187; \u0438 \u0431\u0435\u0440\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442. <\/p>\n<p>\u0422\u0430\u043a\u043e\u0439 \u043d\u0430\u0431\u043e\u0440 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u043c\u0443 \u0432\u0438\u0434\u0443 \u043f\u043e\u0434\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0435 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043e\u0442\u0432\u0435\u0442\u043e\u0432. \u041f\u043e\u0441\u043b\u0435 \u0432\u0441\u0435\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432, \u0432 \u043d\u0430\u0448\u0435\u043c \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0435 \u0438\u0437 100000 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0432 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c 59888 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0445 \u0438 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439. \u041c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043a \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043a LLM.<\/p>\n<h3>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0435\u0439<\/h3>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043d\u0430\u0448\u0438\u0445 \u0442\u0440\u0443\u0434\u043e\u0432. \u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u0437\u0430\u043f\u0440\u043e\u0441 \u043a API \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"python\"># \u041f\u0440\u043e\u043c\u043f\u0442 \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 class Prompt():      def __init__(self, word, from_language = \"Spanish\", to_language = \"English\"):         self.text = \"\"\" Instruction: You get a {from_language} word. You need to prepare its dictionary entry. List its possible translations to {to_language}. List as much translations as possible, preferrably all of them. Order the list in descending order of likelihood (commonness) of translation. After each word indicate the part of speech as it is done in dictionaries. Then provide two different sentences in {from_language} in which the words are used and their translations to {to_language}.  if the word has several translations, the example sentences should employ different meanings of the word. Leave no additional comment. Do not include translations of the sentences to English. If you can not translate a word, return empty strings.  Example: input word: trabajo 'translation': 'work (noun); job (noun); to work (noun)',  'example_1': 'No puedo soportar cuando otros est\u00e1n trabajando. Voy a acostarme.',  'example_2': 'El trabajo no es un lobo - en el bosque no se escapa.',  'example_translation_1': 'I can't stand still when others are working. I'm going to bed.',  'example_translation_2': 'Work is not a wolf - it does not run away in the forest.' \"\"\".format(word = word, to_language = to_language, from_language = from_language)          # \u0424\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0433\u0440\u0430\u043c\u043c\u0430\u0442\u0438\u043a\u0430 \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043f\u0430\u0440\u044b \u044f\u0437\u044b\u043a\u043e\u0432         class Grammar(BaseModel):             translation: str = Field(..., description=f\"List of all possible translations of the input word from {from_language} to {to_language}.\")             example_1: str = Field(..., description=f\"An example of a sentence in which the input word is used in {from_language}.\")             example_2: str = Field(..., description=f\"An example of a sentence in which the input word is used in {from_language}. Should be different from example_1.\")             example_translation_1: str = Field(..., description=f\"Translation of example_1 from {from_language} to {to_language}.\")             example_translation_2: str = Field(..., description=f\"Translation of example_2 from {from_language} to {to_language}.\")                                                   self.schema = Grammar.schema() # \u0424\u0443\u043d\u043a\u0446\u0438\u044f, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0430\u044f JSON def return_entry(translation, example_1, example_2, example_translation_1, example_translation_2):     \"\"\"Get dictionary entry of a word.\"\"\"     return {\"translation\" : translation, \"example_1\" : example_1, \"example_2\" : example_2, \"example_translation_1\" : example_translation_1, \"example_translation_2\" : example_translation_2}  # \u0417\u0430\u043f\u0440\u043e\u0441 \u043a \u043c\u043e\u0434\u0435\u043b\u0438 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0433\u0440\u0430\u043c\u043c\u0430\u0442\u0438\u043a\u0438 def get_entry_grammar(word, to_language = \"English\", from_language = \"Spanish\"):     prompt = Prompt(word = word, to_language = to_language, from_language = from_language)        chat_completion = client.chat.completions.create(model=\"gpt-3.5-turbo\",                                                    messages=[{\"role\": \"system\", \"content\": prompt.text},                                                              {\"role\": \"user\", \"content\": \"The word is: \" + word}],                                                      tools = [{             \"type\": \"function\",             \"function\": {                 \"name\": \"return_entry\",                 \"description\": \"Get dictionary entry of a word.\",                 \"parameters\" :     prompt.schema             }}])     return chat_completion.choices[0].message.tool_calls[0].function.arguments<\/code><\/pre>\n<p>\u0413\u0440\u0430\u043c\u043c\u0430\u0442\u0438\u043a\u0430 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0441 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f return_entries \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e, \u043a\u0440\u043e\u043c\u0435 \u0441\u0431\u043e\u0440\u043a\u0438 \u043e\u0442\u0432\u0435\u0442\u0430 \u0432 \u0441\u043b\u043e\u0432\u0430\u0440\u044c. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u044f \u043d\u0435 \u043d\u0430\u0448\u0451\u043b \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043d\u0435 <em>\u043f\u0440\u043e\u0441\u0438\u0442\u044c<\/em>, \u0430 <em>\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c<\/em> \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430, \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u0432 llama_cpp, \u043d\u043e \u0438 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0442\u043e\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443\u043b\u0443\u0447\u0448\u0438\u043b \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u044c \u043e\u0442\u0432\u0435\u0442\u043e\u0432.<\/p>\n<p>\u042f \u043f\u0440\u043e\u0433\u043d\u0430\u043b \u0434\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 1000 \u0441\u043b\u043e\u0432 \u0438 \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u044b\u0439 \u0438 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0444\u0430\u043a\u0442: \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432\u044b\u0445\u043e\u0434\u0438\u043b\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u043e\u0440\u043e\u0436\u0435, \u0447\u0435\u043c \u044f \u043e\u0436\u0438\u0434\u0430\u043b (\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u043e\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0433\u0440\u0430\u043c\u043c\u0430\u0442\u0438\u043a\u0438, \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0434\u0432\u0430\u0438\u0432\u0430\u0432\u0448\u0435\u0439 \u0447\u0438\u0441\u043b\u043e \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435). \u041f\u0440\u0438 \u044d\u0442\u043e\u043c 80% \u0442\u043e\u043a\u0435\u043d\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0432 \u044d\u0442\u043e\u043c \u0442\u0435\u043a\u0441\u0442\u0435, \u043f\u0440\u0438\u0448\u043b\u0438\u0441\u044c \u043d\u0430 \u0442\u043e\u043a\u0435\u043d\u044b \u043f\u0440\u043e\u043c\u043f\u0442\u0430, \u0430 \u043d\u0435 \u0442\u043e\u043a\u0435\u043d\u044b \u043e\u0442\u0432\u0435\u0442\u0430. \u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u043e\u043a\u0440\u0430\u0449\u0430\u0442\u044c \u043f\u0440\u043e\u043c\u043f\u0442 \u044f \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043d\u0435 \u043c\u043e\u0433 &#8212; \u043e\u043d \u0438 \u0442\u0430\u043a \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u0435\u043d. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0441\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u043f\u0440\u043e\u043c\u043f\u0442\u0430 \u0438 \u043e\u0442\u0432\u0435\u0442\u0430, \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u0432\u0435\u0442\u043e\u0432 \u0432 \u043e\u0434\u043d\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0435.<\/p>\n<p> \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u044d\u0442\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e \u0443\u0441\u043b\u043e\u0436\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u043c\u043f\u0442\u0430 \u0438 \u0441\u0445\u0435\u043c\u044b \u043e\u0442\u0432\u0435\u0442\u0430. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043f\u0440\u043e\u0441\u0438\u043c \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0435 \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e, \u0430 \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 (\u043c\u0435\u0442\u043e\u0434\u043e\u043c \u043d\u0430\u0443\u0447\u043d\u043e\u0433\u043e \u0442\u044b\u043a\u0430 \u0431\u044b\u043b\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0440\u0430\u0432\u043d\u043e\u0435 \u0434\u0432\u0430\u0434\u0446\u0430\u0442\u0438) \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0435\u0439:<\/p>\n<pre><code class=\"python\">from pydantic import conlist   class PromptMultiple():      def __init__(self, words, from_language = \"Spanish\", to_language = \"English\"):       #\u043f\u0440\u0438\u043c\u0435\u0440\u044b         ex1 = \"\"\"{'translation': 'work (noun); job (noun); to work (noun)',  'example_1': 'No puedo soportar cuando otros est\u00e1n trabajando. Voy a acostarme.',  'example_2': 'El trabajo no es un lobo - en el bosque no se escapa.',  'example_translation_1': 'I can't stand still when others are working. I'm going to bed.',  'example_translation_2': 'Work is not a wolf - it does not run away in the forest.'}\"\"\"         ex2 = \"\"\"{'translation': 'new (adj)',  'example_1': 'Mira como un carnero a la nueva puerta.',  'example_2': 'Una nueva escoba barre en una nueva.',  'example_translation_1': 'Look like a ram at the new door.',  'example_translation_2': 'A new broom sweeps as a new one.'}\"\"\"                  self.text = \"\"\" Instruction: You get a sequence of {from_language} words: {words}. You need to prepare their dictionary entries. List their possible translations to {to_language}. List as much translations as possible, preferrably all of them. Order the list in descending order of likelihood (commonness) of translation. After each word indicate the part of speech as it is done in dictionaries (in {from_language}, please!). Then provide two different sentences in {from_language} in which the words are used and their translations to {to_language}.  if the word has several translations, the example sentences should employ different meanings of the word. Leave no additional comment. Do not include translations of the sentences to English. If you can not translate a word, return empty strings for this particular word only. Return a valid JSON to pass into a function for preparing dictionary entries. JSON must include an entry for each word in a sequence. The format is the following: {{\"word_entry_1\" : {{\"translation\" : \"\", \"example_1\" : \"\", \"example_2\" : \"\", \"example_translation_1\" : \"\", \"example_translation_2\" : \"\"}}, ..., \"word_entry_n\" : {{\"translation\" : \"\", \"example_1\" : \"\", \"example_2\" : \"\", \"example_translation_1\" : \"\", \"example_translation_2\" : \"\"}}}} for each of N words in a sequence. Ensure that the format is followed. Example: [user input]: [\"trabajo\", \"nuevo\"] [your response]: \"word_entry_1\" : {ex1}, \"word_entry_2\" : {ex2} \"\"\".format(to_language = to_language, from_language = from_language, ex1 = ex1, ex2 = ex2, words = str(words))          #\u0441\u0445\u0435\u043c\u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438         class WordEntry(BaseModel):             translation: str = Field(..., description=f\"List of all possible translations of the input word from {from_language} to {to_language}.\")             example_1: str = Field(..., description=f\"An example of a sentence in which the input word is used in {from_language}.\")             example_2: str = Field(..., description=f\"An example of a sentence in which the input word is used in {from_language}. Should be different from example_1.\")             example_translation_1: str = Field(..., description=f\"Translation of example_1 from {from_language} to {to_language}.\")             example_translation_2: str = Field(..., description=f\"Translation of example_2 from {from_language} to {to_language}.\")          #\u0441\u0445\u0435\u043c\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0435\u0439         class Grammar(BaseModel):             word_entry_1: WordEntry = Field(..., description = f\"Dictionary entry for {words[0]}\")             word_entry_2: WordEntry = Field(..., description = f\"Dictionary entry for {words[1]}\")             # &lt;\/\/\/> - \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u043b \u0434\u043b\u044f \u0441\u0442\u0430\u0442\u044c\u0438             word_entry_19: WordEntry = Field(..., description = f\"Dictionary entry for {words[18]}\")             word_entry_20: WordEntry = Field(..., description = f\"Dictionary entry for {words[19]}\")          self.schema = Grammar.schema()         self.word_schema = WordEntry.schema()  def return_entries(word_entry_1, word_entry_2, word_entry_3, word_entry_4, word_entry_5, word_entry_6, word_entry_7, word_entry_8, word_entry_9, word_entry_10,                    word_entry_11, word_entry_12, word_entry_13, word_entry_14, word_entry_15, word_entry_16, word_entry_17, word_entry_18, word_entry_19, word_entry_20                   ):     \"\"\"Get dictionary entry of a sequence of words.\"\"\"          return [{\"translation\" : entry.translation, \"example_1\" : entry.example_1, \"example_2\" : entry.example_2, \"example_translation_1\" : entry.example_translation_1, \"example_translation_2\" : entry.example_translation_2} for entry in [word_entry_1, word_entry_2, word_entry_3, word_entry_4, word_entry_5]] <\/code><\/pre>\n<p>\u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u0438\u0442\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c <s>\u0440\u0430\u0437\u0431\u0430\u0437\u0430\u0440\u0438\u0432\u0430\u043d\u0438\u044f \u043b\u0438\u0447\u043d\u044b\u0445 \u0444\u043e\u043d\u0434\u043e\u0432 \u043d\u0430 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435<\/s> \u0441\u0430\u043c\u043e\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0431\u044b\u043b\u043e \u0432\u044b\u044f\u0441\u043d\u0435\u043d\u043e, \u0447\u0442\u043e \u043e\u0442\u0432\u0435\u0442\u044b \u0441\u043a\u043b\u043e\u043d\u043d\u044b \u043a \u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044e \u0432 \u043e\u0434\u043d\u0443 \u0438\u0437 \u0435\u0440\u0435\u0441\u0435\u0439:<\/p>\n<ol>\n<li>\n<p>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438, \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0441\u0445\u0435\u043c\u0435, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c.<\/p>\n<\/li>\n<li>\n<p>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0441\u0445\u0435\u043c\u044b, \u0432\u0441\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 &#8212; \u043f\u0443\u0441\u0442\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438. \u0417\u0434\u0435\u0441\u044c \u0435\u0441\u0442\u044c \u043f\u043e\u0434\u043e\u0437\u0440\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0432, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 (\u0432 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u043f\u0440\u043e\u0441\u0438\u043c \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e \u043f\u0443\u0441\u0442\u044b\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438), \u0438 \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0435 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u044f\u0441\u044c \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0432\u0441\u0435 \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u0432 \u043d\u0430\u0431\u043e\u0440\u0435 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u043c\u0438. <\/p>\n<\/li>\n<\/ol>\n<p>\u0427\u0442\u043e\u0431\u044b \u0441\u0440\u0430\u0437\u0443 \u0432\u044b\u043b\u043e\u0432\u0438\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438, \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:<\/p>\n<pre><code class=\"python\">from jsonschema import validate  # \u0424\u0443\u043d\u043a\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u043a\u0438\u0434\u044b\u0432\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443, \u0435\u0441\u043b\u0438 \u043e\u0442\u0432\u0435\u0442 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0444\u043e\u0440\u043c\u0430\u0442\u0443 def validate_output_error(model_response, bunch_size):     schema = {         \"type\" : \"object\",         \"properties\" : {            f\"word_entry_{n}\": {           \"type\": \"object\",           \"properties\": {             \"translation\": {               \"type\": \"string\"             },             \"example_1\": {               \"type\": \"string\"             },             \"example_2\": {               \"type\": \"string\"             },             \"example_translation_1\": {               \"type\": \"string\"             },             \"example_translation_2\": {               \"type\": \"string\"             }           },           \"required\": [             \"translation\",             \"example_1\",             \"example_2\",             \"example_translation_1\",             \"example_translation_2\"           ]         } for n in range(1, bunch_size + 1)         }     }     if type(model_response) == str:         model_response = ast.literal_eval(model_response)     validate(instance = model_response, schema=schema)     return model_response  # \u0424\u0443\u043d\u043a\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0438\u0437 \u0432\u0441\u0435\u0445 \u0441\u0442\u0430\u0442\u0435\u0439 \u0432 \u043d\u0430\u0431\u043e\u0440\u0435 def extract_fields(entry, field):     entries_list = []     for word_entry in entry:         entries_list.append(entry[word_entry][field].replace(\",\", \";\"))     return entries_list  # \u0424\u0443\u043d\u043a\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442, \u0447\u0442\u043e \u043f\u043e\u043b\u0435 translation \u0432 \u043e\u0442\u0432\u0435\u0442\u0435 \u043d\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u043f\u0443\u0441\u0442\u044b\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 def validate_empty_translations(model_response):     if type(model_response) == str:         model_response = ast.literal_eval(model_response)         translations = extract_fields(model_response, \"translation\")         translations = \"\".join(translations)         if translations == \"\":             return False         else:             return True<\/code><\/pre>\n<p>\u0410\u0432\u0442\u043e\u0440 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 <s>\u0442\u044f\u0436\u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438\u0445 \u0433\u0440\u0435\u0445\u043e\u0432<\/s> \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u044d\u0442\u0438\u0445 \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a (\u0441\u043a\u0430\u0436\u0435\u043c, literal_eval \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u043e\u0434\u043d\u0443 \u0438 \u0442\u0443 \u0436\u0435 \u0441\u0442\u0440\u043e\u043a\u0443 \u043d\u0435\u043e\u0434\u043d\u043e\u043a\u0440\u0430\u0442\u043d\u043e), \u043e\u0434\u043d\u0430\u043a\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u0432\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043a \u043c\u043e\u0434\u0435\u043b\u0438 \u0432\u0440\u0435\u043c\u044f, \u0437\u0430\u043d\u044f\u0442\u043e\u0435 \u0440\u0430\u0431\u043e\u0442\u043e\u0439 CPU \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f &#8212; \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0432 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0438 \u043e\u0442\u0432\u0435\u0442\u0430 \u043e\u0442 API. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043d\u0435 \u0434\u0430\u0441\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u0432\u044b\u0438\u0433\u0440\u044b\u0448\u0430, \u0442\u0430\u043a \u0447\u0442\u043e \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u043a\u0430\u043a \u0435\u0441\u0442\u044c.<\/p>\n<p>\u0421\u0430\u043c \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u0441\u043b\u043e\u0436\u043d\u0438\u0442\u044c, \u0432\u0441\u0442\u0440\u043e\u0438\u0432 \u0432 \u043d\u0435\u0433\u043e \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438:<\/p>\n<pre><code class=\"python\">def get_entry_grammar(words, to_language = \"English\", from_language = \"Spanish\"):     prompt = PromptMultiple(words = words, to_language = to_language, from_language = from_language)      chat_completion = client.chat.completions.create(model=\"gpt-3.5-turbo\",                                                    messages=[{\"role\": \"system\", \"content\": prompt.text},                                                              {\"role\": \"user\", \"content\": \"The words are: \" + str(words)}],                                                      tools = [{             \"type\": \"function\",             \"function\": {                 \"name\": \"return_entries\",                 \"description\": \"Get dictionary entry for each word in a list. Used when a translation is requested for a sequence of .\",                 \"parameters\" :     prompt.schema,                              }}],                                                     )      response = chat_completion.choices[0].message.tool_calls[0].function.arguments     validate_output_error(response, 20)           if validate_empty_translations(response) == False:         chat_completion = client.chat.completions.create(model=\"gpt-3.5-turbo\",                                                messages=[{\"role\": \"system\", \"content\": prompt.text},                                                          {\"role\": \"user\", \"content\": \"You translated nothing, try again. The words are: \" + str(words)}],                                                  tools = [{         \"type\": \"function\",         \"function\": {             \"name\": \"return_entries\",             \"description\": \"Get dictionary entry for each word in a list. Used when a translation is requested for a sequence of .\",             \"parameters\" :     prompt.schema,                      }}],                                                 )         response = chat_completion.choices[0].message.tool_calls[0].function.arguments         validate_output_error(response, 20)           return ast.literal_eval(response)<\/code><\/pre>\n<p>\u0417\u0430\u043f\u0440\u043e\u0441 \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u0443\u044e \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043e\u0442\u0432\u0435\u0442\u0430, \u0435\u0441\u043b\u0438 \u043e\u0442\u0432\u0435\u0442 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d \u043f\u0443\u0441\u0442\u044b\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438. \u0422\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u0443, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0430\u043c \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u0442\u0435\u0440\u044f\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043b\u043e\u0432, \u0447\u0435\u043c \u0443\u0439\u0442\u0438 \u0432 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0432\u044b\u0441\u0430\u0441\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0446\u0438\u043a\u043b \u043f\u043e\u0432\u0442\u043e\u0440\u043e\u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0442\u0430\u043c, \u0433\u0434\u0435 \u0435\u0441\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u044b \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0437\u043e\u0432\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:<\/p>\n<pre><code class=\"python\">%%time get_entry_grammar(['amigo', 'trabajo'                    , 'pueblo', 'habla', 'unido',  'ministro', 'pasar', 'persona', 'martes', 'primero',                     'tras', 'quien', 'despu\u00e9s', 'hasta', 'acuerdo', 'prensa', 'si', 'tener', 'domingo', 'partido'                   ])<\/code><\/pre>\n<details class=\"spoiler\">\n<summary>\u0418 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u043e\u0442\u0432\u0435\u0442\u0430<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>CPU times: total: 15.6 ms Wall time: 30.2 s<\/code><\/pre>\n<pre><code>{'word_entry_1': {'translation': 'friend (noun)',   'example_1': 'Mi mejor amigo me ayud\u00f3 en tiempos dif\u00edciles.',   'example_2': 'Me gusta salir con mis amigos los fines de semana.',   'example_translation_1': 'My best friend helped me in difficult times.',   'example_translation_2': 'I enjoy going out with my friends on weekends.'},  'word_entry_2': {'translation': 'work (noun); job (noun); to work (verb)',   'example_1': 'No puedo soportar cuando otros est\u00e1n trabajando. Voy a acostarme.',   'example_2': 'El trabajo no es un lobo - en el bosque no se escapa.',   'example_translation_1': \"I can't stand still when others are working. I'm going to bed.\",   'example_translation_2': 'Work is not a wolf - it does not run away in the forest.'},  'word_entry_3': {'translation': 'town (noun); people (noun)',   'example_1': 'Vivo en un peque\u00f1o pueblo rodeado de naturaleza.',   'example_2': 'El pueblo se uni\u00f3 para celebrar el D\u00eda de la Independencia.',   'example_translation_1': 'I live in a small town surrounded by nature.',   'example_translation_2': 'The people came together to celebrate Independence Day.'},  'word_entry_4': {'translation': 'speech (noun); language (noun)',   'example_1': 'Su discurso fue inspirador y poderoso.',   'example_2': '\u00c9l habla varios idiomas con fluidez.',   'example_translation_1': 'His speech was inspiring and powerful.',   'example_translation_2': 'He speaks multiple languages fluently.'},  'word_entry_5': {'translation': 'united (adjective)',   'example_1': 'La familia estaba unida en su deseo de prosperidad.',   'example_2': 'Unidos somos m\u00e1s fuertes.',   'example_translation_1': 'The family was united in their desire for prosperity.',   'example_translation_2': 'United we are stronger.'},  'word_entry_6': {'translation': 'minister (noun)',   'example_1': 'El ministro de educaci\u00f3n anunci\u00f3 nuevas reformas.',   'example_2': 'El primer ministro est\u00e1 dando un discurso en la conferencia.',   'example_translation_1': 'The Minister of Education announced new reforms.',   'example_translation_2': 'The Prime Minister is giving a speech at the conference.'},  'word_entry_7': {'translation': 'to pass (verb); to spend (verb)',   'example_1': 'Pasar\u00e9 el fin de semana en la playa con mis amigos.',   'example_2': 'No puedo pasar sin caf\u00e9 por la ma\u00f1ana.',   'example_translation_1': 'I will spend the weekend at the beach with my friends.',   'example_translation_2': \"I can't go without coffee in the morning.\"},  'word_entry_8': {'translation': 'person (noun)',   'example_1': 'Cada persona tiene sus propias fortalezas y debilidades.',   'example_2': 'Me encanta conocer a nuevas personas y aprender de ellas.',   'example_translation_1': 'Every person has their own strengths and weaknesses.',   'example_translation_2': 'I love meeting new people and learning from them.'},  'word_entry_9': {'translation': 'Tuesday (noun)',   'example_1': 'Vamos a tener una reuni\u00f3n importante el martes.',   'example_2': 'Los martes son mi d\u00eda favorito de la semana.',   'example_translation_1': 'We are going to have an important meeting on Tuesday.',   'example_translation_2': 'Tuesdays are my favorite day of the week.'},  'word_entry_10': {'translation': 'first (adjective); first (adverb); firstly (adverb)',   'example_1': 'El primer lugar en el concurso fue para ella.',   'example_2': 'Primero, necesitamos analizar los datos antes de tomar una decisi\u00f3n.',   'example_translation_1': 'She got the first place in the competition.',   'example_translation_2': 'Firstly, we need to analyze the data before making a decision.'},  'word_entry_11': {'translation': 'after (preposition); behind (preposition)',   'example_1': 'El gato se escondi\u00f3 tras la cortina.',   'example_2': 'El coche ven\u00eda tras el cami\u00f3n.',   'example_translation_1': 'The cat hid behind the curtain.',   'example_translation_2': 'The car was coming after the truck.'},  'word_entry_12': {'translation': 'who (pronoun)',   'example_1': '\u00bfSabes qui\u00e9n es el ganador del concurso?',   'example_2': 'Quien no arriesga, no gana.',   'example_translation_1': 'Do you know who is the winner of the competition?',   'example_translation_2': \"Whoever doesn't take risks, doesn't win.\"},  'word_entry_13': {'translation': 'after (preposition); later (adverb)',   'example_1': 'Voy a tomar un descanso y despu\u00e9s continuar con el trabajo.',   'example_2': 'Despu\u00e9s de la tormenta, sale el sol.',   'example_translation_1': \"I'm going to take a break and then continue with the work.\",   'example_translation_2': 'After the storm, the sun comes out.'},  'word_entry_14': {'translation': 'until (preposition); to (preposition)',   'example_1': 'Estudiar\u00e9 hasta que termine el examen.',   'example_2': 'Camina hasta la esquina y luego gira a la derecha.',   'example_translation_1': 'I will study until the exam is finished.',   'example_translation_2': 'Walk to the corner and then turn right.'},  'word_entry_15': {'translation': 'agreement (noun)',   'example_1': 'Llegamos a un acuerdo sobre el precio del coche.',   'example_2': 'El acuerdo entre las dos partes fue justo y equitativo.',   'example_translation_1': 'We reached an agreement on the price of the car.',   'example_translation_2': 'The agreement between the two parties was fair and equitable.'},  'word_entry_16': {'translation': 'press (noun)',   'example_1': 'El presidente dio una conferencia de prensa para anunciar nuevas pol\u00edticas.',   'example_2': 'La prensa public\u00f3 un art\u00edculo sobre el evento.',   'example_translation_1': 'The president gave a press conference to announce new policies.',   'example_translation_2': 'The press published an article about the event.'},  'word_entry_17': {'translation': 'if (conjunction)',   'example_1': 'Si tienes tiempo, podemos salir a tomar algo.',   'example_2': 'Si estudias, aprobar\u00e1s el examen.',   'example_translation_1': 'If you have time, we can go out for a drink.',   'example_translation_2': 'If you study, you will pass the exam.'},  'word_entry_18': {'translation': 'to have (verb); to possess (verb)',   'example_1': 'Tengo hambre, \u00bfquieres pedir comida?',   'example_2': 'Ella tiene mucho talento para la m\u00fasica.',   'example_translation_1': \"I'm hungry, do you want to order food?\",   'example_translation_2': 'She has a lot of talent for music.'},  'word_entry_19': {'translation': 'Sunday (noun)',   'example_1': 'Me gusta relajarme los domingos y descansar.',   'example_2': 'Vamos a la iglesia todos los domingos por la ma\u00f1ana.',   'example_translation_1': 'I like to relax on Sundays and rest.',   'example_translation_2': 'We go to church every Sunday morning.'},  'word_entry_20': {'translation': 'party (noun)',   'example_1': 'Vamos a organizar una fiesta de cumplea\u00f1os sorpresa para Juan.',   'example_2': 'El partido pol\u00edtico present\u00f3 su plan para mejorar la econom\u00eda.',   'example_translation_1': 'We are going to organize a surprise birthday party for Juan.',   'example_translation_2': 'The political party presented their plan to improve the economy.'}}<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u0447\u0438\u0442\u0430\u0432\u0448\u0438\u0441\u044c \u0432 \u043e\u0442\u0432\u0435\u0442, \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u0440\u0435\u0434\u043a\u0443\u044e, \u043d\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443 \u043c\u043e\u0434\u0435\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0437\u0430\u0431\u0430\u0432\u043d\u0443\u044e \u0432\u0435\u0449\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043e\u043d\u0430 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043e\u0442\u0432\u0435\u0442. <\/p>\n<blockquote>\n<p>&#8216;word_entry_20&#8217;: {&#8216;translation&#8217;: &#8216;party (noun)&#8217;,<br \/> &#8216;example_1&#8217;: &#8216;Vamos a organizar una fiesta de cumplea\u00f1os sorpresa para Juan.&#8217;,<br \/> &#8216;example_2&#8217;: &#8216;El partido pol\u00edtico present\u00f3 su plan para mejorar la econom\u00eda.&#8217;,<br \/> &#8216;example_translation_1&#8217;: &#8216;We are going to organize a surprise birthday party for Juan.&#8217;,<br \/> &#8216;example_translation_2&#8217;: &#8216;The political party presented their plan to improve the economy.&#8217;}}<\/p>\n<\/blockquote>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0441\u043b\u043e\u0432\u043e &#171;partido&#187; \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 party, \u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 party \u043a\u0430\u043a \u0432\u0435\u0447\u0435\u0440\u0438\u043d\u043a\u0430, \u0430 party \u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0438 \u043f\u043e\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0430\u0440\u0442\u0438\u0438. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043c\u043e\u0434\u0435\u043b\u044c, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0432\u0437\u044f\u043b\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0435 \u0441\u043b\u043e\u0432\u043e party, \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u043a \u043d\u0435\u043c\u0443 \u043f\u0440\u0438\u043c\u0435\u0440 (\u043f\u0440\u043e \u0432\u0435\u0447\u0435\u0440\u0438\u043d\u043a\u0443) \u0438 \u043f\u0435\u0440\u0435\u0432\u0435\u043b\u0430 \u043d\u0430 \u0438\u0441\u043f\u0430\u043d\u0441\u043a\u0438\u0439 &#8212; \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432 \u0438\u0441\u043f\u0430\u043d\u0441\u043a\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0441\u043b\u043e\u0432\u043e partido \u0438\u0441\u0447\u0435\u0437\u043b\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0430\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u043a\u0443\u0434\u0430 \u043b\u0443\u0447\u0448\u0435, \u0447\u0435\u043c \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u0442\u0432\u0435\u0442\u044b. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0442\u0430\u043a\u043e\u0433\u043e \u0440\u043e\u0434\u0430 \u043e\u0448\u0438\u0431\u043a\u0430 (\u043a \u0442\u043e\u043c\u0443 \u0436\u0435, \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0440\u0435\u0434\u043a\u0430\u044f) \u043d\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u0430 \u0434\u043b\u044f \u043c\u043e\u0438\u0445 \u0437\u0430\u0434\u0430\u0447. \u041a\u0443\u0434\u0430 \u0445\u0443\u0436\u0435, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u0442\u0435\u0440\u044f\u043d\u043e \u0432\u0442\u043e\u0440\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u043b\u043e\u0432\u0430 partido &#8212; \u043c\u0430\u0442\u0447\/\u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u0430\u044f \u0438\u0433\u0440\u0430. \u0427\u0442\u043e \u0436 &#8212; \u043c\u044b \u043d\u0435 \u0432\u0441\u0435\u0441\u0438\u043b\u044c\u043d\u044b. <\/p>\n<p>\u041d\u0443 \u0438, \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u0440\u0430\u0441\u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0438\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441. \u041f\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044e \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0432 \u043c\u0438\u043d\u0443\u0442\u0443 \u043f\u0440\u043e\u043b\u0435\u0437\u0430\u0435\u0442 \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e 10 \u0431\u0430\u043d\u0447\u0435\u0439 \u043f\u043e 20 \u0441\u043b\u043e\u0432 \u0432 \u043a\u0430\u0436\u0434\u043e\u043c.<\/p>\n<pre><code class=\"python\">%%time import concurrent.futures  def split_dataframe(df, chunk_size = 20):      chunks = list()     num_chunks = len(df) \/\/ chunk_size + 1     for i in range(num_chunks):         if len(df[i*chunk_size:(i+1)*chunk_size]) > 0:             chunks.append(df[i*chunk_size:(i+1)*chunk_size])     return chunks    price_test_entries = [] errors = [] words_processed = [] def openai_call(lemma_bunch):     try:         price_test_entries.append({\"cohort\" : cohort, \"word\" : lemma_bunch, \"entry\" : get_entry_grammar(lemma_bunch)})     except Exception as e:         try:             price_test_entries.append({\"cohort\" : cohort, \"word\" : lemma_bunch, \"entry\" : get_entry_grammar(lemma_bunch)})         except Exception as e2:             errors.append({\"cohort\" : cohort, \"word\" : lemma_bunch, \"entry\" : str(e2)})     words_processed.append(lemma_bunch)          def parallel_openai_requests(prompts):     with concurrent.futures.ThreadPoolExecutor() as executor:         # Map the function over the list of prompts in parallel         results = list(executor.map(openai_call, prompts))  all_chunks = split_dataframe(split_dataframe(all_lemmas, chunk_size = 20), chunk_size = 10) <\/code><\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u0443 \u043d\u0430\u0441 \u0432 \u0446\u0438\u043a\u043b\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8212; cohort. \u041e\u043d \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0438\u0437-\u0437\u0430 \u043c\u043e\u0435\u0433\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u0430\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u0441\u0442 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043c\u043e\u0434\u0435\u043b\u0438.<\/p>\n<h3>\u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u043c\u0435\u0442\u043e\u0434\u0430<\/h3>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u043d\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0441 \u043c\u043e\u0434\u0435\u043b\u0438, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0435\u0451 \u043f\u0440\u043e\u0432\u0430\u043b\u0438\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b, \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441\u0442\u0440\u0430\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0432\u044b\u0431\u043e\u0440\u043a\u0443 &#8212; \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432\u043e\u0437\u044c\u043c\u0451\u043c 400 \u0441\u043b\u043e\u0432 \u0438\u0437 \u043f\u0435\u0440\u0432\u044b\u0445 100000 \u043f\u043e \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u0438 (\u043f\u043e\u0441\u043b\u0435 \u043e\u0447\u0438\u0441\u0442\u043a\u0438) \u0438 \u043f\u043e 800 \u0441\u043b\u043e\u0432 \u0438\u0437 \u043a\u043e\u0433\u043e\u0440\u0442 100-200 \u0442\u044b\u0441\u044f\u0447 \u0438 200-300 \u0442\u044b\u0441\u044f\u0447. \u0421\u043b\u043e\u0432\u0430 \u0438\u0437 \u0441\u0440\u0435\u0434\u043d\u0435\u0439 \u0438 \u043d\u0438\u0436\u043d\u0435\u0439 \u043a\u043e\u0433\u043e\u0440\u0442 \u043c\u044b \u043f\u043e\u0434\u0432\u0435\u0440\u0433\u043d\u0435\u043c \u0442\u043e\u0439 \u0436\u0435 \u0447\u0438\u0441\u0442\u043a\u0435, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043b\u0430 \u0432\u044b\u0431\u043e\u0440\u043a\u0430 \u0442\u043e\u043f-100 \u0442\u044b\u0441\u044f\u0447, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0443 \u043d\u0430\u0441 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f 615 \u0438 592 \u0441\u043b\u043e\u0432\u0430 \u0432 \u044d\u0442\u0438\u0445 \u043a\u043e\u0433\u043e\u0440\u0442\u0430\u0445 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<p>\u0423 \u043d\u0430\u0441 \u0432\u0441\u0451 \u0433\u043e\u0442\u043e\u0432\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043e\u0442\u0432\u0435\u0442\u043e\u0432 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u043f\u043e\u043b\u0443\u0442\u043e\u0440\u0430 \u0442\u044b\u0441\u044f\u0447 \u0441\u043b\u043e\u0432. \u041f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u043b\u043e\u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u043a\u043e\u0433\u043e\u0440\u0442\u044b \u0432\u043c\u0435\u0441\u0442\u043e all_lemmas \u0432 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u043c \u0447\u0443\u0442\u044c \u0432\u044b\u0448\u0435 \u043a\u043e\u0434\u0435, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0435 \u0440\u0435\u0441\u043f\u043e\u043d\u0441\u044b \u043c\u043e\u0434\u0435\u043b\u0438 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u043a\u043e\u0433\u043e\u0440\u0442. \u0422\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c \u0447\u0438\u0441\u0442\u043e \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u0438 &#8212; \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u0430\u0432\u0434\u0430 \u043e\u0442\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043a\u0430\u043a \u043d\u0430\u0434\u043e (\u043f\u0440\u0430\u0432\u0434\u0430, \u043e\u043a\u043e\u043b\u043e 10% \u0431\u0430\u043d\u0447\u0435\u0439 \u0443\u043b\u0435\u0442\u0430\u0435\u0442 \u0432 \u043e\u0448\u0438\u0431\u043a\u0438 &#8212; \u0438\u0445 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437). \u0412\u0441\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0441\u0442\u043e\u0438\u0442 \u043d\u0430\u043c \u043e\u043a\u043e\u043b\u043e $1 &#8212; \u0437\u043d\u0430\u0447\u0438\u0442, \u0434\u043b\u044f 60000 \u0441\u043b\u043e\u0432 \u043c\u044b \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043c \u043e\u043a\u043e\u043b\u043e $40, \u0447\u0442\u043e \u0431\u043b\u0438\u0437\u043a\u043e \u043a \u043d\u0430\u0448\u0435\u0439 \u043e\u0446\u0435\u043d\u043a\u0435.<\/p>\n<p>\u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0432\u0435\u0442\u043e\u0432, \u0430 \u043d\u0435 \u0441\u0430\u043c \u0444\u0430\u043a\u0442 \u0438\u0445 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f. \u0412\u043e\u0437\u044c\u043c\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0443\u044e \u043c\u0435\u0442\u0440\u0438\u043a\u0443 &#8212; \u0434\u043e\u043b\u044e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0442\u043e\u0432 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043e\u0433\u043e\u0440\u0442\u0435. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043e\u0442\u0432\u0435\u0442\u0430 &#8212; \u043d\u0435 \u0442\u0430\u043a\u0430\u044f \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u0432 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u044d\u0442\u0430\u043b\u043e\u043d\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u044f. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u043f\u043e \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0441\u043b\u043e\u0432\u0430\u0440\u044f\u043c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0447\u0443\u0434\u043e\u0432\u0438\u0449\u043d\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e. \u0417\u0434\u0435\u0441\u044c \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u043b\u0438\u043d\u043d\u0443\u044e \u0438 \u0433\u0440\u0443\u0441\u0442\u043d\u0443\u044e \u043f\u043e\u0432\u0435\u0441\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u044f \u043f\u0440\u043e\u0432\u0451\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 (\u043d\u0435\u0442) \u0432\u0435\u0447\u0435\u0440\u043e\u0432, \u043f\u044b\u0442\u0430\u044f\u0441\u044c \u0432\u044b\u0442\u0440\u044f\u0441\u0442\u0438 \u0447\u0442\u043e-\u0442\u043e \u0432\u043d\u044f\u0442\u043d\u043e\u0435 \u0438\u0437 API (\u0434\u0430 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u0440\u044d\u043f\u043f\u0438\u043d\u0433\u0430) \u0432\u0441\u0435\u0445 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0445 \u043c\u043d\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439, \u043d\u043e \u043f\u043e\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u0434\u0443\u043c\u0430\u043b. \u041a\u043e\u0440\u043e\u0447\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, \u044f \u043e\u0431\u0440\u0430\u0442\u0438\u043b\u0441\u044f \u043a API Yandex Translate. \u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u044f \u043d\u0430\u0448\u0451\u043b \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c, \u043d\u043e \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u043b\u0443\u0447\u0448\u0435\u0435, \u0447\u0442\u043e \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c (\u043a \u0442\u043e\u043c\u0443 \u0436\u0435, \u043e\u043d\u0438 \u0434\u0430\u044e\u0442 4000 \u0440\u0443\u0431\u043b\u0435\u0439 \u043d\u0430 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0432\u043e\u0435\u0433\u043e API \u043d\u043e\u0432\u044b\u043c \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430\u043c). <\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441\u0430, \u044f \u0441\u0432\u0451\u043b \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044b \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0442\u0430\u043a\u043e\u0433\u043e \u0432\u0438\u0434\u0430:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6b9\/e3a\/c2d\/6b9e3ac2d4c7863a37c9d83f3a0b4dbc.png\" alt=\"\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441\u0430 \u0438 \u043e\u0442 ChatGPT\" title=\"\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441\u0430 \u0438 \u043e\u0442 ChatGPT\" width=\"1050\" height=\"635\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6b9\/e3a\/c2d\/6b9e3ac2d4c7863a37c9d83f3a0b4dbc.png\"\/><\/p>\n<div><figcaption>\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441\u0430 \u0438 \u043e\u0442 ChatGPT<\/figcaption><\/div>\n<\/figure>\n<details class=\"spoiler\">\n<summary>\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 coati?<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/108\/d4f\/7da\/108d4f7da0c61663e58a18652da884e3.png\" alt=\"\u041a\u0430\u043a \u044d\u0442\u043e\u0442 \u043c\u0438\u043b\u0430\u0448 \u043f\u043e\u043f\u0430\u043b \u0432 \u0432\u0435\u0440\u0445\u043d\u044e\u044e \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u0443\u044e \u043a\u043e\u0433\u043e\u0440\u0442\u0443 \u044f \u043d\u0435 \u0437\u043d\u0430\u044e\" title=\"\u041a\u0430\u043a \u044d\u0442\u043e\u0442 \u043c\u0438\u043b\u0430\u0448 \u043f\u043e\u043f\u0430\u043b \u0432 \u0432\u0435\u0440\u0445\u043d\u044e\u044e \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u0443\u044e \u043a\u043e\u0433\u043e\u0440\u0442\u0443 \u044f \u043d\u0435 \u0437\u043d\u0430\u044e\" width=\"2163\" height=\"828\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/108\/d4f\/7da\/108d4f7da0c61663e58a18652da884e3.png\"\/><\/p>\n<div><figcaption>\u041a\u0430\u043a \u044d\u0442\u043e\u0442 \u043c\u0438\u043b\u0430\u0448 \u043f\u043e\u043f\u0430\u043b \u0432 \u0432\u0435\u0440\u0445\u043d\u044e\u044e \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u0443\u044e \u043a\u043e\u0433\u043e\u0440\u0442\u0443 \u044f \u043d\u0435 \u0437\u043d\u0430\u044e<\/figcaption><\/div>\n<\/figure>\n<\/div>\n<\/details>\n<p>\u041f\u043e \u0432\u0435\u0440\u0445\u043d\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0430\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043c\u044b \u0443\u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u044c \u043f\u0440\u0438\u044f\u0442\u043d\u0443\u044e \u0432\u0435\u0449\u044c &#8212; \u043d\u0430\u0448 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u043f\u043e\u043b\u043d\u0435\u0435, \u0447\u0435\u043c \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441\u0430. \u0412 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u042f\u043d\u0434\u0435\u043a\u0441 \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u043d\u0435 \u0441\u043f\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u0441 \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u044b\u043c \u0441\u043b\u043e\u0432\u043e\u043c tercia \u0438 \u043f\u043e \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u0441\u043e \u0441\u043b\u043e\u0432\u043e\u043c puya, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430 \u043a\u0430\u043a\u043e\u043c-\u0442\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0436\u0430\u0440\u0433\u043e\u043d\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 pointed sting used by toreador. \u0412\u043e\u043f\u0440\u043e\u0441\u044b \u043a \u043c\u043e\u0435\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u0441\u043b\u043e\u0432 \u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0443 \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u0438 \u0432 \u043d\u0435\u0439 \u0443\u0441\u0438\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f, \u043d\u043e \u043b\u0430\u0434\u043d\u043e.<\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u0441\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u043e\u0445\u043e\u0436\u0435\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432, \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u043f\u043e\u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c spacy.<\/p>\n<figure class=\"float\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d69\/9f3\/34d\/d699f334dc56a3dced24f31b26e298f9.png\" alt=\"\u0421\u0445\u043e\u0436\u0435\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u043e\u0432 spacy\" title=\"\u0421\u0445\u043e\u0436\u0435\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u043e\u0432 spacy\" width=\"503\" height=\"287\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d69\/9f3\/34d\/d699f334dc56a3dced24f31b26e298f9.png\"\/><\/p>\n<div><figcaption>\u0421\u0445\u043e\u0436\u0435\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u043e\u0432 spacy<\/figcaption><\/div>\n<\/figure>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 (\u0441\u043f\u0440\u0430\u0432\u0430) \u043c\u0435\u043d\u044f \u043d\u0435 \u0443\u0441\u0442\u0440\u043e\u0438\u043b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0435\u0448\u0438\u043b \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0449\u0435 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 fuzzywuzzy, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043d\u0430 \u0441\u0442\u0430\u0440\u043e\u043c-\u0434\u043e\u0431\u0440\u043e\u043c \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u041b\u0435\u0432\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430.<\/p>\n<figure class=\"float full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/84c\/7d6\/d22\/84c7d6d22b8e4a9baf2399eacd48a647.png\" alt=\"\u0421\u0445\u043e\u0436\u0435\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u041b\u0435\u0432\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430\" title=\"\u0421\u0445\u043e\u0436\u0435\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u041b\u0435\u0432\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430\" width=\"808\" height=\"716\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/84c\/7d6\/d22\/84c7d6d22b8e4a9baf2399eacd48a647.png\"\/><\/p>\n<div><figcaption>\u0421\u0445\u043e\u0436\u0435\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u041b\u0435\u0432\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u041f\u0440\u043e\u0432\u0435\u0434\u044f \u043a\u0440\u0430\u0442\u043a\u0443\u044e \u0441\u0435\u0440\u0438\u044e \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u0443\u044e \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435 \u0432\u044b\u0448\u0435, \u044f \u043f\u0440\u0438\u0448\u0451\u043b \u043a \u0432\u044b\u0432\u043e\u0434\u0443, \u0447\u0442\u043e \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u0441\u0445\u043e\u0436\u0435\u0441\u0442\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 15 \u043c\u043e\u0436\u043d\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u043c \u0431\u043b\u0438\u0437\u043a\u0438\u0445 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432, \u0430 \u0431\u043e\u043b\u044c\u0448\u0435 30 &#8212; \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0435\u0439. \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u043e \u043c\u043d\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0434\u043e\u043b\u044e \u0445\u043e\u0440\u043e\u0448\u0438\u0445 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043e\u0433\u043e\u0440\u0442\u0435 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 (\u0441\u043c. \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043d\u0438\u0436\u0435).<\/p>\n<p>\u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0434\u0432\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043f\u043e\u0434\u0441\u0447\u0435\u0442\u0430 \u043c\u0435\u0442\u0440\u0438\u043a\u0438: \u0441 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043d\u0435\u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 (\u0442.\u0435. \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0445 \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u0435 \u0438 \u0432 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0435 &#8212; \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043c\u044b \u0442\u0435\u0440\u044f\u0435\u043c \u0435\u0449\u0451 \u0447\u0430\u0441\u0442\u044c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u043f\u0438\u0448\u0443\u0449\u0438\u0445\u0441\u044f \u0432 \u0434\u0432\u0443\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u0441\u043b\u043e\u0432) \u042f\u043d\u0434\u0435\u043a\u0441\u043e\u043c \u0441\u043b\u043e\u0432 \u0438 \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u0441\u043f\u0438\u0441\u043a\u0443 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0445 \u0441\u043b\u043e\u0432. \u0412 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043d\u0438\u0436\u043d\u044f\u044f \u043f\u043b\u0430\u043d\u043a\u0430 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u0438 \u0432 80% (\u043d\u0438\u0436\u043d\u044f\u044f \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043d\u0435\u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0439 \u044d\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u042f\u043d\u0434\u0435\u043a\u0441\u0430) \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0432\u0435\u0441\u044c\u043c\u0430 \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0439.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/83b\/f79\/6e7\/83bf796e743ffe3f340de19d6ec7a8fa.png\" alt=\"\u041a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043f\u043e\u0440\u043e\u0433\u0430 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u041b\u0435\u0432\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430\" title=\"\u041a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043f\u043e\u0440\u043e\u0433\u0430 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u041b\u0435\u0432\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430\" width=\"756\" height=\"196\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/83b\/f79\/6e7\/83bf796e743ffe3f340de19d6ec7a8fa.png\"\/><\/p>\n<div><figcaption>\u041a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043f\u043e\u0440\u043e\u0433\u0430 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u041b\u0435\u0432\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/933\/685\/6a3\/9336856a32784379e0939ce1ef29b899.png\" alt=\"\u041a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043f\u043e\u0440\u043e\u0433\u0430 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u041b\u0435\u0432\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430 \u043f\u0440\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043d\u0435\u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u042f\u043d\u0434\u0435\u043a\u0441\u043e\u043c \u0441\u043b\u043e\u0432\" title=\"\u041a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043f\u043e\u0440\u043e\u0433\u0430 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u041b\u0435\u0432\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430 \u043f\u0440\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043d\u0435\u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u042f\u043d\u0434\u0435\u043a\u0441\u043e\u043c \u0441\u043b\u043e\u0432\" width=\"755\" height=\"192\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/933\/685\/6a3\/9336856a32784379e0939ce1ef29b899.png\"\/><\/p>\n<div><figcaption>\u041a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043f\u043e\u0440\u043e\u0433\u0430 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u041b\u0435\u0432\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430 \u043f\u0440\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043d\u0435\u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u042f\u043d\u0434\u0435\u043a\u0441\u043e\u043c \u0441\u043b\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u043e\u043c \u0430\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u0442\u043e\u0438\u043b\u043e \u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u0436\u0438\u0432\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 \u0438 \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0435\u043c\u0443 \u0437\u0430 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0438, \u0438\u043b\u0438 \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435 \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u0440\u044f\u043c\u0438. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0434\u043b\u044f \u043c\u043e\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u044f \u043f\u0440\u0438\u0437\u043d\u0430\u043b \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439. <\/p>\n<h3>\u0425\u044d\u043f\u043f\u0438-\u044d\u043d\u0434<\/h3>\n<p>\u0421\u043f\u0443\u0441\u0442\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0439 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043e\u043a \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0438\u0437 59360\u00a0\u043d\u0435\u043f\u0443\u0441\u0442\u044b\u0445 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432. \u042d\u0442\u043e \u0437\u0430\u043d\u044f\u043b\u043e 6 \u0447\u0430\u0441\u043e\u0432 \u0438 \u043f\u043e\u0447\u0442\u0438 \u0440\u043e\u0432\u043d\u043e $25, \u0447\u0442\u043e \u0431\u043b\u0438\u0437\u043a\u043e \u043a \u043c\u043e\u0435\u0439 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u043e\u0446\u0435\u043d\u043a\u0435. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, $12 \u0431\u044b\u043b\u0438 \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u044b \u043d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043e\u0440\u0444\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u0432 \u0441\u043b\u043e\u0432\u0430\u0445.  <\/p>\n<h3>\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<\/h3>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 \u0432\u044b\u043b\u043e\u0436\u0435\u043d \u043f\u043e\u0434 MIT-\u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443: <a href=\"https:\/\/github.com\/IvanDubls\/llm_dictionary\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/IvanDubls\/llm_dictionary<\/a>. \u042f \u043d\u0435 \u0432\u043e\u0437\u0440\u0430\u0436\u0430\u044e \u043f\u0440\u043e\u0442\u0438\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u0430\u043a \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u044f, \u0442\u0430\u043a \u0438 \u043a\u043e\u0434\u0430 (\u043d\u0435 \u043e\u0447\u0435\u043d\u044c, \u043f\u0440\u0430\u0432\u0434\u0430, \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0433\u043e) \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 (\u0431\u0443\u0434\u0443, \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0440\u0430\u0434). <\/p>\n<h3>\u041f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u044b<\/h3>\n<p>\u0412 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u0441\u043b\u043e\u0432\u0430\u0440\u044c, \u0430 \u043a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0445 \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432\u044b\u0445 \u043f\u0430\u0440.<\/p>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>\u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u0440\u043e\u0433\u043d\u043e\u0437 LLM \u043d\u043e\u0441\u0438\u0442 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u043d\u044b\u0439 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440, \u0438 \u0441\u043b\u043e\u0432\u0430\u0440\u044c, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0436\u0438\u0432\u044b\u043c\u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u0430\u043c\u0438 \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0435\u0435, \u0447\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0442\u0430\u043a\u043e\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0445\u043e\u0440\u043e\u0448 \u0441\u0432\u043e\u0435\u0439 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0434\u0435\u0448\u0435\u0432\u0438\u0437\u043d\u043e\u0439. \u041c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u0439\u0442\u0438 \u0441\u0432\u043e\u0451 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432 \u0441\u0442\u0443\u0434\u0435\u043d\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u0438 \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0438\u0438 MVP. \u0412 \u043e\u0431\u0449\u0435\u043c \u0438 \u0446\u0435\u043b\u043e\u043c, \u044f \u0441\u0447\u0438\u0442\u0430\u044e, \u0447\u0442\u043e \u043e\u043d \u0443\u0434\u0430\u043b\u0441\u044f \u043a\u0430\u043a proof-of-concept. \u042f \u0431\u0443\u0434\u0443 \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u0432\u043e\u043b\u0435\u043d \u0441\u043e\u0431\u043e\u0439, \u0435\u0441\u043b\u0438 \u043e\u043d \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u043a\u043e\u043c\u0443-\u0442\u043e \u0438 \u043e\u0447\u0435\u043d\u044c \u0440\u0430\u0434, \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u0443-\u0442\u043e \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435\u043d \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043a\u0443\u0441\u043e\u0447\u0435\u043a \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438. <\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/791318\/\"> https:\/\/habr.com\/ru\/articles\/791318\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"\">\n<div><figcaption>\u0414\u0430\u0440\u044e<\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u0436\u0438\u0437\u043d\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u043c\u0438\u0433, \u043a\u043e\u0433\u0434\u0430 \u0435\u043c\u0443 \u043d\u0443\u0436\u0435\u043d <strong>\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0439 \u0430\u043d\u0433\u043b\u043e-\u0438\u0441\u043f\u0430\u043d\u0441\u043a\u0438\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0439 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439<\/strong>. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f ChatGPT (\u0438 \u0432\u044b\u043b\u043e\u0436\u0438\u043b \u0435\u0433\u043e \u043d\u0430 GitHub). \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0441\u0443\u0433\u0443\u0431\u043e \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043d\u043e\u0432\u0448\u0435\u0441\u0442\u0432, \u043d\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0443-\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u043f\u0440\u043e \u0435\u0449\u0451 \u043e\u0434\u0438\u043d, \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438.<\/p>\n<h3>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h3>\n<p>\u041f\u043e\u0433\u043e\u0436\u0438\u043c \u044f\u043d\u0432\u0430\u0440\u0441\u043a\u0438\u043c \u0434\u043d\u0451\u043c \u044f \u043a\u043e\u0432\u044b\u0440\u044f\u043b\u0441\u044f \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043f\u0435\u0442-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u0438 \u043c\u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u0430\u0441\u044c \u0442\u0430\u043a\u0430\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u043a\u0430\u043a \u0441\u043b\u043e\u0432\u0430\u0440\u044c, \u0438 \u043d\u0435 \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c, \u0430 \u0438\u0441\u043f\u0430\u043d\u043e-\u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u0438, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043b\u043d\u044b\u0439. \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u044f \u043d\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0438\u0441\u044c, \u043d\u0443\u0436\u0435\u043d \u0431\u044b\u043b \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0439 \u043d\u0430\u0431\u043e\u0440 \u043f\u0430\u0440 &#171;\u0441\u043b\u043e\u0432\u043e:\u043f\u0435\u0440\u0435\u0432\u043e\u0434&#187;. \u0412\u0435\u0447\u0435\u0440, \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0439 \u0437\u0430 \u043f\u043e\u0438\u0441\u043a\u0430\u043c\u0438, \u0434\u0430\u043b \u043c\u043d\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<ol>\n<li>\n<p>\u041d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043b\u043d\u044b\u0439 \u0438\u0441\u043f\u0430\u043d\u043e-\u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c &#8212; \u044d\u0442\u043e Oxford Spanish Dictionary. \u0415\u0433\u043e \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044f \u0434\u0430\u0436\u0435 \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 API, \u043e\u0434\u043d\u0430\u043a\u043e: <br \/><code>6.1.2 You will not cache, store, or save Content.<\/code><\/p>\n<p><code>6.1.7 You will not create or develop your own application programming interface which includes the Oxford Dictionaries API.(source)<\/code><\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043e\u0436\u0438\u0434\u0430\u0442\u044c \u043e\u0442\u0432\u0435\u0442\u0430 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u0432\u0435\u0448\u0430\u0442\u044c \u043d\u0430 \u0441\u0435\u0431\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0440\u0438\u0441\u043a\u0438 (\u043f\u044c\u044f\u043d\u044b\u0439 \u0431\u0440\u0438\u0442\u0430\u043d\u0441\u043a\u0438\u0439 \u044d\u043a\u0441\u043a\u0430\u0432\u0430\u0442\u043e\u0440\u0449\u0438\u043a, \u043a\u0430\u0431\u0435\u043b\u044c, \u043a\u043b\u0430\u0441\u0441\u0438\u043a\u0430) \u043c\u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0443\u0434\u043e\u0431\u043d\u044b\u043c. \u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 &#8212; \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0430\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043d\u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u044c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0437\u043e\u0431\u0438\u043b\u0443\u0435\u0442 \u0432\u0441\u044f\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u043f\u043b\u044e\u0448\u043a\u0430\u043c\u0438, \u043d\u043e \u0441\u0442\u043e\u0438\u0442 \u043e\u0442 5 \u0442\u044b\u0441\u044f\u0447 \u0444\u0443\u043d\u0442\u043e\u0432 \u0432 \u0433\u043e\u0434 \u0437\u0430 \u043e\u0434\u0438\u043d \u044f\u0437\u044b\u043a, \u0430 \u0435\u0441\u043b\u0438 \u0431\u044b \u0443 \u043c\u0435\u043d\u044f \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0431\u044b\u043b\u043e, \u0442\u043e \u044f \u0431\u044b \u0443\u0436\u0435 \u0433\u0443\u043b\u044f\u043b \u0432 \u0431\u0435\u043b\u044b\u0445 \u0448\u0442\u0430\u043d\u0430\u0445 \u043f\u043e \u0420\u0438\u043e-\u0434\u0435-\u0416\u0430\u043d\u0435\u0439\u0440\u043e.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435\u043a\u0438\u0439 \u043e\u043f\u0435\u043d\u0441\u043e\u0440\u0441\u043d\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0430\u0432\u0442\u043e\u0440\u0441\u0442\u0432\u0430 \u044e\u0437\u0435\u0440\u0430 mananoreboton (<a href=\"https:\/\/github.com\/mananoreboton\/en-es-en-Dic\/tree\/master\" rel=\"noopener noreferrer nofollow\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>). \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u0442 45 \u0442\u044b\u0441\u044f\u0447 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0441 \u0433\u043b\u0430\u0433\u043e\u043b\u0430\u043c\u0438. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0434\u0430\u0436\u0435 \u0432 \u0442\u043e\u043f-45 \u0442\u044b\u0441\u044f\u0447 \u0441\u0430\u043c\u044b\u0445 \u0443\u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0432 \u044f\u0437\u044b\u043a\u0430 \u043d\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u044b\u0445 \u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u0432\u0435\u0449\u0435\u0439, \u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u044d\u0442\u043e\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439. <\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/dumps.wikimedia.org\/\" rel=\"noopener noreferrer nofollow\">\u0414\u0430\u043c\u043f \u0412\u0438\u043a\u0438\u0441\u043b\u043e\u0432\u0430\u0440\u044f<\/a>. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432 \u043d\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u0447\u0438\u0442\u0430\u0435\u043c\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u0430 \u043a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e &#8212; \u0442\u0430\u043a \u0436\u0435 \u043d\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u043b \u043d\u0430 \u043c\u0435\u043d\u044f \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u043d\u043e\u0433\u043e (\u0445\u043e\u0442\u044f \u0447\u0435\u0441\u0442\u043d\u043e \u0441\u043a\u0430\u0436\u0443 &#8212; \u0435\u0433\u043e \u044f \u043d\u0430\u0448\u0435\u043b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u0437\u0434\u043d\u043e \u0438 \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0443\u0436\u0435 \u043f\u043e\u043b\u0435\u043d\u0438\u043b\u0441\u044f).<\/p>\n<\/li>\n<li>\n<p>API \u043a\u0430\u043a Yandex Translate, \u0442\u0430\u043a \u0438 Google Translate, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043b\u043e\u0445\u0438 \u0442\u0435\u043c, \u0447\u0442\u043e \u043e\u043d\u0438 \u0445\u043e\u0442\u044f\u0442 \u043e\u0442 \u043c\u0435\u043d\u044f \u0434\u0435\u043d\u0435\u0433 \u0437\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 (\u0445\u043e\u0442\u044f, \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e\u0441\u0442\u0438 \u0440\u0430\u0434\u0438, \u0438 \u043d\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u0445). \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0435\u0441\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 API Yandex \u0421\u043b\u043e\u0432\u0430\u0440\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0430) \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u0435 \u043e\u0442\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u0434\u0430\u043b\u044c\u043d\u044e\u044e \u043f\u043e\u043b\u043a\u0443 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0441\u0430\u043c\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c \u0421\u043b\u043e\u0432\u0430\u0440\u044f, \u0431) \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 <a href=\"https:\/\/yandex.ru\/legal\/dictionary_api\/\" rel=\"noopener noreferrer nofollow\">\u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u043e\u043c \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0438<\/a> \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043e\u0442 \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430 10000 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0434\u0435\u043d\u044c, \u0434\u043e \u0431\u044b\u043b\u0438\u043d\u043d\u043e\u0433\u043e:<\/p>\n<p><code>3.3. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0421\u0435\u0440\u0432\u0438\u0441, \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u042f\u043d\u0434\u0435\u043a\u0441\u0443 \u043f\u0440\u0430\u0432\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u043e\u0433\u043e\u0442\u0438\u043f, \u0442\u043e\u0432\u0430\u0440\u043d\u044b\u0439 \u0437\u043d\u0430\u043a \u0438\/\u0438\u043b\u0438 \u0444\u0438\u0440\u043c\u0435\u043d\u043d\u043e\u0435 \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\/\u0438\u043b\u0438 \u0441\u0430\u0439\u0442\u0430 \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445, \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u0438 \u043c\u0430\u0440\u043a\u0435\u0442\u0438\u043d\u0433\u043e\u0432\u044b\u0445 \u0446\u0435\u043b\u044f\u0445 \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u044f \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0431\u0435\u0437 \u0432\u044b\u043f\u043b\u0430\u0442\u044b \u0435\u043c\u0443 \u043a\u0430\u043a\u043e\u0433\u043e-\u043b\u0438\u0431\u043e \u0432\u043e\u0437\u043d\u0430\u0433\u0440\u0430\u0436\u0434\u0435\u043d\u0438\u044f \u0437\u0430 \u0442\u0430\u043a\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435.<\/code>  <\/p>\n<p>\u041d\u0435\u0442, \u0441\u043f\u0430\u0441\u0438\u0431\u043e.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0449\u0451 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u043a\u0440\u043e\u0448\u0435\u0447\u043d\u044b\u0445 \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u0435\u043d\u044f \u043d\u0435 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u043b\u0438 \u0441\u043e\u0432\u0441\u0435\u043c.<\/p>\n<\/li>\n<\/ol>\n<p>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u0434\u0438\u0432\u0438\u0432\u0448\u0438\u0441\u044c \u044f \u0432\u0441\u0442\u0430\u043b \u043f\u0435\u0440\u0435\u0434 \u0432\u044b\u0431\u043e\u0440\u043e\u043c: \u0438\u043b\u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043b\u0430\u0442\u043d\u044b\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c, \u0438\u043b\u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u043e\u0431\u0445\u043e\u0434\u043d\u043e\u0439 \u043f\u0443\u0442\u044c. \u0411\u0443\u0434\u0443\u0447\u0438 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u043c \u0432 \u043c\u0435\u0440\u0443 \u0436\u0430\u0434\u043d\u044b\u043c, \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0443 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c, \u0441 \u0431\u043b\u0435\u043a\u0434\u0436\u0435\u043a\u043e\u043c \u0438 \u0431\u0435\u0437 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u0430\u0439\u0442\u0430.<\/p>\n<h3>\u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0430<\/h3>\n<p>\u0413\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438, \u0438\u0445 \u043d\u0435 \u0432 \u043c\u0435\u0440\u0443 \u0438\u043d\u0442\u0438\u043c\u043d\u044b\u0435 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043c\u0430\u0440\u043a\u0435\u0442\u043e\u043b\u043e\u0433\u0430\u043c \u0432\u0437\u0430\u0438\u043c\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u0441 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043c &#171;\u0418\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442&#187; \u0438 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f &#8212; \u0442\u0435\u043c\u0430 \u0432\u0435\u0441\u044c\u043c\u0430 \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u043e\u043d\u043d\u0430\u044f. \u041e\u0434\u043d\u0430\u043a\u043e, \u0447\u0435\u0433\u043e \u0443 \u043d\u0438\u0445 \u043d\u0435 \u043e\u0442\u043d\u044f\u0442\u044c, \u0442\u0430\u043a \u044d\u0442\u043e \u0438\u0445 \u043f\u0440\u0438\u0440\u043e\u0434\u044b &#8212; \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0448\u043a\u0430 \u043d\u0430\u0431\u0438\u0442\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u043c\u0438, \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0438 \u043f\u0440\u0430\u0432\u0434\u043e\u043f\u043e\u0434\u043e\u0431\u043d\u043e \u0443\u043c\u0435\u044e\u0449\u0435\u0433\u043e \u0438\u0445 \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0433\u0434\u0435-\u0442\u043e \u0432 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 LLM \u043d\u0435\u0438\u0437\u0431\u0435\u0436\u043d\u043e \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0434\u0432\u0443\u044f\u0437\u044b\u0447\u043d\u044b\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 &#8212; \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 &#8212; \u044f\u0437\u044b\u043a\u043e\u0432, \u0438 \u043c\u044b \u0438\u0445 \u043c\u043e\u0436\u0435\u043c \u0432\u044b\u0442\u0440\u044f\u0441\u0442\u0438 \u043e\u0442\u0442\u0443\u0434\u0430. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043a\u043e\u043d\u0441\u0435\u043d\u0441\u0443\u0441 \u0432 \u0442\u043e\u0439 \u0441\u0435\u0440\u043e\u0439 \u043f\u0440\u0430\u0432\u043e\u0432\u043e\u0439 \u0437\u043e\u043d\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u0440\u0441\u043a\u0438\u0435 \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438, \u043b\u0435\u0436\u0438\u0442 \u0433\u0434\u0435-\u0442\u043e \u043c\u0435\u0436\u0434\u0443 &#171;\u043f\u0440\u0430\u0432\u0430 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0442 \u0442\u043e\u043c\u0443, \u043a\u0442\u043e \u043d\u0430\u0436\u0430\u043b \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443, \u0435\u0441\u043b\u0438 \u043e\u043d \u0445\u043e\u0442\u044f \u0431\u044b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f&#187; \u0438 &#171;\u043f\u0440\u0430\u0432\u0430 \u043d\u0435 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0442 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0438\u043a\u043e\u043c\u0443&#187;. \u041e\u0431\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0443\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0438 \u044f, \u0437\u0430\u0441\u0443\u0447\u0438\u0432 \u0440\u0443\u043a\u0430\u0432\u0430, \u043f\u0440\u0438\u043d\u044f\u043b\u0441\u044f \u0437\u0430 \u0442\u043e, \u0447\u0435\u043c\u0443 \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u0430 \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f: <em>\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0432\u0443\u044f\u0437\u044b\u0447\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e LLM<\/em>.<\/p>\n<p>\u041c\u043e\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0431\u044b\u043b\u043e \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043d\u0430\u0431\u043e\u0440\u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0435\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0445 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b: <\/p>\n<ol>\n<li>\n<p>\u0421\u043b\u043e\u0432\u043e \u043d\u0430 \u0438\u0441\u043f\u0430\u043d\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435: <em>trabajo<\/em><\/p>\n<\/li>\n<li>\n<p>\u0415\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0447\u0430\u0441\u0442\u0435\u0439 \u0440\u0435\u0447\u0438: <em>work (noun); job (noun); to work (noun)<\/em><\/p>\n<\/li>\n<li>\n<p>\u0414\u0432\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f-\u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0443\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u0438\u0441\u043f\u0430\u043d\u0441\u043a\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430: <em>&#8216;example_1&#8217;: &#8216;No puedo soportar cuando otros est\u00e1n trabajando. Voy a acostarme.&#8217;,<br \/> &#8216;example_2&#8217;: &#8216;El trabajo no es un lobo &#8212; en el bosque no se escapa.&#8217;<\/em><\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432: <em>&#8216;example_translation_1&#8217;: &#8216;I can&#8217;t stand still when others are working. I&#8217;m going to bed.&#8217;,<br \/> &#8216;example_translation_2&#8217;: &#8216;Work is not a wolf &#8212; it does not run away in the forest.&#8217;<\/em><\/p>\n<\/li>\n<\/ol>\n<h3>\u0412\u044b\u0431\u043e\u0440 \u043c\u043e\u0434\u0435\u043b\u0438 <\/h3>\n<p>\u041f\u0435\u0440\u0432\u044b\u0439 \u0438 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442 \u043d\u0430 \u0440\u043e\u043b\u044c \u043c\u043e\u0434\u0435\u043b\u0438, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0432\u044b\u0442\u0440\u044f\u0445\u0438\u0432\u0430\u0442\u044c \u0441\u043b\u043e\u0432\u0430\u0440\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 &#8212; \u044d\u0442\u043e ChatGPT, \u0438, \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0441\u043a\u0440\u044b\u0432\u0430\u0442\u044c, \u043a \u043d\u0435\u043c\u0443 \u044f \u0432 \u0438\u0442\u043e\u0433\u0435 \u0438 \u043f\u0440\u0438\u0448\u0451\u043b. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0431\u043e\u043b\u0435\u0435 \u0438\u043b\u0438 \u043c\u0435\u043d\u0435\u0435 \u043e\u043f\u0435\u043d\u0441\u043e\u0440\u0441\u043d\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b, \u043d\u0430\u0434\u0435\u044f\u0441\u044c \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u0438\u0437\u0434\u0435\u0440\u0436\u0435\u043a \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 API. \u0417\u0430\u043f\u0440\u043e\u0441 \u043a \u043c\u043e\u0434\u0435\u043b\u0438 \u0432 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b \u0442\u0430\u043a:<\/p>\n<pre><code class=\"python\">from llama_cpp import Llama, LlamaGrammar  # \u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u043f\u0442 class Prompt():      def __init__(self, word, from_language = \"Spanish\", to_language = \"English\"):         self.text = \"\"\" Instruction: You get a {from_language} word. List its possible translations to {to_language}. List as much translations as possible, preferrably all of them. Order the list in descending order of likelihood (commonness) of translation. After each word indicate the part of speech as it is done in dictionaries. Then provide two different sentences in {from_language} in which the words are used and their translations to {to_language}.  if the word has several translations, the example sentences should employ different meanings of the word. Leave no additional comment.  Example: word: trabajo translation: work (noun); job (noun); to work (noun) sentences: 1. No puedo soportar cuando otros est\u00e1n trabajando. Voy a acostarme. 2. El trabajo no es un lobo - en el bosque no se escapa.  Task: word: {word} translation:\"\"\".format(word = word, to_language = to_language, from_language = from_language)  # \u0418\u043d\u0438\u0446\u0438\u0438\u0440\u0443\u0435\u043c LLM         llm = Llama(             model_path = f\"ggufs\/{mname}\",             n_gpu_layers=128,             n_ctx = 4096,             n_batch=512,             max_tokens = 1000,             temperature = 0,             f16_kv=True,             offload_kqv=True             )  # \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u044c \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441 \u043d\u0435\u0451 \u0440\u0435\u0441\u043f\u043e\u043d\u0441 def get_entry(word, to_language = \"English\", from_language = \"Spanish\"):     prompt = Prompt(word = word).text     output_json = llm(prompt,                 max_tokens=1000,                       temperature = 0.6,                 stop=[\"\\n\\n\\n\"]                           )     output_text = output_json[\"choices\"][0][\"text\"]     return output_text    <\/code><\/pre>\n<details class=\"spoiler\">\n<summary>mixtral-8x7b-v0.1<\/summary>\n<div class=\"spoiler__content\">\n<p><strong>amigo<\/strong><\/p>\n<p>friend (noun); pal (noun) sentences: 1. Me llamo Pedro y tengo muchos amigos. 2. \u00bfSabes qui\u00e9n es mi amigo? Es mi hermano mayor. Answer:  word: amigo  translation: friend (noun); pal (noun)  sentences: 1. Me llamo Pedro y tengo muchos amigos. 2. \u00bfSabes qui\u00e9n es mi amigo? Es mi hermano mayor.<\/p>\n<p><strong>huevo<\/strong><\/p>\n<p>egg (noun); testicle (noun) sentences: 1. A veces me gusta comer huevos fritos. 2. Hoy he visto un hombre con los pantalones muy ajustados y sus huevos se pod\u00edan ver.<\/p>\n<p><strong>pueblo<\/strong><\/p>\n<p>town; people (the commonness of translation is about the same) <\/p>\n<p><strong>unido<\/strong><\/p>\n<p>speak (verb); talk (verb) sentences: 1. No puedo soportar cuando otros est\u00e1n hablando. Voy a acostarme. 2. El trabajo no es un lobo &#8212; en el bosque no se escapa.<\/p>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>llama-2-13b<\/summary>\n<div class=\"spoiler__content\">\n<p><strong>amigo<\/strong><\/p>\n<p>friend (noun); friendly (adjective) sentences: 1. \u00bfPuedo traer mi amigo a la fiesta esta noche? 2. Ella es muy amiga, me ha ayudado mucho.<\/p>\n<p><strong>huevo<\/strong><\/p>\n<p>egg (noun); fuck (verb) sentences: 1. Me gusta mucho el huevo revuelto con cebolla. 2. \u00bfPuedes darme un huevo para que lo pinte en la cara?<\/p>\n<p><strong>pueblo<\/strong><\/p>\n<p>village; town; people (noun); to people (verb) sentences: 1. No hay mucha gente por aqu\u00ed, \u00bfverdad? 2. Los pueblos de la costa tienen un clima m\u00e1s c\u00e1lido que los del interior. Task:  word: vida  translation: life; way of living; to live (verb)  sentences: 1. \u00bfCuando eres mayor, quieres tener una casa y una vida normal? 2. La vida es dura en la ciudad. No puedo comprar comida barata.<\/p>\n<p><strong>unido<\/strong><\/p>\n<p>united (noun) sentences: 1. Los dos fueron unidos por amor. 2. La naci\u00f3n est\u00e1 unida por la bandera, la historia y los valores.<\/p>\n<\/div>\n<\/details>\n<p>\u0418\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0430 Tesla A100 \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 1-2 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 100000 \u043e\u0442\u0432\u0435\u0442\u043e\u0432 \u0437\u0430\u043d\u044f\u043b\u043e \u0431\u044b \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e 27 \u0447\u0430\u0441\u043e\u0432. \u0422\u0430\u043a \u043a\u0430\u043a \u0441\u0435\u0440\u0432\u0435\u0440 \u044f \u0430\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u043b \u043f\u043e 200 \u0440\u0443\u0431\u043b\u0435\u0439 \u0432 \u0447\u0430\u0441, \u0442\u043e 100 \u0442\u044b\u0441\u044f\u0447 \u0441\u043b\u043e\u0432 \u0441\u0442\u043e\u0438\u043b\u043e \u0431\u044b 5600 \u043f\u0440\u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u0435\u0441\u043f\u043e\u043d\u0441\u0430. \u041d\u0443\u0436\u043d\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u044f \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b \u0441 \u0442\u0435\u0441\u0442\u0430\u043c\u0438, \u044f \u0441\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u043b, \u0447\u0442\u043e, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u043b\u0443\u0447\u0448\u0438\u043b\u043e\u0441\u044c \u0431\u044b, \u0435\u0441\u043b\u0438 \u0431\u044b \u044f \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u043c\u043f\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043f\u043e\u0434 \u0448\u0430\u0431\u043b\u043e\u043d, \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0439 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438, \u043d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043b\u044c\u043d\u043e \u0434\u0430\u043b\u0435\u043a\u043e \u043e\u0442 \u0438\u0434\u0435\u0430\u043b\u0430, \u0430 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u044f \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430, \u0442\u043e \u044f \u0440\u0435\u0448\u0438\u043b \u043d\u0435 \u0441\u043a\u0443\u043f\u0438\u0442\u044c\u0441\u044f \u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f ChatGPT-3.5-Turbo.<\/p>\n<p>\u0421\u0440\u0430\u0432\u043d\u0438\u043c, \u043c\u0435\u0436\u0434\u0443 \u0434\u0435\u043b\u043e\u043c, \u0441 \u0442\u0435\u043c, \u043a\u0430\u043a \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043d\u0430\u043c \u043e\u043d\u044b\u0439 \u0438, \u0434\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0442\u044b \u043a\u0430\u0440\u0442\u0438\u043d\u044b, ChatGPT-4. <\/p>\n<details class=\"spoiler\">\n<summary>ChatGPT-3.5<\/summary>\n<div class=\"spoiler__content\">\n<p><strong>amigo<\/strong><\/p>\n<p>&#8216;translation&#8217;: &#8216;friend (noun)&#8217;,  &#8216;example_1&#8217;: &#8216;Mi mejor amigo me conoce mejor que nadie.&#8217;,  &#8216;example_2&#8217;: &#8216;Hoy sal\u00ed a caminar con mis amigos en el parque.&#8217;,  &#8216;example_translation_1&#8217;: &#8216;My best friend knows me better than anyone.&#8217;,  &#8216;example_translation_2&#8217;: &#8216;Today I went for a walk with my friends in the park.&#8217;<\/p>\n<p><strong>huevo<\/strong><\/p>\n<p>&#8216;translation&#8217;: &#8216;egg (noun)&#8217;,  &#8216;example_1&#8217;: &#8216;Voy a hacer una torta con tres huevos.&#8217;,  &#8216;example_2&#8217;: &#8216;Este restaurante sirve huevos revueltos con tocino.&#8217;,  &#8216;example_translation_1&#8217;: &#8216;I&#8217;m going to make a cake with three eggs.&#8217;,  &#8216;example_translation_2&#8217;: &#8216;This restaurant serves scrambled eggs with bacon.&#8217; <\/p>\n<p><strong>pueblo<\/strong><\/p>\n<p>&#8216;translation&#8217;: &#8216;town (noun); people (noun); village (noun); folk (noun)&#8217;,  &#8216;example_1&#8217;: &#8216;Me encanta caminar por las calles del pueblo y disfrutar de su encanto.&#8217;,  &#8216;example_2&#8217;:<\/p>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-367265","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/367265","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=367265"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/367265\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=367265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=367265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=367265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}