{"id":16191,"date":"2025-02-13T11:55:58","date_gmt":"2025-02-13T02:55:58","guid":{"rendered":"https:\/\/highreso.jp\/edgehub\/?p=16191"},"modified":"2025-02-13T11:55:59","modified_gmt":"2025-02-13T02:55:59","slug":"ollama-openwebui-japanese","status":"publish","type":"post","link":"https:\/\/highreso.jp\/edgehub\/machinelearning\/ollama-openwebui-japanese.html","title":{"rendered":"Ollama-OpenWebUI\u3067\u65e5\u672c\u8a9eLLM\u3092\u4f7f\u3046\u65b9\u6cd5\u3092\u5fb9\u5e95\u89e3\u8aac\uff01"},"content":{"rendered":"\n<p><span class=\"swl-format-2\">Ollama-OpenWebUI<\/span>\u306f\u3001ChatGPT\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u30ed\u30fc\u30ab\u30ebLLM\u304c\u4f7f\u3048\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u73fe\u5728Ollama\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308bLLM\u306f\u3001DeepSeek\u3084Llama\u306a\u3069\u306e\u6d77\u5916\u30e2\u30c7\u30eb\u306e\u307f\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><span class=\"swl-format-2\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Ollama\u306b\u65e5\u672c\u8a9e\u30e2\u30c7\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5229\u7528\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n\n\n\n\n<p class=\"is-style-balloon_box\">\u3056\u3063\u304f\u308a\u8a00\u3046\u3068<\/p>\n\n\n\n<div class=\"wp-block-group is-style-big_icon_good\"><div class=\"wp-block-group__inner-container\">\n<ul class=\"wp-block-list\">\n<li>Ollama\u306b\u65e5\u672c\u8a9eLLM\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u304c\u5206\u304b\u308b<\/li>\n\n\n\n<li>Ollama-OpenWebUI\u3067ChatGPT\u3088\u3046\u306a\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u69cb\u7bc9<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Ollama-OpenWebUI\u3067\u65e5\u672c\u8a9eLLM\u306f\u4f7f\u3048\u308b\uff1f<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"900\" height=\"387\" src=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_4_4.jpg\" alt=\"\u898b\u51fa\u3057\" class=\"wp-image-16511\" srcset=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_4_4.jpg 900w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_4_4-300x129.jpg 300w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_4_4-768x330.jpg 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<p><span class=\"swl-format-2\">Ollama-OpenWebUI<\/span>\u306f\u3001ChatGPT\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u30ed\u30fc\u30ab\u30ebLLM\u304c\u4f7f\u3048\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n\n\n\n<p>Ollama\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308bLLM\u306f\u3001DeepSeek\u3084Llama\u306a\u3069\u306e\u6d77\u5916\u30e2\u30c7\u30eb\u306e\u307f\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><span class=\"swl-format-2\">\u65e5\u672c\u8a9eLLM\u306b\u95a2\u3057\u3066\u306f\u3001\u5916\u90e8\u304b\u3089\u30e2\u30c7\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001Ollama\u306b\u30bb\u30c3\u30c8\u3059\u308b\u3053\u3068\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ollama-OpenWebUI\u306e\u74b0\u5883\u69cb\u7bc9<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"600\" height=\"300\" src=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/10\/4_anime_midashi.jpg\" alt=\"\u898b\u51fa\u3057\u753b\u50cf\" class=\"wp-image-12381\" srcset=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/10\/4_anime_midashi.jpg 600w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/10\/4_anime_midashi-300x150.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u7528\u610f\u3057\u305f\u5b9f\u884c\u74b0\u5883\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<p><span class=\"swl-format-2\">Ubuntu\u4e0a\u3067Ollama\u3068OpenWebUI \u3092\u7d44\u307f\u5408\u308f\u305b\u305f Docker \u30b3\u30f3\u30c6\u30ca\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<p>Ollama \u306f\u30ed\u30fc\u30ab\u30eb\u3067 LLM\u3092\u5b9f\u884c\u3067\u304d\u308b\u30c4\u30fc\u30eb\u3001OpenWebUI \u306f ChatGPT \u306e\u3088\u3046\u306a\u5bfe\u8a71\u578b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u63d0\u4f9b\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-group is-style-big_icon_good\"><div class=\"wp-block-group__inner-container\">\n<ul class=\"wp-block-list\">\n<li>GPU\uff1aNVIDIA A100 80GB<\/li>\n\n\n\n<li>GPU\u30e1\u30e2\u30ea\uff08VRAM\uff09\uff1a80GB<\/li>\n\n\n\n<li>OS \uff1aUbuntu 22.04<\/li>\n\n\n\n<li>Docker<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<p class=\"is-style-balloon_box2\"><span class=\"swl-format-2\">Ollama-OpenWebUI\u306e\u74b0\u5883\u69cb\u7bc9\u3092\u89e3\u8aac\uff01<\/span><\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/06\/ollamainference-eyecatch-300x158.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/highreso.jp\/edgehub\/machinelearning\/ollamainference.html\">\u3010Ollama-OpenWebUI\u3011\u30ed\u30fc\u30ab\u30ebLLM\u3092ChatGPT\u98a8\u306b\u4f7f\u3046!<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Ollama-OpenWebUI\u306f\u3001ChatGPT\u306e\u3088\u3046\u306a\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u30ed\u30fc\u30ab\u30ebLLM\u304c\u4f7f\u3048\u308b\u7121\u6599\u306e\u30c4\u30fc\u30eb\u3067\u3059\u3002 Ollama\u3092\u4f7f\u3048\u3070\u3001DeepSeek-R1\u3084Llama\u306a\u3069\u306e\u4eba\u6c17LLM\u3092\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u52d5&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<p class=\"is-style-balloon_box2\"><span class=\"swl-format-2\">Ollama-Python\u3067\u65e5\u672c\u8a9eLLM\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u306f\uff1f<\/span><\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/eyecatch-deepseekr1-japanese-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/highreso.jp\/edgehub\/machinelearning\/deepseek-r1-japanese.html\">DeepSeek-R1\u306e\u300c\u65e5\u672c\u8a9e\u30e2\u30c7\u30eb\u300d\u3068\u306f\uff1f\u30ed\u30fc\u30ab\u30eb\u3067\u306e\u4f7f\u3044\u65b9\u3092\u89e3\u8aac\uff01<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u30b5\u30a4\u30d0\u30fc\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u2060\u2060\u304cDeepSeek-R1\u306b\u65e5\u672c\u8a9e\u3067\u8ffd\u52a0\u5b66\u7fd2\u3057\u305f\u30e2\u30c7\u30eb\u3092\u7121\u6599\u3067\u516c\u958b\u3057\u307e\u3057\u305f\u3002 HuggingFace\u3084Ollama\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001DeepSeek-R1\u306e\u65e5\u672c\u8a9e\u30e2\u30c7\u30eb\u3092\u30ed\u30fc\u30ab&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<div class=\"p-blogParts post_content\" data-partsID=\"4485\"><p><div class=\"p-adBox -ranking -border-on\" data-id=\"4540\" data-ad=\"ranking\"><div class=\"p-adBox__title -rank1\">50\uff05\u5b89\u3044\u696d\u754c\u6700\u5b89\u7d1aGPU\u30af\u30e9\u30a6\u30c9\u300cGPUSOROBAN\u300d<\/div><div class=\"p-adBox__body\"><div class=\"p-adBox__img\"><div class=\"centerw250\"><a href=\"https:\/\/soroban.highreso.jp\/?utm_medium=edgehub&utm_source=edgehub&utm_campaign=highend-boxtop&adid=edgehub\" rel=\"nofollow\" referrerpolicy=\"no-referrer-when-downgrade\"><img decoding=\"async\" src=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/06\/gpusorobanlllm_banner.jpg\" alt=\"GPUSOROBAN\"><\/a><\/div><\/div><div class=\"p-adBox__details\"><div class=\"p-adBox__star c-reviewStars\"><i class=\"icon-star-full\"><\/i><i class=\"icon-star-full\"><\/i><i class=\"icon-star-full\"><\/i><i class=\"icon-star-full\"><\/i><i class=\"icon-star-full\"><\/i><\/div><div class=\"p-adBox__price u-thin u-fz-s\">GPU\u306e\u30b3\u30b9\u30c8\u3067\u304a\u60a9\u307f\u306e\u65b9\u306b\uff01<\/div><div class=\"p-adBox__desc\">AWS\u3068\u6bd4\u3079\u306650%\u4ee5\u4e0a\u5b89\u3044\u6599\u91d1\u3067\u3001\u9ad8\u901fGPU\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u3054\u5229\u7528\u3044\u305f\u3060\u3051\u307e\u3059\u3002\r\n\u9762\u5012\u306a\u8a2d\u5b9a\u306f\u4e0d\u8981\u3001\u308f\u305a\u304b3\u5206\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u7acb\u3061\u4e0a\u3052\u304c\u53ef\u80fd\u3067\u3059\u3002\r\n\u30bf\u30b9\u30af\u306b\u5fdc\u3058\u3066\u6700\u9069\u306aGPU\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/div><\/div><\/div><div class=\"p-adBox__btns\"><a href=\"https:\/\/soroban.highreso.jp\/compute\/?utm_medium=edgehub&utm_source=edgehub&utm_campaign=boxtop&adid=edgehub\" class=\"p-adBox__btn -btn1\" target=\"_blank\" rel=\"noopener nofollow\">\u516c\u5f0f\u30b5\u30a4\u30c8\u3092\u898b\u308b<\/a><a href=\"https:\/\/soroban.highreso.jp\/download\/compute-catalog\/?utm_medium=edgehub&utm_source=edgehub&utm_campaign=boxtop&adid=edgehub\" class=\"p-adBox__btn -btn2\" target=\"_blank\" rel=\"noopener nofollow\">\u8cc7\u6599\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a><\/div><\/div><\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Ollama\u74b0\u5883\u306b\u65e5\u672c\u8a9eLLM\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"600\" height=\"300\" src=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/09\/15_midashi_sf0923.jpg\" alt=\"\u898b\u51fa\u3057\u753b\u50cf\" class=\"wp-image-11926\" srcset=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/09\/15_midashi_sf0923.jpg 600w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/09\/15_midashi_sf0923-300x150.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p><span class=\"swl-format-2\">Ollama-OpenWebUI\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001Ollama\u306e\u30b3\u30f3\u30c6\u30ca\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<div class=\"swell-block-step\" data-num-style=\"circle\">\n<div class=\"swell-block-step__item\"><div class=\"swell-block-step__number u-bg-main\"><span class=\"__label\">STEP<\/span><\/div><div class=\"swell-block-step__title u-fz-l\">LLM\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/div><div class=\"swell-block-step__body\">\n<p>Ubuntu\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089<span class=\"swl-format-2\">Docker\u30b3\u30f3\u30c6\u30ca\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background\"><code>docker exec -it ollama \/bin\/bash<\/code><\/pre>\n\n\n\n\n\n\n\n<p><span class=\"swl-format-2\">Docker\u30b3\u30f3\u30c6\u30ca\u5185\u3067\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background\"><code>apt-get update &amp;&amp; apt-get install -y curl nano<\/code><\/pre>\n\n\n\n\n\n\n\n<p><span class=\"swl-format-2\">DeepSeek-R1\u306e\u65e5\u672c\u8a9e\u30e2\u30c7\u30eb\u3092HuggingFace\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background\"><code>curl -L -o cyberagent-DeepSeek-R1-Distill-Qwen-32B-Japanese-Q4_K_M.gguf \"https:\/\/huggingface.co\/mmnga\/cyberagent-DeepSeek-R1-Distill-Qwen-32B-Japanese-gguf\/resolve\/main\/cyberagent-DeepSeek-R1-Distill-Qwen-32B-Japanese-Q4_K_M.gguf?download=true\"<\/code><\/pre>\n\n\n\n<p class=\"is-style-balloon_box\">HuggingFace\u3067\u304a\u597d\u307f\u306e\u30e2\u30c7\u30eb\u3092\u7121\u6599\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\uff01<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -external\" data-type=\"type3\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/cdn-thumbnails.huggingface.co\/social-thumbnails\/models\/mmnga\/cyberagent-DeepSeek-R1-Distill-Qwen-32B-Japanese-gguf.png\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/huggingface.co\/mmnga\/cyberagent-DeepSeek-R1-Distill-Qwen-32B-Japanese-gguf\" target=\"_blank\" rel=\"noopener noreferrer\">mmnga\/cyberagent-DeepSeek-R1-Distill-Qwen-32B-Japanese-gguf \u00b7 Hugging Face<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">We\u2019re on a journey to advance and democratize artificial intelligence through open source and open science.<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div><\/div><\/div>\n\n\n\n<div class=\"swell-block-step__item\"><div class=\"swell-block-step__number u-bg-main\"><span class=\"__label\">STEP<\/span><\/div><div class=\"swell-block-step__title u-fz-l\">\u30e2\u30c7\u30eb\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/div><div class=\"swell-block-step__body\">\n<p><span class=\"swl-format-2\">LLM\u306e\u30e2\u30c7\u30eb\u304cOllama\u4f7f\u3048\u308b\u3088\u3046\u306b\u30d7\u30ed\u30f3\u30d7\u30c8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u6307\u5b9a\u3057\u3066\u3001\u30e2\u30c7\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<p>\u30e2\u30c7\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u3001\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background\"><code>nano Modelfile<\/code><\/pre>\n\n\n\n\n\n\n\n<p><span class=\"swl-format-2\">\u958b\u3044\u305f\u30e2\u30c7\u30eb\u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background\"><code>FROM .\/cyberagent-DeepSeek-R1-Distill-Qwen-32B-Japanese-Q4_K_M.gguf\nTEMPLATE \"\"\"{{- if .System }}{{ .System }}{{ end }}\n{{- range $i, $_ := .Messages }}\n{{- $last := eq (len (slice $.Messages $i)) 1}}\n{{- if eq .Role \"user\" }}&lt;\uff5cUser\uff5c&gt;{{ .Content }}\n{{- else if eq .Role \"assistant\" }}&lt;\uff5cAssistant\uff5c&gt;{{ .Content }}{{- if not $last }}&lt;\uff5cend\u2581of\u2581sentence\uff5c&gt;{{- end }}\n{{- end }}\n{{- if and $last (ne .Role \"assistant\") }}&lt;\uff5cAssistant\uff5c&gt;{{- end }}\n{{- end }}\"\"\"\nPARAMETER stop &lt;\uff5cbegin\u2581of\u2581sentence\uff5c&gt;\nPARAMETER stop &lt;\uff5cend\u2581of\u2581sentence\uff5c&gt;\nPARAMETER stop &lt;\uff5cUser\uff5c&gt;\nPARAMETER stop &lt;\uff5cAssistant\uff5c&gt;<\/code><\/pre>\n\n\n\n<p class=\"is-style-icon_info\">\u30b3\u30d4\u30da\u5f8c\u306b\u300cCtrl + S\u300d\u3067\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u3001\u300cCtrl + X\u300d\u3067\u7de8\u96c6\u3092\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"swell-block-capbox cap_box is-style-onborder_ttl2\" data-colset=\"col3\"><div class=\"cap_box_ttl\"><span>\u30b3\u30fc\u30c9\u306e\u8aac\u660e<\/span><\/div><div class=\"cap_box_content\">\n<p><span class=\"swl-format-2\">FROM .\/cyberagent-DeepSeek-R1-Distill-Qwen-32B-Japanese-Q4_K_M.gguf<\/span><\/p>\n\n\n\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30e2\u30c7\u30eb\u306e\u30d1\u30b9\u304c\u5165\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><span class=\"swl-format-2\">TEMPLATE &#8220;&#8221;&#8221;{{- if .System }}{{ .System }}{{ end }}&#8230;PARAMETER stop &lt;\uff5cAssistant\uff5c&gt;<\/span><\/p>\n\n\n\n<p>\u30e2\u30c7\u30eb\u3067\u4f7f\u7528\u3059\u308b\u30d7\u30ed\u30f3\u30d7\u30c8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u5165\u308a\u307e\u3059\u3002\u30e2\u30c7\u30eb\u306b\u3088\u3063\u3066\u8a18\u8ff0\u3059\u308b\u5185\u5bb9\u304c\u7570\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<div class=\"swell-block-step__item\"><div class=\"swell-block-step__number u-bg-main\"><span class=\"__label\">STEP<\/span><\/div><div class=\"swell-block-step__title u-fz-l\">Ollama\u3067\u30e2\u30c7\u30eb\u3092\u4f5c\u6210<\/div><div class=\"swell-block-step__body\">\n<p>Ollama\u306b\u30ab\u30b9\u30bf\u30e0\u30e2\u30c7\u30eb\u3092\u767b\u9332\u3057\u3001\u5b9f\u884c\u3067\u304d\u308b\u72b6\u614b\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background\"><code>ollama create cyberagent-deepSeek-r1-32b -f Modelfile<\/code><\/pre>\n\n\n\n<div class=\"swell-block-capbox cap_box is-style-onborder_ttl2\" data-colset=\"col3\"><div class=\"cap_box_ttl\"><span>\u30b3\u30fc\u30c9\u306e\u8aac\u660e<\/span><\/div><div class=\"cap_box_content\">\n<p><code>ollama create<\/code>\uff1a\u65b0\u3057\u3044\u30ed\u30fc\u30ab\u30eb\u30e2\u30c7\u30eb\u3092\u767b\u9332\u3059\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>cyberagent-deepSeek-r1-32b<\/code>\uff1a\u4f5c\u6210\u3059\u308b\u30e2\u30c7\u30eb\u306e\u4efb\u610f\u306e\u540d\u79f0\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>-f Modelfile<\/code>\uff1a\u30e2\u30c7\u30eb\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08Modelfile\uff09\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3002<\/p>\n<\/div><\/div>\n\n\n\n<p class=\"is-style-icon_good\">success\u3068\u8868\u793a\u3055\u308c\u305f\u3089\u3001\u30e2\u30c7\u30eb\u306e\u767b\u9332\u304c\u5b8c\u4e86\u3067\u3059\uff01<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"swell-block-step__item\"><div class=\"swell-block-step__number u-bg-main\"><span class=\"__label\">STEP<\/span><\/div><div class=\"swell-block-step__title u-fz-l\">Ollama-OpenWebUI\u3092\u518d\u8d77\u52d5<\/div><div class=\"swell-block-step__body\">\n<p><span class=\"swl-format-2\">Ubuntu\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089Ollama-OpenWebUI\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/span>&nbsp;&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background\"><code>docker compose up<\/code><\/pre>\n\n\n\n<p>\u30b3\u30f3\u30c6\u30ca\u304c\u8d77\u52d5\u3057\u305f\u3089\u3001<span class=\"swl-format-2\">\u30ed\u30fc\u30ab\u30ebPC\u306e\u300c\u30d6\u30e9\u30a6\u30b6\u306e\u691c\u7d22\u7a93\u300d\u306b\u4ee5\u4e0b\u306eURL\u3092\u5165\u529b\u3057\u3001Enter\u3092\u62bc\u3059<\/span>\u3068OpenWebUI\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-background-color has-background\"><code>http:&#47;&#47;localhost:8080\/<\/code><\/pre>\n\n\n\n<p class=\"is-style-icon_info\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30dd\u30fc\u30c88080\u3092\u4f7f\u7528\u3057\u3066Ollama\u3092\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Ollama-OpenWebUI\u3067\u65e5\u672c\u8a9eLLM\u3092\u52d5\u304b\u3059<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"600\" height=\"300\" src=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/08\/cat44_midashi.jpg\" alt=\"\u898b\u51fa\u3057\u753b\u50cf\" class=\"wp-image-9942\" srcset=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/08\/cat44_midashi.jpg 600w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/08\/cat44_midashi-300x150.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p><span class=\"swl-format-2\">Ollama-OpenWebUI\u306e\u753b\u9762\u3092\u64cd\u4f5c\u3057\u3066\u3001\u30c6\u30ad\u30b9\u30c8\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<div class=\"swell-block-step\" data-num-style=\"circle\">\n<div class=\"swell-block-step__item\"><div class=\"swell-block-step__number u-bg-main\"><span class=\"__label\">STEP<\/span><\/div><div class=\"swell-block-step__title u-fz-l\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30e2\u30c7\u30eb\u3092\u9078\u629e<\/div><div class=\"swell-block-step__body\">\n<p><span class=\"swl-format-2\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30e2\u30c7\u30eb\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"900\" height=\"340\" src=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_custom_1.jpg\" alt=\"\u30e2\u30c7\u30eb\u306e\u9078\u629e\" class=\"wp-image-16499\" srcset=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_custom_1.jpg 900w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_custom_1-300x113.jpg 300w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_custom_1-768x290.jpg 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"swell-block-step__item\"><div class=\"swell-block-step__number u-bg-main\"><span class=\"__label\">STEP<\/span><\/div><div class=\"swell-block-step__title u-fz-l\">\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u5165\u529b<\/div><div class=\"swell-block-step__body\">\n<p><span class=\"swl-format-2\">\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u5165\u529b\u3057\u3066\u3001\u77e2\u5370\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"900\" height=\"346\" src=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_custom_2.jpg\" alt=\"\u30d7\u30ed\u30f3\u30d7\u30c8\u5165\u529b\" class=\"wp-image-16500\" srcset=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_custom_2.jpg 900w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_custom_2-300x115.jpg 300w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_custom_2-768x295.jpg 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"swell-block-step__item\"><div class=\"swell-block-step__number u-bg-main\"><span class=\"__label\">STEP<\/span><\/div><div class=\"swell-block-step__title u-fz-l\">\u30e2\u30c7\u30eb\u306b\u3088\u308b\u56de\u7b54\u306e\u751f\u6210<\/div><div class=\"swell-block-step__body\">\n<p><span class=\"swl-format-2\">\u5165\u529b\u3057\u305f\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5bfe\u3057\u3066\u3001\u30e2\u30c7\u30eb\u304c\u56de\u7b54\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"900\" height=\"396\" src=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_custom_3.jpg\" alt=\"\u30c6\u30ad\u30b9\u30c8\u751f\u6210\" class=\"wp-image-16498\" srcset=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_custom_3.jpg 900w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_custom_3-300x132.jpg 300w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/ollama_custom_3-768x338.jpg 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<p class=\"is-style-icon_good\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u65e5\u672c\u8a9eLLM\u3067\u30c6\u30ad\u30b9\u30c8\u751f\u6210\u304c\u3067\u304d\u3066\u3044\u307e\u3059\uff01<\/p>\n\n\n\n<p class=\"is-style-balloon_box2\"><span class=\"swl-format-2\">Ollama-Python\u3067\u65e5\u672c\u8a9eLLM\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u306f\uff1f<\/span><\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2025\/02\/eyecatch-deepseekr1-japanese-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/highreso.jp\/edgehub\/machinelearning\/deepseek-r1-japanese.html\">DeepSeek-R1\u306e\u300c\u65e5\u672c\u8a9e\u30e2\u30c7\u30eb\u300d\u3068\u306f\uff1f\u30ed\u30fc\u30ab\u30eb\u3067\u306e\u4f7f\u3044\u65b9\u3092\u89e3\u8aac\uff01<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u30b5\u30a4\u30d0\u30fc\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u2060\u2060\u304cDeepSeek-R1\u306b\u65e5\u672c\u8a9e\u3067\u8ffd\u52a0\u5b66\u7fd2\u3057\u305f\u30e2\u30c7\u30eb\u3092\u7121\u6599\u3067\u516c\u958b\u3057\u307e\u3057\u305f\u3002 HuggingFace\u3084Ollama\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001DeepSeek-R1\u306e\u65e5\u672c\u8a9e\u30e2\u30c7\u30eb\u3092\u30ed\u30fc\u30ab&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"index_id8\">\u751f\u6210AI\u30fbLLM\u306e\u30b3\u30b9\u30c8\u3067\u304a\u56f0\u308a\u306a\u3089<\/h2>\n\n\n\n<p>GPU\u306e\u30b9\u30da\u30c3\u30af\u4e0d\u8db3\u3067\u751f\u6210AI\u306e\u958b\u767a\u304c\u601d\u3046\u3088\u3046\u306b\u9032\u307e\u306a\u3044\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f<\/p>\n\n\n\n<p>\u305d\u3093\u306a\u3068\u304d\u306b\u306f\u3001<strong><span class=\"swl-format-2\">\u9ad8\u6027\u80fd\u306aGPU\u3092\u30ea\u30fc\u30ba\u30ca\u30d6\u30eb\u306a\u4fa1\u683c\u3067\u4f7f\u3048\u308bGPU\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u304c\u304a\u3059\u3059\u3081\u3067\u3059\uff01<\/span><\/strong><\/p>\n\n\n\n<div class=\"p-blogParts post_content\" data-partsID=\"4543\">\n<div class=\"swell-block-capbox cap_box\" data-colset=\"col2\"><div class=\"cap_box_ttl\"><span>GPUSOROBAN<\/span><\/div><div class=\"cap_box_content\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1462\" height=\"508\" src=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/06\/h100_banner.jpg\" alt=\"GPUSOROBAN\" class=\"wp-image-10134\" srcset=\"https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/06\/h100_banner.jpg 1462w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/06\/h100_banner-300x104.jpg 300w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/06\/h100_banner-1024x356.jpg 1024w, https:\/\/highreso.jp\/edgehub\/wp-content\/uploads\/2024\/06\/h100_banner-768x267.jpg 768w\" sizes=\"(max-width: 1462px) 100vw, 1462px\" \/><\/figure>\n\n\n\n<p>GPUSOROBAN\u306f\u3001<span class=\"swl-marker mark_yellow\"><span class=\"swl-format-1\">\u9ad8\u6027\u80fdGPU\u300cNVIDIA H200\u300d\u3092\u696d\u754c\u6700\u5b89\u7d1a\u306e\u6599\u91d1\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/span><\/p>\n\n\n\n<p>NVIDIA H200\u306f\u3001\u751f\u6210AI\u30fbLLM\u306e\u8a08\u7b97\u306b\u304b\u304b\u308b\u6642\u9593\u3092\u5927\u5e45\u306b\u77ed\u7e2e\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30af\u30e9\u30a6\u30c9\u3067\u4f7f\u3048\u308b\u305f\u3081\u3001\u5927\u898f\u6a21\u306a\u8a2d\u5099\u6295\u8cc7\u306e\u5fc5\u8981\u304c\u306a\u304f\u3001\u7169\u96d1\u306a\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u304b\u3089\u3082\u89e3\u653e\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"swell-block-columns\"><div class=\"swell-block-columns__inner\">\n<div class=\"swell-block-column swl-has-mb--s\">\n<div class=\"swell-block-button blue_ -size-l is-style-btn_normal\"><a href=\"https:\/\/soroban.highreso.jp\/?utm_medium=edgehub&amp;utm_source=edgehub&amp;utm_campaign=highend_boxb&amp;adid=edgehub\" class=\"swell-block-button__link\"><span>\u516c\u5f0f\u30b5\u30a4\u30c8\u3092\u307f\u308b<\/span><\/a><\/div>\n<\/div>\n\n\n\n<div class=\"swell-block-column swl-has-mb--s\">\n<div class=\"swell-block-button red_ -size-l is-style-btn_normal\"><a href=\"https:\/\/soroban.highreso.jp\/download\/compute-catalog\/?utm_medium=edgehub&amp;utm_source=edgehub&amp;utm_campaign=highend_boxb&amp;adid=edgehub\" class=\"swell-block-button__link\"><span>\u8cc7\u6599\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/span><\/a><\/div>\n<\/div>\n<\/div><\/div>\n<\/div><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ollama-OpenWebUI\u306f\u3001ChatGPT\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u30ed\u30fc\u30ab\u30ebLLM\u304c\u4f7f\u3048\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002 \u73fe\u5728Ollama\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308bLLM\u306f\u3001DeepSeek\u3084Llama\u306a\u3069\u306e\u6d77\u5916\u30e2\u30c7\u30eb\u306e\u307f\u306b\u306a\u308a\u307e\u3059\u3002  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":16938,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[20],"tags":[],"class_list":["post-16191","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-machinelearning"],"_links":{"self":[{"href":"https:\/\/highreso.jp\/edgehub\/wp-json\/wp\/v2\/posts\/16191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/highreso.jp\/edgehub\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/highreso.jp\/edgehub\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/highreso.jp\/edgehub\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/highreso.jp\/edgehub\/wp-json\/wp\/v2\/comments?post=16191"}],"version-history":[{"count":3,"href":"https:\/\/highreso.jp\/edgehub\/wp-json\/wp\/v2\/posts\/16191\/revisions"}],"predecessor-version":[{"id":16970,"href":"https:\/\/highreso.jp\/edgehub\/wp-json\/wp\/v2\/posts\/16191\/revisions\/16970"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/highreso.jp\/edgehub\/wp-json\/wp\/v2\/media\/16938"}],"wp:attachment":[{"href":"https:\/\/highreso.jp\/edgehub\/wp-json\/wp\/v2\/media?parent=16191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/highreso.jp\/edgehub\/wp-json\/wp\/v2\/categories?post=16191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/highreso.jp\/edgehub\/wp-json\/wp\/v2\/tags?post=16191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}