{"id":347329,"date":"2023-03-27T09:01:37","date_gmt":"2023-03-27T09:01:37","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=347329"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=347329","title":{"rendered":"<span>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435 \u043d\u0435\u0439\u0440\u043e\u043d\u043a\u0443 LLaMa 7B -13B 4 bit \u043e\u0442 \u0444\u0435\u0439\u0441\u0431\u0443\u043a\u0430 \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 Alpaca-LoRA<\/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>\u0423\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435 \u043f\u0438\u043a\u0441\u0435\u043b\u044c 6 \u043b\u0438\u043d\u0433\u0432\u043e \u043d\u0435\u0439\u0440\u043e\u043d\u043a\u0443 LLaMa \u0443\u0436\u0430\u0442\u0443\u044e \u0434\u043e 7 (\u0430\u043b\u044c\u043f\u0430\u043a\u0430 \u043b\u043e\u0440\u0430 \u0431\u044b\u043b\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u043f\u043e\u043a\u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0430 7 \u043c\u0438\u043b\u043b\u0438\u0430\u0440\u0434\u043e\u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u0438 \u043e\u0442\u0432\u0435\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0443\u0434\u0430\u0447\u043d\u0435\u0435 \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0430 \u043d\u0435\u0439 ) \u0438\u043b\u0438 13 \u043c\u0438\u043b\u043b\u0438\u0430\u0440\u0434\u043e\u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0438 4 \u0431\u0438\u0442\u043d\u044b\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439. \u0414\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0435\u0451 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0432<a href=\"https:\/\/colab.research.google.com\/drive\/1eWAmesrW99p7e1nah5bipn0zikMb8XYC\" rel=\"noopener noreferrer nofollow\">\u00a0\u0433\u0443\u0433\u043b \u043a\u043e\u043b\u0430\u0431<\/a>.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/bca\/74b\/4d3\/bca74b4d31885f754242790d676cc873.jpg\" alt=\"\" title=\"\" width=\"515\" height=\"1144\" data-src=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/bca\/74b\/4d3\/bca74b4d31885f754242790d676cc873.jpg\" data-blurred=\"true\"\/><\/figure>\n<p>\u0418\u0442\u0430\u043a, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 \u043f\u0438\u043a\u0441\u0435\u043b\u044c 6 \u043d\u0435\u043f\u043b\u043e\u0445\u0438\u0435 &#8212; \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u0445\u043e\u0442\u044f \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043b\u0435\u0442\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0438\u0442\u044c \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438;<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1f1\/917\/e65\/1f1917e65dae945b6dac27158b8b7274.gif\" alt=\"\u0432\u0438\u0434\u0435\u043e \u043d\u0435 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u043e\" title=\"\u0432\u0438\u0434\u0435\u043e \u043d\u0435 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u043e\" width=\"324\" height=\"720\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1f1\/917\/e65\/1f1917e65dae945b6dac27158b8b7274.gif\"\/><\/p>\n<div><figcaption>\u0432\u0438\u0434\u0435\u043e \u043d\u0435 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u043e<\/figcaption><\/div>\n<\/figure>\n<p>\u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0438 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fa0\/78e\/74a\/fa078e74a481e3d34ab666c0e75b4732.jpg\" alt=\"\" title=\"\" width=\"515\" height=\"1144\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fa0\/78e\/74a\/fa078e74a481e3d34ab666c0e75b4732.jpg\" data-blurred=\"true\"\/><\/figure>\n<p>\u0412\u0447\u0438\u0442\u0430\u0439\u0442\u0435\u0441\u044c \u0447\u0442\u043e \u0441\u043e\u0447\u0438\u043d\u044f\u0435\u0442, \u041b\u041e\u041b. \u042d\u0442\u043e \u043d\u0430 LLaMa 7B; \u043d\u0430 13B \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0431\u0438\u043b\u0435\u0431\u0435\u0440\u0434\u0443 \u0438\u0437 \u0431\u0443\u043a\u0432 \u0438 \u0446\u0438\u0444\u0440 \u0442\u0438\u043f\u0430 1234abcdefg.<\/p>\n<h3>\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c:<\/h3>\n<p>\u041d\u0443\u0436\u043d\u0430 \u043b\u0438\u043d\u0443\u043a\u0441 \u0441\u0440\u0435\u0434\u0430 \u0434\u043b\u044f \u0430\u043d\u0434\u043e\u0438\u0434. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c\u00a0<a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.termux\" rel=\"noopener noreferrer nofollow\">termux<\/a>.<\/p>\n<p>\u0412\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c git<\/p>\n<p><code>pkg install git<\/code><\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c cmake<\/p>\n<p><code>pkg install cmake<\/code><\/p>\n<h4>\u041a\u043b\u043e\u043d\u0438\u0440\u0443\u0435\u043c \u0430\u043b\u044c\u043f\u0430\u043a\u0443-\u043b\u043e\u0440\u0430<\/h4>\n<p><code>git clone https:\/\/github.com\/antimatter15\/alpaca.cpp<\/code><\/p>\n<p><code>cd alpaca.cpp<\/code><\/p>\n<h4>\u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c<\/h4>\n<p><code>mkdir build<\/code><\/p>\n<p><code>cmake -B build .<\/code><\/p>\n<p><code>cd build<\/code><\/p>\n<p><code>cmake --build . --config Release<\/code><\/p>\n<p><code>make chat<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u0435\u0441 7\u0412 \u0438\u043b\u0438 13\u0412. \u0412\u043d\u0438\u0437\u0443 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u043c\u0430\u0433\u043d\u0435\u0442 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0444\u0430\u0439\u043b\u044b (ggml-alpaca-7b-q4.bin \u0438\u043b\u0438 ggml-alpaca-13b-q4.bin). \u0414\u043b\u044f 7\u0412 \u043d\u0443\u0436\u043d\u043e ~4 \u0413\u0431 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u0441\u043e\u0432\u0435\u0442\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0451. \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u043d\u043d\u043e \u0432 RAM, \u0430 \u043d\u0435 \u0432 VRAM.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c ggml-alpaca-7b-q4.bin \u0432 \u043f\u0430\u043f\u043a\u0443\u00a0<code>alpaca.cpp<\/code>.<\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0447\u0430\u0442<\/p>\n<p><code>.\/chat<\/code><\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438,<\/p>\n<p><code>options:-h, --help show this help message and exit-i, --interactive run in interactive mode--interactive-start run in interactive mode and poll user input at startup-r PROMPT, --reverse-prompt PROMPTin interactive mode, poll user input upon seeing PROMPT--color colorise output to distinguish prompt and user input from generations-s SEED, --seed SEED RNG seed (default: -1)-t N, --threads N number of threads to use during computation (default: 4)-p PROMPT, --prompt PROMPTprompt to start generation with (default: random)-f FNAME, --file FNAMEprompt file to start generation.-n N, --n_predict N number of tokens to predict (default: 128)--top_k N top-k sampling (default: 40)--top_p N top-p sampling (default: 0.9)--repeat_last_n N last n tokens to consider for penalize (default: 64)--repeat_penalty N penalize repeat sequence of tokens (default: 1.3)-c N, --ctx_size N size of the prompt context (default: 2048)--temp N temperature (default: 0.1)-b N, --batch_size N batch size for prompt processing (default: 8)-m FNAME, --model FNAMEmodel path (default: ggml-alpaca-7b-q4.bin)<\/code><\/p>\n<p>\u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0439 GUI.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e!<\/p>\n<p><code>~ $ cd alpaca.cpp~\/alpaca.cpp $ .\/chatmain: seed = 1679299026llama_model_load: loading model from 'ggml-alpaca-7b-q4.bin' - please wait ...llama_model_load: ggml ctx size = 6065.34 MBllama_model_load: memory_size = 2048.00 MB, n_mem = 65536llama_model_load: loading model part 1\/1 from 'ggml-alpaca-7b-q4.bin'llama_model_load: .................................... donellama_model_load: model size = 4017.27 MB \/ num tensors = 291<\/code><\/p>\n<p><code>system_info: n_threads = 4 \/ 8 | AVX = 0 | AVX2 = 0 | AVX512 = 0 | FMA = 0 | NEON = 1 | ARM_FMA = 1 | F16C = 0 | FP16_VA = 1 | WASM_SIMD = 0 | BLAS = 0 | SSE3 = 0 | VSX = 0 |main: interactive mode on.sampling parameters: temp = 0.100000, top_k = 40, top_p = 0.950000, repeat_last_n = 64, repeat_penalty = 1.300000<\/code><\/p>\n<p><code>== Running in chat mode. ==<\/code><\/p>\n<ul>\n<li>\n<p><code>Press Ctrl+C to interject at any time.<\/code><\/p>\n<\/li>\n<li>\n<p><code>Press Return to return control to LLaMA.<\/code><\/p>\n<\/li>\n<li>\n<p><code>If you want to submit another line, end your input in ''.<\/code><\/p>\n<p>><\/p>\n<\/li>\n<\/ul>\n<blockquote>\n<\/blockquote>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/991\/2c8\/dbc\/9912c8dbc6ec40bdc5470e49d33e7040.jpg\" alt=\"\" title=\"\" width=\"515\" height=\"1144\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/991\/2c8\/dbc\/9912c8dbc6ec40bdc5470e49d33e7040.jpg\" data-blurred=\"true\"\/><\/figure>\n<p>\u0421\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u043a\u0430 \u0435\u0449\u0451 \u043d\u0435 &#8216;\u0432\u0441\u0435\u0437\u043d\u0430\u044e\u0449\u0438\u0439&#8217; (\u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0432\u0440\u0435\u0442 \u043a\u0430\u043a \u0434\u044b\u0448\u0438\u0442, \u043d\u0443\u0436\u043d\u0430 \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0447\u043d\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u0440\u044b) \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a \u0443 \u043d\u0430\u0441 \u0432 \u043a\u0430\u0440\u043c\u0430\u043d\u0435 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u0430\u0436\u0435 \u0431\u0435\u0437 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442. \u0427\u0442\u043e-\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0443 \u043b\u0435\u0442?<\/p>\n<h4>\u0412\u0435\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u0440\u0440\u0435\u043d\u0442:<\/h4>\n<p>\u0414\u043b\u044f 7B<code>ggml-alpaca-7b-q4.bin<\/code>\u00a0<code>magnet:?xt=urn:btih:5aaceaec63b03e51a98f04fd5c42320b2a033010&amp;dn=ggml-alpaca-7b-q4.bin&amp;tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&amp;tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969%2Fannounce<\/code><\/p>\n<p>\u0414\u043b\u044f13B<code>ggml-alpaca-13b-q4.bin<\/code>\u00a0<code>magnet:?xt=urn:btih:053b3d54d2e77ff020ebddf51dad681f2a651071&amp;dn=ggml-alpaca-13b-q4.bin&amp;tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&amp;tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969%2Fannounce&amp;tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A6969%2Fannounce&amp;tr=udp%3A%2F%2F9.rarbg.com%3A2810%2Fannounce<\/code><\/p>\n<p>13\u0412 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c:<\/p>\n<p><code>.\/chat -m ggml-alpaca-13b-q4.bin<\/code><\/p>\n<p><strong>\u0414\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u043e<\/strong>: \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u043d\u0430 \u0440\u0443\u0442\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0430\u043d\u0434\u0440\u043e\u0438\u0434 13 \u043f\u0440\u044f\u043c\u043e \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 termux, \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u0435\u0437 \u0440\u0443\u0442\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0431\u0449\u0443\u044e \u043f\u0430\u043f\u043a\u0443\u00a0<a href=\"https:\/\/wiki.termux.com\/wiki\/Termux-setup-storage\" rel=\"noopener noreferrer nofollow\">https:\/\/wiki.termux.com\/wiki\/Termux-setup-storage<\/a>:<\/p>\n<p>\u0432 termux \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443<\/p>\n<p><code>termux-setup-storage<\/code><\/p>\n<p><code>cd ~\/storage<\/code><\/p>\n<p><code>mkdir alpaca-llama<\/code><\/p>\n<p><code>cd alpaca-llama<\/code><\/p>\n<p>\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0432\u043d\u0443\u0442\u0440\u0438 \u044d\u0442\u043e\u0439 \u043f\u0430\u043f\u043a\u0438.<\/p>\n<p><strong>\u0414\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u043e2<\/strong>: \u0435\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430 \u041f\u041a \u0441 \u043b\u0438\u043d\u0443\u043a\u0441 \u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0435\u0449\u0435 \u043f\u0440\u043e\u0449\u0435.<\/p>\n<p><code>git clone https:\/\/github.com\/antimatter15\/alpaca.cpp cd alpaca.cppmkdir build cmake -B build . cd build cmake --build . --config Release make chat<\/code><\/p>\n<p><code>.\/chat<\/code><\/p>\n<p>c<strong>\u00a0<\/strong>\u0412\u0438\u043d\u0434\u043e\u0443\u0441 \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0443\u0436\u0435\u043d<strong>\u00a0<\/strong>Visual Studio 2022 \u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043d\u0438\u043c, \u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e &#8212;\u00a0<a href=\"https:\/\/github.com\/hjude\/alpaca.cpp#windows\" rel=\"noopener noreferrer nofollow\">\u0442\u0443\u0442\u00a0<\/a>\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6f7\/ed2\/6bd\/6f7ed26bd1d6bbae9fc016b22526f08d.jpg\" alt=\"\" title=\"\" width=\"801\" height=\"851\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6f7\/ed2\/6bd\/6f7ed26bd1d6bbae9fc016b22526f08d.jpg\" data-blurred=\"true\"\/><\/figure>\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\/post\/724944\/\"> https:\/\/habr.com\/ru\/post\/724944\/<\/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>\u0423\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435 \u043f\u0438\u043a\u0441\u0435\u043b\u044c 6 \u043b\u0438\u043d\u0433\u0432\u043e \u043d\u0435\u0439\u0440\u043e\u043d\u043a\u0443 LLaMa \u0443\u0436\u0430\u0442\u0443\u044e \u0434\u043e 7 (\u0430\u043b\u044c\u043f\u0430\u043a\u0430 \u043b\u043e\u0440\u0430 \u0431\u044b\u043b\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u043f\u043e\u043a\u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0430 7 \u043c\u0438\u043b\u043b\u0438\u0430\u0440\u0434\u043e\u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u0438 \u043e\u0442\u0432\u0435\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0443\u0434\u0430\u0447\u043d\u0435\u0435 \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0430 \u043d\u0435\u0439 ) \u0438\u043b\u0438 13 \u043c\u0438\u043b\u043b\u0438\u0430\u0440\u0434\u043e\u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0438 4 \u0431\u0438\u0442\u043d\u044b\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439. \u0414\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0435\u0451 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0432<a href=\"https:\/\/colab.research.google.com\/drive\/1eWAmesrW99p7e1nah5bipn0zikMb8XYC\" rel=\"noopener noreferrer nofollow\">\u00a0\u0433\u0443\u0433\u043b \u043a\u043e\u043b\u0430\u0431<\/a>.<\/p>\n<figure class=\"\"><\/figure>\n<p>\u0418\u0442\u0430\u043a, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 \u043f\u0438\u043a\u0441\u0435\u043b\u044c 6 \u043d\u0435\u043f\u043b\u043e\u0445\u0438\u0435 &#8212; \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u0445\u043e\u0442\u044f \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043b\u0435\u0442\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0438\u0442\u044c \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438;<\/p>\n<figure class=\"\">\n<div><figcaption>\u0432\u0438\u0434\u0435\u043e \u043d\u0435 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u043e<\/figcaption><\/div>\n<\/figure>\n<p>\u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0438 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c.<\/p>\n<figure class=\"\"><\/figure>\n<p>\u0412\u0447\u0438\u0442\u0430\u0439\u0442\u0435\u0441\u044c \u0447\u0442\u043e \u0441\u043e\u0447\u0438\u043d\u044f\u0435\u0442, \u041b\u041e\u041b. \u042d\u0442\u043e \u043d\u0430 LLaMa 7B; \u043d\u0430 13B \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0431\u0438\u043b\u0435\u0431\u0435\u0440\u0434\u0443 \u0438\u0437 \u0431\u0443\u043a\u0432 \u0438 \u0446\u0438\u0444\u0440 \u0442\u0438\u043f\u0430 1234abcdefg.<\/p>\n<h3>\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c:<\/h3>\n<p>\u041d\u0443\u0436\u043d\u0430 \u043b\u0438\u043d\u0443\u043a\u0441 \u0441\u0440\u0435\u0434\u0430 \u0434\u043b\u044f \u0430\u043d\u0434\u043e\u0438\u0434. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c\u00a0<a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.termux\" rel=\"noopener noreferrer nofollow\">termux<\/a>.<\/p>\n<p>\u0412\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c git<\/p>\n<p><code>pkg install git<\/code><\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c cmake<\/p>\n<p><code>pkg install cmake<\/code><\/p>\n<h4>\u041a\u043b\u043e\u043d\u0438\u0440\u0443\u0435\u043c \u0430\u043b\u044c\u043f\u0430\u043a\u0443-\u043b\u043e\u0440\u0430<\/h4>\n<p><code>git clone https:\/\/github.com\/antimatter15\/alpaca.cpp<\/code><\/p>\n<p><code>cd alpaca.cpp<\/code><\/p>\n<h4>\u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c<\/h4>\n<p><code>mkdir build<\/code><\/p>\n<p><code>cmake -B build .<\/code><\/p>\n<p><code>cd build<\/code><\/p>\n<p><code>cmake --build . --config Release<\/code><\/p>\n<p><code>make chat<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u0435\u0441 7\u0412 \u0438\u043b\u0438 13\u0412. \u0412\u043d\u0438\u0437\u0443 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u043c\u0430\u0433\u043d\u0435\u0442 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0444\u0430\u0439\u043b\u044b (ggml-alpaca-7b-q4.bin \u0438\u043b\u0438 ggml-alpaca-13b-q4.bin). \u0414\u043b\u044f 7\u0412 \u043d\u0443\u0436\u043d\u043e ~4 \u0413\u0431 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u0441\u043e\u0432\u0435\u0442\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0451. \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u043d\u043d\u043e \u0432 RAM, \u0430 \u043d\u0435 \u0432 VRAM.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c ggml-alpaca-7b-q4.bin \u0432 \u043f\u0430\u043f\u043a\u0443\u00a0<code>alpaca.cpp<\/code>.<\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0447\u0430\u0442<\/p>\n<p><code>.\/chat<\/code><\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438,<\/p>\n<p><code>options:-h, --help show this help message and exit-i, --interactive run in interactive mode--interactive-start run in interactive mode and poll user input at startup-r PROMPT, --reverse-prompt PROMPTin interactive mode, poll user input upon seeing PROMPT--color colorise output to distinguish prompt and user input from generations-s SEED, --seed SEED RNG seed (default: -1)-t N, --threads N number of threads to use during computation (default: 4)-p PROMPT, --prompt PROMPTprompt to start generation with (default: random)-f FNAME, --file FNAMEprompt file to start generation.-n N, --n_predict N number of tokens to predict (default: 128)--top_k N top-k sampling (default: 40)--top_p N top-p sampling (default: 0.9)--repeat_last_n N last n tokens to consider for penalize (default: 64)--repeat_penalty N penalize repeat sequence of tokens (default: 1.3)-c N, --ctx_size N size of the prompt context (default: 2048)--temp N temperature (default: 0.1)-b N, --batch_size N batch size for prompt processing (default: 8)-m FNAME, --model FNAMEmodel path (default: ggml-alpaca-7b-q4.bin)<\/code><\/p>\n<p>\u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0439 GUI.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e!<\/p>\n<p><code>~ $ cd alpaca.cpp~\/alpaca.cpp $ .\/chatmain: seed = 1679299026llama_model_load: loading model from 'ggml-alpaca-7b-q4.bin' - please wait ...llama_model_load: ggml ctx size = 6065.34 MBllama_model_load: memory_size = 2048.00 MB, n_mem = 65536llama_model_load: loading model part 1\/1 from 'ggml-alpaca-7b-q4.bin'llama_model_load: .................................... donellama_model_load: model size = 4017.27 MB \/ num tensors = 291<\/code><\/p>\n<p><code>system_info: n_threads = 4 \/ 8 | AVX = 0 | AVX2 = 0 | AVX512 = 0 | FMA = 0 | NEON = 1 | ARM_FMA = 1 | F16C = 0 | FP16_VA = 1 | WASM_SIMD = 0 | BLAS = 0 | SSE3 = 0 | VSX = 0 |main: interactive mode on.sampling parameters: temp = 0.100000, top_k = 40, top_p = 0.950000, repeat_last_n = 64, repeat_penalty = 1.300000<\/code><\/p>\n<p><code>== Running in chat mode. ==<\/code><\/p>\n<ul>\n<li>\n<p><code>Press Ctrl+C to interject at any time.<\/code><\/p>\n<\/li>\n<li>\n<p><code>Press Return to return control to LLaMA.<\/code><\/p>\n<\/li>\n<li>\n<p><code>If you want to submit another line, end your input in ''.<\/code><\/p>\n<p>><\/p>\n<\/li>\n<\/ul>\n<blockquote>\n<\/blockquote>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c.<\/p>\n<figure class=\"\"><\/figure>\n<p>\u0421\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u043a\u0430 \u0435\u0449\u0451 \u043d\u0435 &#8216;\u0432\u0441\u0435\u0437\u043d\u0430\u044e\u0449\u0438\u0439&#8217; (\u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0432\u0440\u0435\u0442 \u043a\u0430\u043a \u0434\u044b\u0448\u0438\u0442, \u043d\u0443\u0436\u043d\u0430 \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0447\u043d\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u0440\u044b) \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a \u0443 \u043d\u0430\u0441 \u0432 \u043a\u0430\u0440\u043c\u0430\u043d\u0435 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u0430\u0436\u0435 \u0431\u0435\u0437 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442. \u0427\u0442\u043e-\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0443 \u043b\u0435\u0442?<\/p>\n<h4>\u0412\u0435\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u0440\u0440\u0435\u043d\u0442:<\/h4>\n<p>\u0414\u043b\u044f 7B<code>ggml-alpaca-7b-q4.bin<\/code>\u00a0<code>magnet:?xt=urn:btih:5aaceaec63b03e51a98f04fd5c42320b2a033010&amp;dn=ggml-alpaca-7b-q4.bin&amp;tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&amp;tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969%2Fannounce<\/code><\/p>\n<p>\u0414\u043b\u044f13B<code>ggml-alpaca-13b-q4.bin<\/code>\u00a0<code>magnet:?xt=urn:btih:053b3d54d2e77ff020ebddf51dad681f2a651071&amp;dn=ggml-alpaca-13b-q4.bin&amp;tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&amp;tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969%2Fannounce&amp;tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A6969%2Fannounce&amp;tr=udp%3A%2F%2F9.rarbg.com%3A2810%2Fannounce<\/code><\/p>\n<p>13\u0412 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c:<\/p>\n<p><code>.\/chat -m ggml-alpaca-13b-q4.bin<\/code><\/p>\n<p><strong>\u0414\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u043e<\/strong>: \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u043d\u0430 \u0440\u0443\u0442\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0430\u043d\u0434\u0440\u043e\u0438\u0434 13 \u043f\u0440\u044f\u043c\u043e \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 termux, \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u0435\u0437 \u0440\u0443\u0442\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0431\u0449\u0443\u044e \u043f\u0430\u043f\u043a\u0443\u00a0<a href=\"https:\/\/wiki.termux.com\/wiki\/Termux-setup-storage\" rel=\"noopener noreferrer nofollow\">https:\/\/wiki.termux.com\/wiki\/Termux-setup-storage<\/a>:<\/p>\n<p>\u0432 termux \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443<\/p>\n<p><code>termux-setup-storage<\/code><\/p>\n<p><code>cd ~\/storage<\/code><\/p>\n<p><code>mkdir alpaca-llama<\/code><\/p>\n<p><code>cd alpaca-llama<\/code><\/p>\n<p>\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0432\u043d\u0443\u0442\u0440\u0438 \u044d\u0442\u043e\u0439 \u043f\u0430\u043f\u043a\u0438.<\/p>\n<p><strong>\u0414\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u043e2<\/strong>: \u0435\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430 \u041f\u041a \u0441 \u043b\u0438\u043d\u0443\u043a\u0441 \u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0435\u0449\u0435 \u043f\u0440\u043e\u0449\u0435.<\/p>\n<p><code>git clone https:\/\/github.com\/antimatter15\/alpaca.cpp cd alpaca.cppmkdir build cmake -B build . cd build cmake --build . --config Release make chat<\/code><\/p>\n<p><code>.\/chat<\/code><\/p>\n<p>c<strong>\u00a0<\/strong>\u0412\u0438\u043d\u0434\u043e\u0443\u0441 \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0443\u0436\u0435\u043d<strong>\u00a0<\/strong>Visual Studio 2022 \u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043d\u0438\u043c, \u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e &#8212;\u00a0<a href=\"https:\/\/github.com\/hjude\/alpaca.cpp#windows\" rel=\"noopener noreferrer nofollow\">\u0442\u0443\u0442\u00a0<\/a>\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c.<\/p>\n<figure class=\"full-width\"><\/figure>\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\/post\/724944\/\"> https:\/\/habr.com\/ru\/post\/724944\/<\/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-347329","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/347329","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=347329"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/347329\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=347329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=347329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=347329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}