{"id":415160,"date":"2024-06-30T00:12:11","date_gmt":"2024-06-30T00:12:11","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=415160"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=415160","title":{"rendered":"<span>\u0412\u0435\u0441\u0430 Vicuna \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u0441\u0430\u043c\u043e\u0439 \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u043e\u0439 ChatGPT-like \u043c\u043e\u0434\u0435\u043b\u044c\u044e \u043d\u0430 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0414\u0440\u0443\u0437\u044c\u044f, \u044d\u0442\u043e \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c. \u0412 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 <a href=\"https:\/\/habr.com\/ru\/news\/725826\/\" rel=\"noopener noreferrer nofollow\">\u043d\u043e\u0432\u043e\u0441\u0442\u0438 <\/a>\u0431\u044b\u043b\u0438 \u0441\u0441\u044b\u043b\u043e\u0447\u043a\u0438 \u043d\u0430 <a href=\"https:\/\/chat.lmsys.org\/\" rel=\"noopener noreferrer nofollow\">\u0434\u0435\u043c\u043e \u0412\u0438\u043a\u0443\u043d\u044c\u043a\u0438<\/a>, \u043d\u043e \u0432\u0447\u0435\u0440\u0430 \u043d\u043e\u0447\u044c\u044e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438 \u0441\u0430\u043c\u0443 \u043c\u043e\u0434\u0435\u043b\u044c. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0435\u0451 \u0443\u0436\u0435 \u043a\u0432\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0434\u043e 4 \u0431\u0438\u0442 \u0438 \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 <a href=\"https:\/\/github.com\/ggerganov\/ggml\" rel=\"noopener noreferrer nofollow\">ggml<\/a> (Georgi Gerganov Machine Learning, \u043f\u043e\u043b\u0430\u0433\u0430\u044e), \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u043d\u0430\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0435\u0451 <a href=\"https:\/\/cdn-lfs.huggingface.co\/repos\/0b\/d6\/0bd69e0e25207a33771294999069dcfa473c73f5d966ff9c74642dc895c20b24\/c6eb3a970b687584b16987e0aedc8513e885ec368b9f4a51e8cd69de5740cb7b?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27ggml-vicuna-13b-4bit.bin%3B+filename%3D%22ggml-vicuna-13b-4bit.bin%22%3B&amp;response-content-type=application%2Foctet-stream&amp;Expires=1680905144&amp;Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zLzBiL2Q2LzBiZDY5ZTBlMjUyMDdhMzM3NzEyOTQ5OTkwNjlkY2ZhNDczYzczZjVkOTY2ZmY5Yzc0NjQyZGM4OTVjMjBiMjQvYzZlYjNhOTcwYjY4NzU4NGIxNjk4N2UwYWVkYzg1MTNlODg1ZWMzNjhiOWY0YTUxZThjZDY5ZGU1NzQwY2I3Yj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2ODA5MDUxNDR9fX1dfQ__&amp;Signature=Uvs8iO2%7E8whmQoHcKZ7PeRzmC7OR8wBZQmHdtBihMbiap4sxRUVeplhHlfEpzQMAykRK-5VRmcalsz-QvAICdhf-RIkdTLsCcx2%7EzkZiX7GWs8AES0s8lIvnmm-8pSL2ovJloHnBVRoJjPAMnLPYysvkuYeCrpgG42Khn68Xeroa6Kg4bKDg9QFJRWBev-GIHb-TrG5Np%7EhlHDB5MChoVCpVqeBaoj1l5GUl1mk3PAqkE87zteNfK8A47DrwxNf1jT4NqO-SHqNas4hzLcPEHMCBFCCsu2v0u2mTmdXnflbY9WEOMDaxbpN9m-AyO0-rL%7EEuFPEavv-nbNmpHOHKKg__&amp;Key-Pair-Id=KVTP0A1DKRTAX\" rel=\"noopener noreferrer nofollow\">\u0441\u043a\u0430\u0447\u0430\u0442\u044c<\/a>, \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u043a <a href=\"https:\/\/github.com\/ggerganov\/llama.cpp\" rel=\"noopener noreferrer nofollow\">llama.cpp<\/a> \u0438 \u043d\u0430\u0441\u043b\u0430\u0434\u0438\u0442\u044c\u0441\u044f \u0441\u0430\u043c\u043e\u0439 \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u043e\u0439 \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e \u043d\u0430 \u0441\u0432\u043e\u0451\u043c \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435. \u0411\u0435\u0437 \u0441\u043c\u0441 \u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0439.<\/p>\n<p>\u0427\u0435\u043c \u0412\u0438\u043a\u0443\u043d\u044c\u044f \u043b\u0443\u0447\u0448\u0435, \u0447\u0435\u043c \u0432\u0441\u0451 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435, \u0447\u0442\u043e \u0432\u044b\u0445\u043e\u0434\u0438\u043b\u043e \u0440\u0430\u043d\u044c\u0448\u0435? \u0420\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430, 2048 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u043f\u0440\u043e\u0442\u0438\u0432 512, \u0438 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u043e\u043c. \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 (Alpaca, gpt4all, Dolly) \u0431\u0440\u0430\u043b\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0434\u0430\u0442\u0430\u0441\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u043c \u043d\u0430\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0430 ChatGPT, \u0442\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u0412\u0438\u043a\u0443\u043d\u044c\u0435\u0439, \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043e\u0442\u043a\u043e\u043f\u0430\u043b\u0438 \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u0445 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 <a href=\"https:\/\/sharegpt.com\/\" rel=\"noopener noreferrer nofollow\">ShareGPT<\/a> &#8212; \u0441\u0430\u0439\u0442, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0435 \u043b\u044e\u0434\u0438 \u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c \u043b\u0443\u0447\u0448\u0438\u043c\u0438 \u0434\u0438\u0430\u043b\u043e\u0433\u0430\u043c\u0438 \u0441 ChatGPT. \u042d\u0434\u0430\u043a\u0438\u0439 \u043a\u0440\u0430\u0443\u0434\u0441\u043e\u0440\u0441. \u0422\u0430\u043c \u0438 \u0432\u044b\u0431\u043e\u0440\u043a\u0430 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u0435\u0435, \u0438 \u0434\u0438\u0430\u043b\u043e\u0433\u0438 \u0434\u043b\u0438\u043d\u0435\u0435, \u0438 \u043d\u0435\u043d\u0430\u0440\u043e\u043a\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f reinforcement learning from human feedback. <\/p>\n<p>\u0423\u0441\u043f\u0435\u0439 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0438 \u0437\u0430\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0434\u043e\u043c\u0430, \u043f\u043e\u043a\u0430 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0446\u0438\u0438 \u043d\u0435 \u043f\u0440\u0438\u043a\u0440\u044b\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u043c \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \ud83d\ude42 \u0418\u0431\u043e \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 \u0441\u0442\u043e\u044f\u0442 \u043e\u0447\u0435\u043d\u044c \u043e\u0441\u0442\u0440\u043e, \u0438 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u044d\u0442\u0438\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u0445\u043b\u043e\u043f\u043d\u0443\u0442\u044c. <\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0441\u0442\u043e\u0439:<br \/>1) git clone <a href=\"https:\/\/github.com\/ggerganov\/llama.cpp.git\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/ggerganov\/llama.cpp.git<\/a><br \/>2) \u043a\u0430\u0447\u0430\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u044c \u0438 \u043a\u043b\u0430\u0434\u0451\u043c \u0442\u0443\u0434\u0430 \u0436\u0435<br \/>3) make<br \/>4) .\/main -i &#8212;interactive-first -r &#171;### Human:&#187; &#8212;temp 0 -c 2048 -n -1 &#8212;ignore-eos &#8212;repeat_penalty 1.2 &#8212;instruct -m ggml-vicuna-13b-4bit.bin<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 CPU \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0442\u0440\u0435\u0434\u043e\u0432, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 -t X. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e X = 4, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u0443\u043c\u0435\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 &#8212; \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0439\u0442\u0435.<\/p>\n<p>\u041d\u0430 \u043c\u043e\u0451\u043c \u0441\u0442\u0430\u0440\u0435\u043d\u044c\u043a\u043e\u043c AMD 3400g \u0441 16 \u0413\u0431 \u043f\u0430\u043c\u044f\u0442\u0438 \u0431\u0435\u0437 \u0434\u0438\u0441\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u044b \u043f\u044b\u0445\u0442\u0438\u0442, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041d\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 llama.cpp \u0434\u0438\u0441\u043a\u0440\u0435\u0442\u043d\u0430\u044f \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u0430 \u0438 \u043d\u0435 \u043f\u043e\u043c\u043e\u0436\u0435\u0442, \u043f\u0440\u043e\u0435\u043a\u0442 \u043a\u0440\u0443\u0442\u0438\u0442 \u043c\u043e\u0434\u0435\u043b\u0438 \u0447\u0438\u0441\u0442\u043e \u043d\u0430 CPU.<\/p>\n<p><strong>\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u0430\u043f\u0434\u0435\u0439\u0442: <\/strong>\u043d\u043e\u0432\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u0433\u043e\u0440\u044f\u0447\u0438\u0435 \u043f\u0438\u0440\u043e\u0436\u043a\u0438. \u0412\u043e\u0442 \u0435\u0449\u0435 \u043f\u0430\u0440\u043e\u0447\u043a\u0443:<br \/>* Biaze &#8212; <a href=\"https:\/\/paperswithcode.com\/paper\/baize-an-open-source-chat-model-with\" rel=\"noopener noreferrer nofollow\">https:\/\/paperswithcode.com\/paper\/baize-an-open-source-chat-model-with<\/a><br \/>* Koala (Berkeley) &#8212; <a href=\"https:\/\/bair.berkeley.edu\/blog\/2023\/04\/03\/koala\/\" rel=\"noopener noreferrer nofollow\">https:\/\/bair.berkeley.edu\/blog\/2023\/04\/03\/koala\/<\/a><\/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\/727032\/\"> https:\/\/habr.com\/ru\/articles\/727032\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0414\u0440\u0443\u0437\u044c\u044f, \u044d\u0442\u043e \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c. \u0412 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 <a href=\"https:\/\/habr.com\/ru\/news\/725826\/\" rel=\"noopener noreferrer nofollow\">\u043d\u043e\u0432\u043e\u0441\u0442\u0438 <\/a>\u0431\u044b\u043b\u0438 \u0441\u0441\u044b\u043b\u043e\u0447\u043a\u0438 \u043d\u0430 <a href=\"https:\/\/chat.lmsys.org\/\" rel=\"noopener noreferrer nofollow\">\u0434\u0435\u043c\u043e \u0412\u0438\u043a\u0443\u043d\u044c\u043a\u0438<\/a>, \u043d\u043e \u0432\u0447\u0435\u0440\u0430 \u043d\u043e\u0447\u044c\u044e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438 \u0441\u0430\u043c\u0443 \u043c\u043e\u0434\u0435\u043b\u044c. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0435\u0451 \u0443\u0436\u0435 \u043a\u0432\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0434\u043e 4 \u0431\u0438\u0442 \u0438 \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 <a href=\"https:\/\/github.com\/ggerganov\/ggml\" rel=\"noopener noreferrer nofollow\">ggml<\/a> (Georgi Gerganov Machine Learning, \u043f\u043e\u043b\u0430\u0433\u0430\u044e), \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u043d\u0430\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0435\u0451 <a href=\"https:\/\/cdn-lfs.huggingface.co\/repos\/0b\/d6\/0bd69e0e25207a33771294999069dcfa473c73f5d966ff9c74642dc895c20b24\/c6eb3a970b687584b16987e0aedc8513e885ec368b9f4a51e8cd69de5740cb7b?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27ggml-vicuna-13b-4bit.bin%3B+filename%3D%22ggml-vicuna-13b-4bit.bin%22%3B&amp;response-content-type=application%2Foctet-stream&amp;Expires=1680905144&amp;Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zLzBiL2Q2LzBiZDY5ZTBlMjUyMDdhMzM3NzEyOTQ5OTkwNjlkY2ZhNDczYzczZjVkOTY2ZmY5Yzc0NjQyZGM4OTVjMjBiMjQvYzZlYjNhOTcwYjY4NzU4NGIxNjk4N2UwYWVkYzg1MTNlODg1ZWMzNjhiOWY0YTUxZThjZDY5ZGU1NzQwY2I3Yj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2ODA5MDUxNDR9fX1dfQ__&amp;Signature=Uvs8iO2%7E8whmQoHcKZ7PeRzmC7OR8wBZQmHdtBihMbiap4sxRUVeplhHlfEpzQMAykRK-5VRmcalsz-QvAICdhf-RIkdTLsCcx2%7EzkZiX7GWs8AES0s8lIvnmm-8pSL2ovJloHnBVRoJjPAMnLPYysvkuYeCrpgG42Khn68Xeroa6Kg4bKDg9QFJRWBev-GIHb-TrG5Np%7EhlHDB5MChoVCpVqeBaoj1l5GUl1mk3PAqkE87zteNfK8A47DrwxNf1jT4NqO-SHqNas4hzLcPEHMCBFCCsu2v0u2mTmdXnflbY9WEOMDaxbpN9m-AyO0-rL%7EEuFPEavv-nbNmpHOHKKg__&amp;Key-Pair-Id=KVTP0A1DKRTAX\" rel=\"noopener noreferrer nofollow\">\u0441\u043a\u0430\u0447\u0430\u0442\u044c<\/a>, \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u043a <a href=\"https:\/\/github.com\/ggerganov\/llama.cpp\" rel=\"noopener noreferrer nofollow\">llama.cpp<\/a> \u0438 \u043d\u0430\u0441\u043b\u0430\u0434\u0438\u0442\u044c\u0441\u044f \u0441\u0430\u043c\u043e\u0439 \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u043e\u0439 \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e \u043d\u0430 \u0441\u0432\u043e\u0451\u043c \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435. \u0411\u0435\u0437 \u0441\u043c\u0441 \u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0439.<\/p>\n<p>\u0427\u0435\u043c \u0412\u0438\u043a\u0443\u043d\u044c\u044f \u043b\u0443\u0447\u0448\u0435, \u0447\u0435\u043c \u0432\u0441\u0451 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435, \u0447\u0442\u043e \u0432\u044b\u0445\u043e\u0434\u0438\u043b\u043e \u0440\u0430\u043d\u044c\u0448\u0435? \u0420\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430, 2048 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u043f\u0440\u043e\u0442\u0438\u0432 512, \u0438 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u043e\u043c. \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 (Alpaca, gpt4all, Dolly) \u0431\u0440\u0430\u043b\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0434\u0430\u0442\u0430\u0441\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u043c \u043d\u0430\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0430 ChatGPT, \u0442\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u0412\u0438\u043a\u0443\u043d\u044c\u0435\u0439, \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043e\u0442\u043a\u043e\u043f\u0430\u043b\u0438 \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u0445 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 <a href=\"https:\/\/sharegpt.com\/\" rel=\"noopener noreferrer nofollow\">ShareGPT<\/a> &#8212; \u0441\u0430\u0439\u0442, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0435 \u043b\u044e\u0434\u0438 \u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c \u043b\u0443\u0447\u0448\u0438\u043c\u0438 \u0434\u0438\u0430\u043b\u043e\u0433\u0430\u043c\u0438 \u0441 ChatGPT. \u042d\u0434\u0430\u043a\u0438\u0439 \u043a\u0440\u0430\u0443\u0434\u0441\u043e\u0440\u0441. \u0422\u0430\u043c \u0438 \u0432\u044b\u0431\u043e\u0440\u043a\u0430 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u0435\u0435, \u0438 \u0434\u0438\u0430\u043b\u043e\u0433\u0438 \u0434\u043b\u0438\u043d\u0435\u0435, \u0438 \u043d\u0435\u043d\u0430\u0440\u043e\u043a\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f reinforcement learning from human feedback. <\/p>\n<p>\u0423\u0441\u043f\u0435\u0439 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0438 \u0437\u0430\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0434\u043e\u043c\u0430, \u043f\u043e\u043a\u0430 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0446\u0438\u0438 \u043d\u0435 \u043f\u0440\u0438\u043a\u0440\u044b\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u043c \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \ud83d\ude42 \u0418\u0431\u043e \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 \u0441\u0442\u043e\u044f\u0442 \u043e\u0447\u0435\u043d\u044c \u043e\u0441\u0442\u0440\u043e, \u0438 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u044d\u0442\u0438\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u0445\u043b\u043e\u043f\u043d\u0443\u0442\u044c. <\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0441\u0442\u043e\u0439:<br \/>1) git clone <a href=\"https:\/\/github.com\/ggerganov\/llama.cpp.git\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/ggerganov\/llama.cpp.git<\/a><br \/>2) \u043a\u0430\u0447\u0430\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u044c \u0438 \u043a\u043b\u0430\u0434\u0451\u043c \u0442\u0443\u0434\u0430 \u0436\u0435<br \/>3) make<br \/>4) .\/main -i &#8212;interactive-first -r &#171;### Human:&#187; &#8212;temp 0 -c 2048 -n -1 &#8212;ignore-eos &#8212;repeat_penalty 1.2 &#8212;instruct -m ggml-vicuna-13b-4bit.bin<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 CPU \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0442\u0440\u0435\u0434\u043e\u0432, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 -t X. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e X = 4, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u0443\u043c\u0435\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 &#8212; \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0439\u0442\u0435.<\/p>\n<p>\u041d\u0430 \u043c\u043e\u0451\u043c \u0441\u0442\u0430\u0440\u0435\u043d\u044c\u043a\u043e\u043c AMD 3400g \u0441 16 \u0413\u0431 \u043f\u0430\u043c\u044f\u0442\u0438 \u0431\u0435\u0437 \u0434\u0438\u0441\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u044b \u043f\u044b\u0445\u0442\u0438\u0442, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041d\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 llama.cpp \u0434\u0438\u0441\u043a\u0440\u0435\u0442\u043d\u0430\u044f \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u0430 \u0438 \u043d\u0435 \u043f\u043e\u043c\u043e\u0436\u0435\u0442, \u043f\u0440\u043e\u0435\u043a\u0442 \u043a\u0440\u0443\u0442\u0438\u0442 \u043c\u043e\u0434\u0435\u043b\u0438 \u0447\u0438\u0441\u0442\u043e \u043d\u0430 CPU.<\/p>\n<p><strong>\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u0430\u043f\u0434\u0435\u0439\u0442: <\/strong>\u043d\u043e\u0432\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u0433\u043e\u0440\u044f\u0447\u0438\u0435 \u043f\u0438\u0440\u043e\u0436\u043a\u0438. \u0412\u043e\u0442 \u0435\u0449\u0435 \u043f\u0430\u0440\u043e\u0447\u043a\u0443:<br \/>* Biaze &#8212; <a href=\"https:\/\/paperswithcode.com\/paper\/baize-an-open-source-chat-model-with\" rel=\"noopener noreferrer nofollow\">https:\/\/paperswithcode.com\/paper\/baize-an-open-source-chat-model-with<\/a><br \/>* Koala (Berkeley) &#8212; <a href=\"https:\/\/bair.berkeley.edu\/blog\/2023\/04\/03\/koala\/\" rel=\"noopener noreferrer nofollow\">https:\/\/bair.berkeley.edu\/blog\/2023\/04\/03\/koala\/<\/a><\/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\/727032\/\"> https:\/\/habr.com\/ru\/articles\/727032\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-415160","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/415160","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=415160"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/415160\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=415160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=415160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=415160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}