{"id":3293,"date":"2024-08-23T09:58:50","date_gmt":"2024-08-23T09:58:50","guid":{"rendered":"https:\/\/howtogeek.blog\/ja\/?p=3293"},"modified":"2024-08-23T09:58:50","modified_gmt":"2024-08-23T09:58:50","slug":"what-is-ollama-and-how-to-use-it-on-windows-ja","status":"publish","type":"post","link":"https:\/\/howtogeek.blog\/ja\/what-is-ollama-and-how-to-use-it-on-windows-ja\/","title":{"rendered":"Ollama \u3068\u306f\u4f55\u304b\u3001Windows \u3067\u3069\u306e\u3088\u3046\u306b\u4f7f\u7528\u3059\u308b\u304b"},"content":{"rendered":"<p>\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u3067\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb (LLM) \u3092\u5b9f\u884c\u3057\u305f\u3044\u5834\u5408\u3001\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u306e 1 \u3064\u306f Ollama \u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002Ollama \u306f\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u3067\u7c21\u5358\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b AI \u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u3092\u63d0\u4f9b\u3059\u308b\u5f37\u529b\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002\u30af\u30e9\u30a6\u30c9\u30d9\u30fc\u30b9\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u983c\u3063\u305f\u308a\u3001\u6280\u8853\u7684\u306a\u5c02\u9580\u77e5\u8b58\u3092\u5fc5\u8981\u3068\u305b\u305a\u306b\u3001\u3055\u307e\u3056\u307e\u306a LLM \u3092\u7c21\u5358\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u64cd\u4f5c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u5229\u70b9\u306b\u52a0\u3048\u3066\u3001Ollama \u306f\u975e\u5e38\u306b\u8efd\u91cf\u3067\u5b9a\u671f\u7684\u306b\u66f4\u65b0\u3055\u308c\u308b\u305f\u3081\u3001\u30ed\u30fc\u30ab\u30eb \u30de\u30b7\u30f3\u4e0a\u3067 LLM \u3092\u69cb\u7bc9\u304a\u3088\u3073\u7ba1\u7406\u3059\u308b\u306e\u306b\u975e\u5e38\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u5916\u90e8\u30b5\u30fc\u30d0\u30fc\u3084\u8907\u96d1\u306a\u69cb\u6210\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002Ollama \u306f\u3001Windows\u3001Linux\u3001macOS \u306a\u3069\u306e\u8907\u6570\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u3068\u3001\u3055\u307e\u3056\u307e\u306a Docker \u74b0\u5883\u3082\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2 id=\"downloading-and-installing-ollama\">Ollama\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<ul>\n<li>\u307e\u305a\u3001Ollama \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 \u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001OS \u3092\u9078\u629e\u3057\u3066\u304b\u3089\u300c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<figure class=\"wp-block-image\"><img alt=\"\" class=\"wp-image\" decoding=\"async\" height=\"466\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/08\/2024-08-22-14-56-32-1.webp\" title=\"\" width=\"829\"\/><\/figure>\n<ul>\n<li>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u305d\u308c\u3092\u958b\u3044\u3066\u30de\u30b7\u30f3\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u306f\u81ea\u52d5\u7684\u306b\u9589\u3058\u307e\u3059\u3002<\/li>\n<\/ul>\n<figure class=\"wp-block-image\"><img alt=\"\" class=\"wp-image\" decoding=\"async\" height=\"506\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/08\/2024-08-22-15-01-54-1.webp\" title=\"\" width=\"899\"\/><\/figure>\n<ul>\n<li>Windows \u3067\u306f\u3001\u30bf\u30b9\u30af\u30d0\u30fc\u306e\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u96a0\u308c\u305f\u30a2\u30a4\u30b3\u30f3\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3067\u3001Ollama \u304c\u5b9f\u884c\u4e2d\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<figure class=\"wp-block-image\"><img alt=\"\" class=\"wp-image\" decoding=\"async\" height=\"453\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/08\/2024-08-22-15-12-41-1.webp\" title=\"\" width=\"805\"\/><\/figure>\n<h2 id=\"customizing-and-using-ollama\">Ollama\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3068\u4f7f\u7528<\/h2>\n<p>Ollama\u3092\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u307e\u305a\u30c7\u30fc\u30bf\u306e\u4fdd\u5b58\u5834\u6240\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u4fdd\u5b58\u5834\u6240\u306f\u3067\u3059<code>C:\\Users\\%username%\\.ollama\\models<\/code>\u304c\u3001AI\u30e2\u30c7\u30eb\u306f\u975e\u5e38\u306b\u5927\u304d\u3044\u305f\u3081\u3001C\u30c9\u30e9\u30a4\u30d6\u304c\u3059\u3050\u306b\u3044\u3063\u3071\u3044\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u884c\u3046\u306b\u306f\u3001<\/p>\n<ul>\n<li>\u307e\u305a\u3001\u30bf\u30b9\u30af\u30d0\u30fc\u306e Ollama \u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300cOllama \u3092\u7d42\u4e86\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<figure class=\"wp-block-image\"><img alt=\"\" class=\"wp-image\" decoding=\"async\" height=\"448\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/08\/2024-08-22-15-32-00-1.webp\" title=\"\" width=\"797\"\/><\/figure>\n<ul>\n<li>Ollama \u304c\u7d42\u4e86\u3057\u305f\u3089\u3001[\u30b9\u30bf\u30fc\u30c8] \u30e1\u30cb\u30e5\u30fc\u3092\u958b\u304d\u3001<code>environment variables<\/code>\u300c\u30b7\u30b9\u30c6\u30e0\u74b0\u5883\u5909\u6570\u306e\u7de8\u96c6\u300d\u3068\u5165\u529b\u3057\u3066\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<figure class=\"wp-block-image\"><img alt=\"\" class=\"wp-image\" decoding=\"async\" height=\"591\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/08\/2024-08-22-15-37-24-1.webp\" title=\"\" width=\"1050\"\/><\/figure>\n<ul>\n<li>\u300c\u30b7\u30b9\u30c6\u30e0\u5909\u6570\u300d\u30c0\u30a4\u30a2\u30ed\u30b0\u30dc\u30c3\u30af\u30b9\u304c\u958b\u3044\u305f\u3089\u3001\u300c\u8a73\u7d30\u8a2d\u5b9a\u300d\u30bf\u30d6\u306e\u300c\u74b0\u5883\u5909\u6570\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<figure class=\"wp-block-image\"><img alt=\"\" class=\"wp-image\" decoding=\"async\" height=\"556\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/08\/2024-08-22-15-44-31-1.webp\" title=\"\" width=\"988\"\/><\/figure>\n<ul>\n<li><code>OLLAMA_MODELS<\/code>\u30e6\u30fc\u30b6\u30fc \u30a2\u30ab\u30a6\u30f3\u30c8\u306e [\u65b0\u898f] \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001 [\u5909\u6570\u540d] \u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u540d\u524d\u3092\u4ed8\u3051\u305f\u5909\u6570\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<figure class=\"wp-block-image\"><img alt=\"\" class=\"wp-image\" decoding=\"async\" height=\"545\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/08\/2024-08-22-15-48-26-1-1.webp\" title=\"\" width=\"968\"\/><\/figure>\n<ul>\n<li>\u6b21\u306b\u3001Ollama \u304c\u30e2\u30c7\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u300c\u5909\u6570\u5024\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u5165\u529b\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u300cOK\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304b\u3089\u3001\u30b9\u30bf\u30fc\u30c8 \u30e1\u30cb\u30e5\u30fc\u304b\u3089 Ollama \u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<figure class=\"wp-block-image\"><img alt=\"\" class=\"wp-image\" decoding=\"async\" height=\"565\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/08\/2024-08-22-16-03-07-1.webp\" title=\"\" width=\"1005\"\/><\/figure>\n<ul>\n<li>\u3053\u308c\u3067\u3001Ollama \u3092\u4f7f\u3044\u59cb\u3081\u308b\u6e96\u5099\u304c\u6574\u3044\u307e\u3057\u305f\u3002Meta \u306e\u6700\u65b0\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9 AI \u30e2\u30c7\u30eb\u3067\u3042\u308b Llama 3 8B \u3092\u4f7f\u3063\u3066\u3053\u308c\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u30e2\u30c7\u30eb\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001[\u30b9\u30bf\u30fc\u30c8] \u30e1\u30cb\u30e5\u30fc\u304b\u3089\u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8\u3001Powershell\u3001\u307e\u305f\u306f Windows \u30bf\u30fc\u30df\u30ca\u30eb \u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/li>\n<li>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u958b\u3044\u305f\u3089\u3001\u5165\u529b\u3057<code>ollama run llama3<\/code>\u3066 Enter \u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002\u30e2\u30c7\u30eb\u306f 5 GB \u8fd1\u304f\u3042\u308b\u305f\u3081\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u306f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<figure class=\"wp-block-image\"><img alt=\"\" class=\"wp-image\" decoding=\"async\" height=\"516\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/08\/2024-08-22-16-26-25-1.webp\" title=\"\" width=\"917\"\/><\/figure>\n<ul>\n<li>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001Llama 3 8B \u306e\u4f7f\u7528\u3092\u958b\u59cb\u3057\u3001\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3 \u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u76f4\u63a5\u5bfe\u8a71\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u30e2\u30c7\u30eb\u306b\u8cea\u554f\u3057\u3066<code>Who are you?<\/code>Enter \u30ad\u30fc\u3092\u62bc\u3059\u3068\u3001\u5fdc\u7b54\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<figure class=\"wp-block-image\"><img alt=\"\" class=\"wp-image\" decoding=\"async\" height=\"579\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/08\/2024-08-22-16-33-17-1.webp\" title=\"\" width=\"1030\"\/><\/figure>\n<ul>\n<li>\u3053\u308c\u3067\u3001\u4f1a\u8a71\u3092\u7d9a\u3051\u3001\u3055\u307e\u3056\u307e\u306a\u30c8\u30d4\u30c3\u30af\u306b\u3064\u3044\u3066 AI \u30e2\u30c7\u30eb\u306b\u8cea\u554f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001Llama 3 \u306f\u9593\u9055\u3044\u3092\u72af\u3057\u305f\u308a\u5e7b\u899a\u3092\u8d77\u3053\u3057\u305f\u308a\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u4f7f\u7528\u6642\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/li>\n<li>Ollama \u30e2\u30c7\u30eb \u30e9\u30a4\u30d6\u30e9\u30ea \u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u4ed6\u306e\u30e2\u30c7\u30eb\u3092\u8a66\u3059\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001Ollama \u304c\u63d0\u4f9b\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u6a5f\u80fd\u3092\u8a66\u3059\u305f\u3081\u306b\u5b9f\u884c\u3067\u304d\u308b\u3055\u307e\u3056\u307e\u306a\u30b3\u30de\u30f3\u30c9\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li>\u30e2\u30c7\u30eb\u306e\u5b9f\u884c\u4e2d\u306b\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u306e\u8a2d\u5b9a\u3001\u30e2\u30c7\u30eb\u60c5\u5831\u306e\u8868\u793a\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u4fdd\u5b58\u306a\u3069\u3001\u3055\u307e\u3056\u307e\u306a\u64cd\u4f5c\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>Ollama \u3067\u306f\u3001\u30de\u30eb\u30c1\u30e2\u30fc\u30c0\u30eb AI \u30e2\u30c7\u30eb\u3092\u5229\u7528\u3057\u3066\u753b\u50cf\u3092\u8a8d\u8b58\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u305f\u3068\u3048\u3070\u3001LLava \u30e2\u30c7\u30eb\u306f DALLE-3 \u306b\u3088\u3063\u3066\u751f\u6210\u3055\u308c\u305f\u753b\u50cf\u3092\u8a8d\u8b58\u3067\u304d\u307e\u3059\u3002\u753b\u50cf\u3092\u8a73\u7d30\u306b\u8aac\u660e\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>Ollama \u306e\u5b9f\u884c\u4e2d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u3066\u554f\u984c\u306e\u539f\u56e0\u3092\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<code>Win + R<\/code>\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u3066 [\u5b9f\u884c] \u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u958b\u304d\u3001<code>explorer %LOCALAPPDATA%\\\\Ollama # View logs<\/code>\u305d\u306e\u4e2d\u306b\u5165\u529b\u3057\u3066\u304b\u3089 Enter \u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<figure class=\"wp-block-image\"><img alt=\"\" class=\"wp-image\" decoding=\"async\" height=\"473\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/08\/2024-08-23-09-59-46-1.webp\" title=\"\" width=\"840\"\/><\/figure>\n<ul>\n<li><code>explorer %LOCALAPPDATA%\\\\Programs\\\\Ollama<\/code>\u3084\u306a\u3069\u306e\u4ed6\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001<code>explorer %HOMEPATH%\\\\.ollama<\/code>\u30d0\u30a4\u30ca\u30ea\u3001\u30e2\u30c7\u30eb\u3001\u304a\u3088\u3073\u69cb\u6210\u306e\u4fdd\u5b58\u5834\u6240\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<h3 id=\"things-to-know\">\u77e5\u3063\u3066\u304a\u304f\u3079\u304d\u3053\u3068<\/h3>\n<ul>\n<li>Ollama \u306f AI \u30e2\u30c7\u30eb\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b GPU \u3092\u81ea\u52d5\u7684\u306b\u691c\u51fa\u3057\u307e\u3059\u304c\u3001\u8907\u6570\u306e GPU \u3092\u642d\u8f09\u3057\u305f\u30de\u30b7\u30f3\u3067\u306f\u9593\u9055\u3063\u305f GPU \u3092\u9078\u629e\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u56de\u907f\u3059\u308b\u306b\u306f\u3001Nvidia \u30b3\u30f3\u30c8\u30ed\u30fc\u30eb \u30d1\u30cd\u30eb\u3092\u958b\u304d\u3001\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u3092\u300cNvidia GPU \u306e\u307f\u300d\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4 \u30e2\u30fc\u30c9\u306f\u3059\u3079\u3066\u306e\u30de\u30b7\u30f3\u3067\u4f7f\u7528\u3067\u304d\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u3092\u5916\u90e8\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u306b\u63a5\u7d9a\u3057\u305f\u5834\u5408\u306b\u3082\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002<\/li>\n<li>Windows \u3067\u306f\u3001\u30bf\u30b9\u30af \u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u4f7f\u7528\u3057\u3066 Ollama \u304c\u6b63\u3057\u3044 GPU \u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u30bf\u30b9\u30af \u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3067\u306f GPU \u306e\u4f7f\u7528\u72b6\u6cc1\u304c\u8868\u793a\u3055\u308c\u3001\u3069\u306e GPU \u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u304b\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/li>\n<li>macOS \u304a\u3088\u3073 Linux \u3078\u306e Ollama \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f Windows \u3068\u306f\u5c11\u3057\u7570\u306a\u308a\u307e\u3059\u304c\u3001\u305d\u308c\u3092\u4ecb\u3057\u3066 LLM \u3092\u5b9f\u884c\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u306f\u307b\u307c\u540c\u3058\u3067\u3059\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u3067\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb (LLM) \u3092\u5b9f\u884c\u3057\u305f\u3044\u5834\u5408\u3001\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u306e 1 \u3064\u306f Ollama \u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002Ollama \u306f\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u3067\u7c21\u5358\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b AI \u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u3092\u63d0\u4f9b\u3059\u308b\u5f37\u529b\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002\u30af\u30e9\u30a6\u30c9\u30d9\u30fc\u30b9\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u983c\u3063\u305f\u308a\u3001\u6280\u8853\u7684\u306a\u5c02\u9580\u77e5\u8b58\u3092\u5fc5\u8981\u3068\u305b\u305a\u306b\u3001\u3055\u307e\u3056\u307e\u306a LLM \u3092\u7c21\u5358\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u64cd\u4f5c\u3067\u304d\u307e\u3059\u3002 \u4e0a\u8a18\u306e\u5229\u70b9\u306b\u52a0\u3048\u3066\u3001Ollama \u306f\u975e\u5e38\u306b\u8efd\u91cf\u3067\u5b9a\u671f\u7684\u306b\u66f4\u65b0\u3055\u308c\u308b\u305f\u3081\u3001\u30ed\u30fc\u30ab\u30eb \u30de\u30b7\u30f3\u4e0a\u3067 LLM \u3092\u69cb\u7bc9\u304a\u3088\u3073\u7ba1\u7406\u3059\u308b\u306e\u306b\u975e\u5e38\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u5916\u90e8\u30b5\u30fc\u30d0\u30fc\u3084\u8907\u96d1\u306a\u69cb\u6210\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002Ollama \u306f\u3001Windows\u3001Linux\u3001macOS \u306a\u3069\u306e\u8907\u6570\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u3068\u3001\u3055\u307e\u3056\u307e\u306a Docker \u74b0\u5883\u3082\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002 Ollama\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u307e\u305a\u3001Ollama \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 \u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001OS \u3092\u9078\u629e\u3057\u3066\u304b\u3089\u300c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002 \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u305d\u308c\u3092\u958b\u3044\u3066\u30de\u30b7\u30f3\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u306f\u81ea\u52d5\u7684\u306b\u9589\u3058\u307e\u3059\u3002 Windows \u3067\u306f\u3001\u30bf\u30b9\u30af\u30d0\u30fc\u306e\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u96a0\u308c\u305f\u30a2\u30a4\u30b3\u30f3\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3067\u3001Ollama \u304c\u5b9f\u884c\u4e2d\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002 Ollama\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3068\u4f7f\u7528 Ollama\u3092\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u307e\u305a\u30c7\u30fc\u30bf\u306e\u4fdd\u5b58\u5834\u6240\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u4fdd\u5b58\u5834\u6240\u306f\u3067\u3059C:\\Users\\%username%\\.ollama\\models\u304c\u3001AI\u30e2\u30c7\u30eb\u306f\u975e\u5e38\u306b\u5927\u304d\u3044\u305f\u3081\u3001C\u30c9\u30e9\u30a4\u30d6\u304c\u3059\u3050\u306b\u3044\u3063\u3071\u3044\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u884c\u3046\u306b\u306f\u3001 \u307e\u305a\u3001\u30bf\u30b9\u30af\u30d0\u30fc\u306e Ollama \u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300cOllama \u3092\u7d42\u4e86\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002 Ollama \u304c\u7d42\u4e86\u3057\u305f\u3089\u3001[\u30b9\u30bf\u30fc\u30c8] \u30e1\u30cb\u30e5\u30fc\u3092\u958b\u304d\u3001environment variables\u300c\u30b7\u30b9\u30c6\u30e0\u74b0\u5883\u5909\u6570\u306e\u7de8\u96c6\u300d\u3068\u5165\u529b\u3057\u3066\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002 \u300c\u30b7\u30b9\u30c6\u30e0\u5909\u6570\u300d\u30c0\u30a4\u30a2\u30ed\u30b0\u30dc\u30c3\u30af\u30b9\u304c\u958b\u3044\u305f\u3089\u3001\u300c\u8a73\u7d30\u8a2d\u5b9a\u300d\u30bf\u30d6\u306e\u300c\u74b0\u5883\u5909\u6570\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002 OLLAMA_MODELS\u30e6\u30fc\u30b6\u30fc \u30a2\u30ab\u30a6\u30f3\u30c8\u306e [\u65b0\u898f] \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001 [\u5909\u6570\u540d] \u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u540d\u524d\u3092\u4ed8\u3051\u305f\u5909\u6570\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 \u6b21\u306b\u3001Ollama \u304c\u30e2\u30c7\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u300c\u5909\u6570\u5024\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u5165\u529b\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u300cOK\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304b\u3089\u3001\u30b9\u30bf\u30fc\u30c8 \u30e1\u30cb\u30e5\u30fc\u304b\u3089 Ollama \u3092\u8d77\u52d5\u3057\u307e\u3059\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[180,127],"class_list":["post-3293","post","type-post","status-publish","format-standard","hentry","category-how-to","tag-artificial-intelligence","tag-microsoft"],"acf":[],"_links":{"self":[{"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/posts\/3293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/comments?post=3293"}],"version-history":[{"count":1,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/posts\/3293\/revisions"}],"predecessor-version":[{"id":3294,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/posts\/3293\/revisions\/3294"}],"wp:attachment":[{"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/media?parent=3293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/categories?post=3293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/tags?post=3293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}