{"id":9639,"date":"2026-09-15T09:57:01","date_gmt":"2026-09-15T00:57:01","guid":{"rendered":"https:\/\/since2020.jp\/media\/?p=9639"},"modified":"2026-09-15T09:57:02","modified_gmt":"2026-09-15T00:57:02","slug":"generative_model_markov_chain","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/generative_model_markov_chain\/","title":{"rendered":"\u3010\u6df1\u5c64\u5b66\u7fd2\u3011\u751f\u6210\u30e2\u30c7\u30eb\u3092\u7406\u89e3\u3059\u308b_\u30de\u30eb\u30b3\u30d5\u9023\u9396"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u751f\u6210\u30e2\u30c7\u30eb\u3068\u306f<\/h3>\n\n\n\n<p>\u751f\u6210\u30e2\u30c7\u30eb\u3068\u306f\u3001\u30c7\u30fc\u30bf\u306e\u5206\u5e03\u3092\u5b66\u7fd2\u3057\u3001\u305d\u3053\u304b\u3089\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u3092\u751f\u6210\u3059\u308b\u30e2\u30c7\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u901a\u5e38\u306e\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb\uff08\u8b58\u5225\u30e2\u30c7\u30eb\uff09\u304c\u300c\u3053\u306e\u753b\u50cf\u306f\u732b\u304b\u72ac\u304b\u300d\u3092\u5224\u5b9a\u3059\u308b\u306e\u306b\u5bfe\u3057\u3001\u751f\u6210\u30e2\u30c7\u30eb\u306f\u300c\u732b\u306e\u753b\u50cf\u300d\u305d\u306e\u3082\u306e\u3092\u65b0\u305f\u306b\u4f5c\u308a\u51fa\u3057\u307e\u3059\u3002\u5b66\u7fd2\u6e08\u307f\u306e\u5206\u5e03\u304b\u3089\u65b0\u3057\u3044\u30b5\u30f3\u30d7\u30eb\u3092\u751f\u6210\u3067\u304d\u308b\u70b9\u304c\u6700\u5927\u306e\u7279\u5fb4\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u3069\u306e\u3088\u3046\u306a\u5fdc\u7528\u304c\u3055\u308c\u3066\u3044\u308b\u304b<\/h3>\n\n\n\n<p>\u751f\u6210\u30e2\u30c7\u30eb\u306f\u73fe\u5728\u3001\u591a\u304f\u306e\u5206\u91ce\u3067\u6d3b\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30c6\u30ad\u30b9\u30c8\u751f\u6210<\/strong>: ChatGPT\u3001Claude \u306a\u3069\u306e\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\uff08LLM\uff09<\/li>\n\n\n\n<li><strong>\u753b\u50cf\u751f\u6210<\/strong>: Stable Diffusion\u3001DALL-E \u306a\u3069\u306e\u753b\u50cf\u751f\u6210AI<\/li>\n\n\n\n<li><strong>\u97f3\u697d\u751f\u6210<\/strong>: \u697d\u66f2\u306e\u81ea\u52d5\u4f5c\u66f2<\/li>\n\n\n\n<li><strong>\u30b3\u30fc\u30c9\u751f\u6210<\/strong>: GitHub Copilot \u306a\u3069\u306e\u30b3\u30fc\u30c9\u88dc\u5b8c\u30c4\u30fc\u30eb<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u554f\u984c\u8a2d\u5b9a<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u554f\u984c\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u300c\u65e5\u672c\u8a9e\u30c6\u30ad\u30b9\u30c8\u306e\u751f\u6210\u300d\u3092\u554f\u984c\u3068\u3057\u3066\u6271\u3044\u307e\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u3001\u5b66\u7fd2\u7528\u306e\u30c6\u30ad\u30b9\u30c8\uff08\u30b3\u30fc\u30d1\u30b9\uff09\u3092\u8aad\u307f\u8fbc\u307f\u3001\u305d\u306e\u30b9\u30bf\u30a4\u30eb\u3084\u8a9e\u5f59\u3092\u6a21\u5023\u3057\u305f\u65b0\u3057\u3044\u6587\u7ae0\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f7f\u7528\u3059\u308b\u30b3\u30fc\u30d1\u30b9\u306f\u590f\u76ee\u6f31\u77f3\u300c\u543e\u8f29\u306f\u732b\u3067\u3042\u308b\u300d\u306e\u5192\u982d\u90e8\u5206\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"\"\"\n\u543e\u8f29\u306f\u732b\u3067\u3042\u308b\u3002\u540d\u524d\u306f\u307e\u3060\u306a\u3044\u3002\n\u3069\u3053\u3067\u751f\u308c\u305f\u304b\u9813\u3068\u898b\u5f53\u304c\u3064\u304b\u306c\u3002\n\u4f55\u3067\u3082\u8584\u6697\u3044\u3058\u3081\u3058\u3081\u3057\u305f\u6240\u3067\u30cb\u30e3\u30fc\u30cb\u30e3\u30fc\u6ce3\u3044\u3066\u3044\u305f\u4e8b\u3060\u3051\u306f\u8a18\u61b6\u3057\u3066\u3044\u308b\u3002\n\u543e\u8f29\u306f\u3053\u3053\u3067\u59cb\u3081\u3066\u4eba\u9593\u3068\u3044\u3046\u3082\u306e\u3092\u898b\u305f\u3002\n\u3057\u304b\u3082\u3042\u3068\u3067\u805e\u304f\u3068\u305d\u308c\u306f\u66f8\u751f\u3068\u3044\u3046\u4eba\u9593\u4e2d\u3067\u4e00\u756a\u7370\u60aa\u306a\u7a2e\u65cf\u3067\u3042\u3063\u305f\u305d\u3046\u3060\u3002\n\u3053\u306e\u66f8\u751f\u3068\u3044\u3046\u306e\u306f\u6642\u3005\u6211\u3005\u3092\u6355\u3048\u3066\u716e\u3066\u98df\u3046\u3068\u3044\u3046\u8a71\u3067\u3042\u308b\u3002\n\u543e\u8f29\u306f\u732b\u3067\u3042\u308b\u3002\u732b\u306e\u540d\u524d\u306f\u4f55\u3067\u3082\u3044\u3044\u3002\n\u732b\u306f\u3069\u3053\u3067\u3082\u5bdd\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u732b\u306f\u81ea\u7531\u306a\u751f\u304d\u7269\u3060\u3002\n\u4eba\u9593\u306f\u732b\u3092\u898b\u3066\u7b11\u3046\u3002\u732b\u306f\u4eba\u9593\u3092\u898b\u3066\u8003\u3048\u308b\u3002\n\u543e\u8f29\u306f\u8003\u3048\u308b\u732b\u3067\u3042\u308b\u3002\u8003\u3048\u308b\u3053\u3068\u306f\u751f\u304d\u308b\u3053\u3068\u3060\u3002\n\"\"\"<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f55\u3092\u76ee\u7684\u306b\u3057\u3066\u3044\u308b\u304b<\/h3>\n\n\n\n<p>\u751f\u6210\u30e2\u30c7\u30eb\u306e\u4e2d\u3067\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u5b9f\u88c5\u3067\u3042\u308b\u30de\u30eb\u30b3\u30d5\u9023\u9396\u3092\u901a\u3058\u3066\u3001\u300c\u78ba\u7387\u5206\u5e03\u304b\u3089\u306e\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u306b\u3088\u3063\u3066\u30c6\u30ad\u30b9\u30c8\u3092\u751f\u6210\u3059\u308b\u300d\u3068\u3044\u3046\u751f\u6210\u30e2\u30c7\u30eb\u306e\u672c\u8cea\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u76ee\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u4ed5\u7d44\u307f\u306fChatGPT\u3084Claude\u306e\u3088\u3046\u306a\u6700\u65b0\u306eLLM\u306b\u3082\u5171\u901a\u3059\u308b\u8003\u3048\u65b9\u3067\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u30de\u30eb\u30b3\u30d5\u9023\u9396\u3068\u306f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u30de\u30eb\u30b3\u30d5\u9023\u9396\u306e\u6982\u8981<\/h3>\n\n\n\n<p>\u30de\u30eb\u30b3\u30d5\u9023\u9396\u3068\u306f\u3001<strong>\u6b21\u306e\u72b6\u614b\u304c\u76f4\u524d\u306e\u72b6\u614b\u3060\u3051\u306b\u4f9d\u5b58\u3059\u308b<\/strong>\u78ba\u7387\u904e\u7a0b\u306e\u30e2\u30c7\u30eb\u3067\u3059\u3002\u3053\u306e\u6027\u8cea\u3092\u300c\u30de\u30eb\u30b3\u30d5\u6027\u300d\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c6\u30ad\u30b9\u30c8\u751f\u6210\u306b\u5f53\u3066\u306f\u3081\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>P(\u6b21\u306e\u6587\u5b57 | \u3053\u308c\u307e\u3067\u306e\u5168\u6587\u5b57) \u2248 P(\u6b21\u306e\u6587\u5b57 | \u76f4\u524d\u306eN\u6587\u5b57)<\/code><\/pre>\n\n\n\n<p>\u3059\u3079\u3066\u306e\u904e\u53bb\u306e\u6587\u8108\u3092\u8003\u616e\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u76f4\u524d\u306eN\u6587\u5b57\u3060\u3051\u3092\u898b\u3066\u6b21\u306e\u6587\u5b57\u3092\u4e88\u6e2c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30de\u30eb\u30b3\u30d5\u9023\u9396\u306e\u4ed5\u7d44\u307f<\/h3>\n\n\n\n<p>\u30de\u30eb\u30b3\u30d5\u9023\u9396\u306b\u3088\u308b\u30c6\u30ad\u30b9\u30c8\u751f\u6210\u306f\u3001\u5b66\u7fd2\u3068\u751f\u6210\u306e2\u3064\u306e\u30d5\u30a7\u30fc\u30ba\u3067\u69cb\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u2460 \u5b66\u7fd2\u30d5\u30a7\u30fc\u30ba\uff08\u9077\u79fb\u78ba\u7387\u884c\u5217\u306e\u69cb\u7bc9\uff09<\/strong><\/p>\n\n\n\n<p>\u30b3\u30fc\u30d1\u30b9\u3092\u6587\u5b57\u5358\u4f4d\u3067\u8aad\u307f\u8fbc\u307f\u3001\u300c\u3042\u308b\u6587\u5b57\u306e\u6b21\u306b\u3069\u306e\u6587\u5b57\u304c\u6765\u308b\u304b\u300d\u3092\u30ab\u30a6\u30f3\u30c8\u3057\u3066\u78ba\u7387\u306b\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u30b3\u30fc\u30d1\u30b9: \u543e\u8f29\u306f\u732b\u3067\u3042\u308b\u3002\u543e\u8f29\u306f\u8003\u3048\u308b\u3002\n\n\u300c\u543e\u300d\u306e\u6b21 \u2192 \u300c\u8f29\u300d\u304c2\u56de \u2192 \u78ba\u7387 1.00\n\u300c\u8f29\u300d\u306e\u6b21 \u2192 \u300c\u306f\u300d\u304c2\u56de \u2192 \u78ba\u7387 1.00\n\u300c\u306f\u300d\u306e\u6b21 \u2192 \u300c\u732b\u300d\u304c1\u56de\u3001\u300c\u8003\u300d\u304c1\u56de \u2192 \u5404 0.50<\/code><\/pre>\n\n\n\n<p><strong>\u2461 \u751f\u6210\u30d5\u30a7\u30fc\u30ba\uff08\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\uff09<\/strong><\/p>\n\n\n\n<p>\u78ba\u7387\u5206\u5e03\u306b\u5f93\u3063\u3066\u30e9\u30f3\u30c0\u30e0\u306b\u6b21\u306e\u6587\u5b57\u3092\u9078\u3073\u3001\u3053\u308c\u3092\u7e70\u308a\u8fd4\u3059\u3053\u3068\u3067\u6587\u7ae0\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u300c\u543e\u300d\u2192\u300c\u8f29\u300d\u2192\u300c\u306f\u300d\u2192 \u30b5\u30a4\u30b3\u30ed \u2192\u300c\u732b\u300dor\u300c\u8003\u300d\u2192 ...<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u300c\u78ba\u7387\u5206\u5e03\u304b\u3089\u306e\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u300d\u304c\u751f\u6210\u30e2\u30c7\u30eb\u306e\u672c\u8cea\u3067\u3059\u3002LLM\u3082\u540c\u3058\u4ed5\u7d44\u307f\u3067\u6587\u7ae0\u3092\u751f\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9f\u9a13<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b9f\u9a13\u30c7\u30fc\u30bf<\/h3>\n\n\n\n<p>\u590f\u76ee\u6f31\u77f3\u300c\u543e\u8f29\u306f\u732b\u3067\u3042\u308b\u300d\u306e\u5192\u982d10\u6587\uff08253\u6587\u5b57\uff09\u3092\u30b3\u30fc\u30d1\u30b9\u3068\u3057\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c8\u30fc\u30af\u30f3\u5316<\/h3>\n\n\n\n<p>\u65e5\u672c\u8a9e\u306f\u30b9\u30da\u30fc\u30b9\u3067\u5358\u8a9e\u304c\u533a\u5207\u3089\u308c\u306a\u3044\u305f\u3081\u3001<strong>\u6587\u5b57\u5358\u4f4d<\/strong>\u3067\u30c8\u30fc\u30af\u30f3\u5316\u3057\u307e\u3059\u30021\u6587\u5b57\u30921\u30c8\u30fc\u30af\u30f3\u3068\u3057\u3066\u6271\u3044\u3001\u30b3\u30fc\u30d1\u30b9\u5168\u4f53\u3092\u6587\u5b57\u306e\u5217\u306b\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>def tokenize(text):\n    return &#091;ch for ch in text if ch.strip()]\n\n# \u4f8b\ntokens = &#091;'\u543e', '\u8f29', '\u306f', '\u732b', '\u3067', '\u3042', '\u308b', '\u3002', ...]<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u78ba\u7387\u5909\u63db<\/h3>\n\n\n\n<p>\u5404\u6587\u5b57\u306e\u5f8c\u306b\u3069\u306e\u6587\u5b57\u304c\u6765\u308b\u304b\u3092\u30ab\u30a6\u30f3\u30c8\u3057\u3001\u78ba\u7387\u306b\u5909\u63db\u3057\u3066\u9077\u79fb\u78ba\u7387\u884c\u5217\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># 1\u968e\u30de\u30eb\u30b3\u30d5\u9023\u9396\uff08\u76f4\u524d1\u6587\u5b57\u3092\u898b\u308b\uff09\n('\u543e',) \u2192 {'\u8f29': 1.00}\n('\u306f',) \u2192 {'\u732b': 0.50, '\u8003': 0.25, '\u3053': 0.25}\n\n# 2\u968e\u30de\u30eb\u30b3\u30d5\u9023\u9396\uff08\u76f4\u524d2\u6587\u5b57\u3092\u898b\u308b\uff09\n('\u543e', '\u8f29') \u2192 {'\u306f': 1.00}<\/code><\/pre>\n\n\n\n<p>n\u3092\u5927\u304d\u304f\u3059\u308b\u307b\u3069\u6587\u8108\u3092\u9577\u304f\u4fdd\u6301\u3067\u304d\u307e\u3059\u304c\u3001\u30c7\u30fc\u30bf\u304c\u5c11\u306a\u3044\u5834\u5408\u306f\u9077\u79fb\u30d1\u30bf\u30fc\u30f3\u304c\u5c11\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c6\u30ad\u30b9\u30c8\u751f\u6210<\/h3>\n\n\n\n<p>\u69cb\u7bc9\u3057\u305f\u9077\u79fb\u78ba\u7387\u884c\u5217\u3092\u4f7f\u3044\u3001\u78ba\u7387\u306b\u5f93\u3063\u3066\u6b21\u306e\u6587\u5b57\u3092\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u3057\u7d9a\u3051\u308b\u3053\u3068\u3067\u6587\u7ae0\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>1\u968e\u30de\u30eb\u30b3\u30d5\u9023\u9396\u306e\u751f\u6210\u4f8b:\n  &#091;1] \u543e\u8f29\u306f\u3053\u3053\u3067\u59cb\u3081\u3066\u4eba\u9593\u3068\u3044\u3046\u3082\u306e\u3092\u898b\u305f\u3002\n  &#091;2] \u543e\u8f29\u306f\u8003\u3048\u308b\u732b\u3067\u3042\u308b\u3002\n\n2\u968e\u30de\u30eb\u30b3\u30d5\u9023\u9396\u306e\u751f\u6210\u4f8b:\n  &#091;1] \u543e\u8f29\u306f\u3053\u3053\u3067\u59cb\u3081\u3066\u4eba\u9593\u3068\u3044\u3046\u3082\u306e\u3092\u898b\u305f\u3002\n  &#091;2] \u543e\u8f29\u306f\u732b\u3092\u898b\u3066\u7b11\u3046\u3002<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u6e29\u5ea6\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u306f<\/h3>\n\n\n\n<p>\u6e29\u5ea6\u30d1\u30e9\u30e1\u30fc\u30bf\uff08Temperature\uff09\u306f\u3001\u78ba\u7387\u5206\u5e03\u306e\u300c\u306a\u3060\u3089\u304b\u5ea6\u300d\u3092\u8abf\u6574\u3059\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u3059\u3002LLM\u306eAPI\u3067\u3082\u540c\u3058\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>temperature &lt; 1.0<\/code> : \u9ad8\u78ba\u7387\u306a\u6587\u5b57\u304c\u3055\u3089\u306b\u9078\u3070\u308c\u3084\u3059\u304f\u306a\u308b\uff08\u4fdd\u5b88\u7684\uff09<\/li>\n\n\n\n<li><code>temperature = 1.0<\/code> : \u5143\u306e\u78ba\u7387\u5206\u5e03\u306e\u307e\u307e<\/li>\n\n\n\n<li><code>temperature &gt; 1.0<\/code> : \u78ba\u7387\u5dee\u304c\u306a\u3060\u3089\u304b\u306b\u306a\u308b\uff08\u591a\u69d8\u30fb\u30e9\u30f3\u30c0\u30e0\uff09<\/li>\n<\/ul>\n\n\n\n<p>\u8a08\u7b97\u5f0f\u306f\u5404\u78ba\u7387\u3092 <code>1\/T<\/code> \u4e57\u3057\u3066\u518d\u6b63\u898f\u5316\u3057\u307e\u3059\u3002T\u304c\u5c0f\u3055\u3044\u307b\u3069\u9ad8\u78ba\u7387\u306a\u6587\u5b57\u306b\u96c6\u4e2d\u3057\u3001T\u304c\u5927\u304d\u3044\u307b\u3069\u5168\u6587\u5b57\u304c\u5747\u7b49\u306b\u9078\u3070\u308c\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6e29\u5ea6\u30d1\u30e9\u30e1\u30fc\u30bf\u3054\u3068\u306e\u7d50\u679c<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>temperature<\/th><th>\u50be\u5411<\/th><\/tr><\/thead><tbody><tr><td>0.3<\/td><td>\u30b3\u30fc\u30d1\u30b9\u306b\u5fe0\u5b9f\u3002\u540c\u3058\u8868\u73fe\u304c\u7e70\u308a\u8fd4\u3055\u308c\u3084\u3059\u3044<\/td><\/tr><tr><td>1.0<\/td><td>\u5b66\u7fd2\u3057\u305f\u78ba\u7387\u5206\u5e03\u305d\u306e\u307e\u307e\u306e\u751f\u6210<\/td><\/tr><tr><td>2.0<\/td><td>\u591a\u69d8\u306a\u6587\u7ae0\u304c\u51fa\u308b\u304c\u3001\u6587\u6cd5\u7684\u306b\u4e0d\u81ea\u7136\u306b\u306a\u308a\u3084\u3059\u3044<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u4ee5\u4e0b\u306f\u5b9f\u969b\u306b\u751f\u6210\u3057\u305f\u7d50\u679c\u3067\u3059\uff08\u958b\u59cb\u30c8\u30fc\u30af\u30f3\uff1a\u300c\u543e\u8f29\u300d\u30012\u968e\u30de\u30eb\u30b3\u30d5\u9023\u9396\uff09\u3002<\/p>\n\n\n\n<p><strong>temperature = 0.3\uff08\u4fdd\u5b88\u7684\uff09<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;1] \u543e\u8f29\u306f\u732b\u3067\u3042\u308b\u3002\u732b\u306f\u81ea\u7531\u306a\u751f\u304d\u7269\u3060\u3002\n&#091;2] \u543e\u8f29\u306f\u732b\u3067\u3042\u308b\u3002\u543e\u8f29\u306f\u732b\u3067\u3042\u308b\u3002\n&#091;3] \u543e\u8f29\u306f\u732b\u3067\u3042\u308b\u3002\u732b\u306f\u4eba\u9593\u306f\u732b\u3067\u3042\u308b\u3002<\/code><\/pre>\n\n\n\n<p>\u6700\u3082\u78ba\u7387\u306e\u9ad8\u3044\u9077\u79fb\u3092\u7e70\u308a\u8fd4\u3059\u305f\u3081\u3001\u540c\u3058\u30d5\u30ec\u30fc\u30ba\u304c\u53cd\u5fa9\u3055\u308c\u3084\u3059\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>temperature = 1.0\uff08\u6a19\u6e96\uff09<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;1] \u543e\u8f29\u306f\u732b\u3067\u3042\u308b\u3002\u8003\u3048\u308b\u3002\n&#091;2] \u543e\u8f29\u306f\u3053\u3053\u3067\u59cb\u3081\u3066\u4eba\u9593\u3068\u3044\u3046\u4eba\u9593\u3092\u898b\u305f\u3002\n&#091;3] \u543e\u8f29\u306f\u3053\u3053\u3067\u59cb\u3081\u3066\u4eba\u9593\u306f\u732b\u3067\u3042\u308b\u3002<\/code><\/pre>\n\n\n\n<p>\u5b66\u7fd2\u3057\u305f\u78ba\u7387\u5206\u5e03\u305d\u306e\u307e\u307e\u3067\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u30b3\u30fc\u30d1\u30b9\u306b\u3042\u308b\u8a9e\u5f59\u3092\u4f7f\u3044\u3064\u3064\u3001\u3042\u308b\u7a0b\u5ea6\u306e\u591a\u69d8\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>temperature = 2.0\uff08\u5275\u9020\u7684\uff09<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;1] \u543e\u8f29\u306f\u732b\u3067\u3042\u3063\u305f\u305d\u3046\u3060\u3002\n&#091;2] \u543e\u8f29\u306f\u3053\u3053\u3067\u59cb\u3081\u3066\u4eba\u9593\u3068\u3044\u3046\u4eba\u9593\u3092\u898b\u305f\u3002\n&#091;3] \u543e\u8f29\u306f\u3053\u3053\u3067\u59cb\u3081\u3066\u4eba\u9593\u306f\u732b\u3067\u3042\u308b\u3002<\/code><\/pre>\n\n\n\n<p>\u78ba\u7387\u306e\u4f4e\u3044\u9077\u79fb\u3082\u9078\u3070\u308c\u3084\u3059\u304f\u306a\u308b\u305f\u3081\u3001\u30b3\u30fc\u30d1\u30b9\u306b\u306f\u5c11\u306a\u3044\u7d44\u307f\u5408\u308f\u305b\u304c\u51fa\u73fe\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u4eca\u56de\u306f\u30b3\u30fc\u30d1\u30b9\u304c\u5c0f\u3055\u3044\u305f\u3081\u3001temperature=1.0\u3068\u306e\u5dee\u306f\u9650\u5b9a\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u30de\u30eb\u30b3\u30d5\u9023\u9396\u306b\u3088\u308b\u30c6\u30ad\u30b9\u30c8\u751f\u6210\u3092\u901a\u3058\u3066\u3001\u751f\u6210\u30e2\u30c7\u30eb\u306e\u672c\u8cea\u3067\u3042\u308b\u300c\u78ba\u7387\u5206\u5e03\u306e\u5b66\u7fd2\u3068\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u300d\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u9805\u76ee<\/th><th>\u5185\u5bb9<\/th><\/tr><\/thead><tbody><tr><td>\u5b66\u7fd2<\/td><td>\u30b3\u30fc\u30d1\u30b9\u304b\u3089\u9077\u79fb\u78ba\u7387\u884c\u5217\u3092\u69cb\u7bc9\uff08\u30ab\u30a6\u30f3\u30c8\u306e\u307f\uff09<\/td><\/tr><tr><td>\u751f\u6210<\/td><td>\u78ba\u7387\u5206\u5e03\u306b\u5f93\u3063\u3066\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u3092\u7e70\u308a\u8fd4\u3059<\/td><\/tr><tr><td>\u6e29\u5ea6\u30d1\u30e9\u30e1\u30fc\u30bf<\/td><td>\u5206\u5e03\u306e\u306a\u3060\u3089\u304b\u5ea6\u3092\u8abf\u6574\uff08LLM\u3068\u540c\u3058\u6982\u5ff5\uff09<\/td><\/tr><tr><td>\u9650\u754c<\/td><td>\u76f4\u524dN\u6587\u5b57\u3057\u304b\u53c2\u7167\u3067\u304d\u306a\u3044\u30fb\u30b3\u30fc\u30d1\u30b9\u5916\u306e\u8868\u73fe\u306f\u751f\u6210\u4e0d\u53ef<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u30de\u30eb\u30b3\u30d5\u9023\u9396\u306f\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u3092\u4f7f\u308f\u306a\u3044\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u751f\u6210\u30e2\u30c7\u30eb\u3067\u3059\u304c\u3001\u305d\u306e\u6838\u5fc3\u306b\u3042\u308b\u300c\u78ba\u7387\u5206\u5e03\u304b\u3089\u306e\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u300d\u306fChatGPT\u3084Claude\u3068\u5909\u308f\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u7d42\u308f\u308a\u306b<\/h2>\n\n\n\n<p>\u30de\u30eb\u30b3\u30d5\u9023\u9396\u306b\u306f\u300c\u76f4\u524dN\u6587\u5b57\u3057\u304b\u6587\u8108\u3092\u4fdd\u6301\u3067\u304d\u306a\u3044\u300d\u3068\u3044\u3046\u6839\u672c\u7684\u306a\u9650\u754c\u304c\u3042\u308a\u307e\u3059\u3002\u6b21\u306e\u8a18\u4e8b\u3067\u306f\u3001\u3053\u306e\u554f\u984c\u3092\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3067\u89e3\u6c7a\u3057\u305fRNN\uff08\u30ea\u30ab\u30ec\u30f3\u30c8\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff09\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>RNN\u306f\u96a0\u308c\u72b6\u614b\u3068\u3044\u3046\u300c\u8a18\u61b6\u300d\u3092\u6301\u3061\u3001\u904e\u53bb\u306e\u5168\u6587\u8108\u3092\u5f15\u304d\u7d99\u304e\u306a\u304c\u3089\u30c6\u30ad\u30b9\u30c8\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u30de\u30eb\u30b3\u30d5\u9023\u9396\u3068\u306e\u9055\u3044\u3092\u5b9f\u88c5\u30ec\u30d9\u30eb\u3067\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u751f\u6210\u30e2\u30c7\u30eb\u3068\u306f \u751f\u6210\u30e2\u30c7\u30eb\u3068\u306f\u3001\u30c7\u30fc\u30bf\u306e\u5206\u5e03\u3092\u5b66\u7fd2\u3057\u3001\u305d\u3053\u304b\u3089\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u3092\u751f\u6210\u3059\u308b\u30e2\u30c7\u30eb\u3067\u3059\u3002 \u901a\u5e38\u306e\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb\uff08\u8b58\u5225\u30e2\u30c7\u30eb\uff09\u304c\u300c\u3053\u306e\u753b\u50cf\u306f\u732b\u304b\u72ac\u304b\u300d\u3092\u5224\u5b9a\u3059\u308b\u306e\u306b\u5bfe\u3057\u3001\u751f\u6210\u30e2\u30c7\u30eb\u306f\u300c\u732b\u306e\u753b\u50cf\u300d\u305d\u306e\u3082\u306e\u3092 [&hellip;]<\/p>\n","protected":false},"author":44,"featured_media":2525,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1249],"tags":[331,1398,305,651,1284],"class_list":["post-9639","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-python","tag-1398","tag-305","tag-ai","tag-1284"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/9639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/44"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=9639"}],"version-history":[{"count":1,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/9639\/revisions"}],"predecessor-version":[{"id":9640,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/9639\/revisions\/9640"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/2525"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=9639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=9639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=9639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}