{"id":6688,"date":"2026-01-06T10:04:43","date_gmt":"2026-01-06T01:04:43","guid":{"rendered":"https:\/\/techfun.cc\/?p=6688"},"modified":"2026-01-06T10:04:43","modified_gmt":"2026-01-06T01:04:43","slug":"text-generation-logic-and-parameters","status":"publish","type":"post","link":"https:\/\/techfun.cc\/generative-ai\/text-generation-logic-and-parameters.html","title":{"rendered":"\u751f\u6210AI\u306e\u30c6\u30ad\u30b9\u30c8\u751f\u6210\u306e\u3057\u304f\u307f\u3068\u30d1\u30e9\u30e1\u30fc\u30bf"},"content":{"rendered":"<h3 id=\"section-1\" class=\"Heading Title Title--m\">\u306f\u3058\u3081\u306b<\/h3>\n<p>\u751f\u6210AI\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u3001<span class=\"Post-inline\">temperature<\/span>\u3001<span class=\"Post-inline\">top_p<\/span>\u3001<span class=\"Post-inline\">top_k<\/span> \u3068\u3044\u3063\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u76ee\u306b\u3059\u308b\u6a5f\u4f1a\u306f\u591a\u3044\u3082\u306e\u306e\u3001\u300c\u96f0\u56f2\u6c17\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u300d\u300c\u6b63\u76f4\u3088\u304f\u5206\u304b\u3063\u3066\u3044\u306a\u3044\u300d\u3068\u3044\u3046\u30b1\u30fc\u30b9\u3082\u5c11\u306a\u304f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u8fd1\u5e74\u306e\u751f\u6210AI\uff08\u7279\u306b\u63a8\u8ad6\u578b\uff09\u3067\u306f\u3001<\/p>\n<ul class=\"Base-list\">\n<li class=\"Base-list__child\">temperature\u3092\u4e0b\u3052\u308b\u306e\u306f\u975e\u63a8\u5968 \/ \u305d\u3082\u305d\u3082\u8a2d\u5b9a\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u304d\u3066\u3044\u308b<\/li>\n<li class=\"Base-list__child\">top_p\u3001top_k\u3082\u8a2d\u5b9a\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u304d\u3066\u3044\u308b<\/li>\n<\/ul>\n<p>\u3068\u3044\u3063\u305f\u8a2d\u8a08\u306b\u306a\u3063\u3066\u304d\u3066\u304a\u308a\u3001<strong>\u4eba\u9593\u304c\u7d30\u304b\u304f\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3059\u308b\u5834\u9762\u306f\u78ba\u5b9f\u306b\u6e1b\u308a\u3064\u3064\u3042\u308a\u307e\u3059\u3002<\/strong><br \/>\n\u4e00\u65b9\u3067\u3001\u3053\u308c\u3089\u306e\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3067\u3001<\/p>\n<ul class=\"Base-list\">\n<li class=\"Base-list__child\">\u51fa\u529b\u304c\u306a\u305c\u63fa\u3089\u3050\u306e\u304b<\/li>\n<li class=\"Base-list__child\">\u306a\u305c\u6c7a\u5b9a\u7684\u306b\u3057\u3059\u304e\u308b\u3068\u4e0d\u5b89\u5b9a\u306b\u306a\u308b\u306e\u304b<\/li>\n<\/ul>\n<p>\u3068\u3044\u3063\u305f\u6319\u52d5\u306e\u7406\u89e3\u5ea6\u306f\u5927\u304d\u304f\u5909\u308f\u308a\u307e\u3059\u3002<br \/>\n\u672c\u8a18\u4e8b\u3067\u306f\u3001\u751f\u6210AI\u306e\u4ed5\u7d44\u307f\u306b\u89e6\u308c\u306a\u304c\u3089\u3001\u6570\u5f0f\u306f\u4f7f\u308f\u305a<strong>Python\uff08numpy\uff09\u306b\u3088\u308b\u518d\u73fe\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u3066<\/strong>\u751f\u6210AI\u304c\u3069\u306e\u3088\u3046\u306b\u30c6\u30ad\u30b9\u30c8\u3092\u751f\u6210\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u203b \u5b9f\u88c5\u306f\u3001pytorch\u3092\u4f7f\u3063\u305f\u307b\u3046\u304c\u5727\u5012\u7684\u306b\u697d\u306b\u5b9f\u88c5\u3067\u304d\u307e\u3059\u304c\u3001\u308f\u304b\u308a\u3084\u3059\u3055\u3092\u91cd\u8996\u3057numpy\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br \/>\n\u203b \u307e\u305f\u3001\u5404\u793e\u306b\u3088\u3063\u3066\u5b9f\u88c5\u306e\u4ed5\u65b9\u306b\u5dee\u7570\u304c\u3042\u308b\u305f\u3081\u3001\u53c2\u8003\u7a0b\u5ea6\u3068\u304a\u8003\u3048\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3 id=\"section-2\" class=\"Heading Title Title--m\">\u751f\u6210AI\u306f\u300c\u6b21\u306e\u30c8\u30fc\u30af\u30f3\u3092\u78ba\u7387\u3067\u9078\u3093\u3067\u3044\u308b\u300d<\/h3>\n<p>\u751f\u6210AI\u306f\u6587\u7ae0\u3092\u4e00\u6c17\u306b\u751f\u6210\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001<strong>1\u30c8\u30fc\u30af\u30f3\u305a\u3064\u300c\u6b21\u306b\u4f55\u3092\u51fa\u3059\u304b\u300d\u3092\u9078\u629e<\/strong>\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u203b \u30c8\u30fc\u30af\u30f3\u3068\u306f\u3001\u751f\u6210AI\u304c\u6587\u7ae0\u3092\u7406\u89e3\u30fb\u751f\u6210\u3059\u308b\u969b\u306b\u4f7f\u3046\u60c5\u5831\u306e\u6700\u5c0f\u5358\u4f4d\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u3067\u306f\u3069\u306e\u3088\u3046\u306b\u9078\u3093\u3067\u3044\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f\u307e\u305a\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u4f8b\u3092\u8003\u3048\u3066\u307f\u307e\u3059\u3002<\/p>\n<h4 id=\"section-2-1\" class=\"Heading Title Title--s\">1. \u5404\u30c8\u30fc\u30af\u30f3\u306e\u30b9\u30b3\u30a2\u3092\u7b97\u51fa\u3059\u308b<\/h4>\n<p>\u305f\u3068\u3048\u3070\u3001\u304a\u6b63\u6708\u3089\u3057\u304f\u6b21\u306e\u6587\u3092\u8003\u3048\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"Copy\"><code>\r\n\u300c\u304a\u305b\u3061\u306e\u5177\u6750\u3068\u3044\u3048\u3070\u300d\r\n<\/code><\/pre>\n<p>\u3053\u306e\u7d9a\u304d\u3068\u3057\u3066\u3001\u751f\u6210AI\u306e\u30e2\u30c7\u30eb\u5185\u90e8\u3067\u306f\u6b21\u306e\u3088\u3046\u306a\u5019\u88dc\uff08<span class=\"Post-inline\">tokens<\/span>\uff09\u3068\u30b9\u30b3\u30a2\uff08<span class=\"Post-inline\">logits<\/span>\u3068\u3044\u3044\u307e\u3059\uff09\u304c\u4e26\u3093\u3067\u3044\u308b\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u3002<br \/>\n\uff08\u8aac\u660e\u7528\u306b\u6975\u7aef\u306b\u7c21\u7565\u5316\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u5177\u6750\u306e\u30c1\u30e7\u30a4\u30b9\u306fAI\u306b\u3088\u308b\u3082\u306e\u3067\u3059\u3002\uff09<\/p>\n<div class=\"Pre-title\">simple_softmax_sample.py<\/div>\n<pre class=\"Copy\"><code>\r\nimport numpy as np\r\n\r\n# \u30c8\u30fc\u30af\u30f3\u306e\u5019\u88dc\uff08\u7c21\u7565\u7248\u3002\u5b9f\u969b\u306b\u306f\u6570\u4e07\uff5e\u6570\u5341\u4e07\u30c8\u30fc\u30af\u30f3\u306e\u5019\u88dc\u304c\u4e26\u3076\uff09\r\ntokens = [&quot;\u9ed2\u8c46&quot;, &quot;\u6570\u306e\u5b50&quot;, &quot;\u4f0a\u9054\u5dfb&quot;, &quot;\u6606\u5e03\u5dfb\u304d&quot;, &quot;\u30cf\u30f3\u30d0\u30fc\u30b0&quot;]\r\nlogits = np.array([2.0, 1.3, 1.0, 0.4, -1.5])\r\n<\/code><\/pre>\n<ul class=\"Base-list\">\n<li class=\"Base-list__child\">\u9ed2\u8c46\uff1a\u5b9a\u756a<\/li>\n<li class=\"Base-list__child\">\u6570\u306e\u5b50\uff1a\u304b\u306a\u308a\u3042\u308a<\/li>\n<li class=\"Base-list__child\">\u4f0a\u9054\u5dfb\uff1a\u5341\u5206\u3042\u308a<\/li>\n<li class=\"Base-list__child\">\u6606\u5e03\u5dfb\u304d\uff1a\u5fae\u5999\u30e9\u30a4\u30f3<\/li>\n<li class=\"Base-list__child\">\u30cf\u30f3\u30d0\u30fc\u30b0\uff1a\u307b\u307c\u6765\u306a\u3044<\/li>\n<\/ul>\n<p>\u5b9f\u969b\u306e\u30e2\u30c7\u30eb\u3067\u306f\u3001\u3053\u306e<span class=\"Post-inline\">tokens<\/span>\uff08\u30c8\u30fc\u30af\u30f3\u5019\u88dc\uff09\u304c<strong>\u6570\u4e07\uff5e\u6570\u5341\u4e07\u500b\u307b\u3069\u5b58\u5728<\/strong>\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u30c8\u30fc\u30af\u30f3\u306f\u5b9f\u969b\u306b\u306f\u3082\u3063\u3068\u7d30\u304b\u3044\u5358\u4f4d\u3067\u3059\u304c\u3001\u308f\u304b\u308a\u3084\u3059\u3055\u3092\u91cd\u8996\u30571\u5358\u8a9e\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h4 id=\"section-2-2\" class=\"Heading Title Title--s\">2. softmax\u3067\u78ba\u7387\u306b\u5909\u63db\u3059\u308b<\/h4>\n<p><span class=\"Post-inline\">logits<\/span>\u306f\u305d\u306e\u307e\u307e\u3067\u306f\u4f7f\u308f\u308c\u305a\u3001<strong>softmax<\/strong>\u3068\u3044\u3046\u64cd\u4f5c\u306b\u3088\u3063\u3066\u78ba\u7387\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002<br \/>\nsoftmax\u3068\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u95a2\u6570\u3067\u8868\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"Pre-title\">simple_softmax_sample.py\uff08\u7d9a\u304d\uff09<\/div>\n<pre class=\"Copy\"><code>\r\ndef softmax(x):\r\n    exp_x = np.exp(x - np.max(x))\r\n    return exp_x \/ exp_x.sum()\r\n\r\nprobs = softmax(logits) # \u78ba\u7387\u5206\u5e03\u3092\u751f\u6210\r\n<\/code><\/pre>\n<p>\u51fa\u529b\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u3001<span class=\"Post-inline\">tokens<\/span>\u306e\u5404\u8981\u7d20\u306e\u751f\u6210\u78ba\u7387\u304c\u4e26\u3073\u307e\u3059\u3002\u3064\u307e\u308asoftmax\u306f\u3001\u5408\u8a08\u30921\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u6570\u5b57\u2192\u78ba\u7387\u306b\u5909\u63db\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"Copy\"><code>\r\nprobs=array([0.47697211, 0.23685734, 0.17546823, 0.09629901, 0.01440331])\r\n<\/code><\/pre>\n<p>\u3053\u3053\u3067\u5c11\u3057softmax\u306b\u3064\u3044\u3066\u88dc\u8db3\u3057\u307e\u3059\u3002\u306a\u306b\u304c<strong>soft<\/strong>\u304b\u3068\u3044\u3044\u307e\u3059\u3068\u3001<\/p>\n<ul class=\"Base-list\">\n<li class=\"Base-list__child\">\u4e00\u756a\u5927\u304d\u3044\u5024\u3060\u3051\u3092\u9078\u3076\u306e\u304c hardmax\uff08argmax\uff09<\/li>\n<li class=\"Base-list__child\">hardmax\u3068\u6bd4\u8f03\u3057\u3001\u5927\u304d\u3044\u5024\u3092\u300c\u306a\u3060\u3089\u304b\u306b\u5f37\u8abf\u300d\u3059\u308b\u306e\u304c softmax<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u610f\u5473\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<strong>hard<\/strong>\u306b\u5bfe\u3057\u3066<strong>soft<\/strong>\u3068\u3044\u3046\u540d\u524d\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u306f\u3001\u3053\u306e\u6319\u52d5\u306e\u9055\u3044\u304b\u3089\u3067\u3059\u3002<br \/>\nsoftmax \u306b\u3088\u3063\u3066\u3001\u300c\u4e00\u756a\u5927\u304d\u3044\u5024\u4ee5\u5916\u306e\u5019\u88dc\u3082\u3001\u78ba\u7387\u306f\u30bc\u30ed\u3067\u306f\u306a\u3044\u300d\u3068\u3044\u3046\u72b6\u614b\u304c\u4f5c\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u203b softmax \u306e\u5b9f\u88c5\u3067\u306f\u3001\u6570\u5024\u5b89\u5b9a\u6027\u306e\u305f\u3081\u306b <span class=\"Post-inline\">x &#8211; max(x)<\/span> \u3092\u5f15\u3044\u3066\u304b\u3089 <span class=\"Post-inline\">exp<\/span> \u3092\u53d6\u308b\u624b\u6cd5\u304c\u4e00\u822c\u7684\u3067\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001\u3053\u306e\u6570\u5024\u5b89\u5b9a\u5316\u3092\u8003\u616e\u3057\u305f\u5b9f\u88c5\u3092\u7528\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<h4 id=\"section-2-3\" class=\"Heading Title Title--s\">3. \u78ba\u7387\u306b\u57fa\u3065\u3044\u3066\u30c8\u30fc\u30af\u30f3\u3092\u9078\u629e\u3059\u308b<\/h4>\n<p>\u78ba\u7387\u304c\u5f97\u3089\u308c\u305f\u5f8c\u3001\u751f\u6210\u3067\u306f<strong>\u78ba\u7387\u5206\u5e03\u306b\u57fa\u3065\u3044\u3066\u30e9\u30f3\u30c0\u30e0\u306b1\u3064\u9078\u629e<\/strong>\u3055\u308c\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u3053\u306e\u3088\u3046\u306a\u64cd\u4f5c\u3067\u3059\u3002<\/p>\n<div class=\"Pre-title\">simple_softmax_sample.py\uff08\u7d9a\u304d\uff09<\/div>\n<pre class=\"Copy\"><code>\r\nchoice = np.random.choice(tokens, p=probs)\r\nprint(f&quot;{choice=}&quot;)\r\n<\/code><\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001<\/p>\n<ul class=\"Base-list\">\n<li class=\"Base-list__child\">\u9ed2\u8c46\u306f\u51fa\u3084\u3059\u3044<\/li>\n<li class=\"Base-list__child\">\u3057\u304b\u3057\u5fc5\u305a\u9ed2\u8c46\u306b\u306a\u308b\u308f\u3051\u3067\u306f\u306a\u3044<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u3001\u81ea\u7136\u306a\u63fa\u3089\u304e\u304c\u751f\u307e\u308c\u307e\u3059\u3002<\/p>\n<h3 id=\"section-3\" class=\"Heading Title Title--m\">\u30c6\u30ad\u30b9\u30c8\u751f\u6210\u306e\u3055\u308c\u65b9\u3092\u5de6\u53f3\u3059\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u305f\u3061<\/h3>\n<p>\u3053\u3053\u3067\u3001\u30c6\u30ad\u30b9\u30c8\u306e\u751f\u6210\u306b\u95a2\u308f\u308b3\u3064\u306e\u4ee3\u8868\u7684\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\n\u3053\u308c\u3089\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u3001\u751f\u6210AI\u306e\u51fa\u529b\u306e\u30af\u30bb\u304c\u5909\u5316\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h4 id=\"section-3-1\" class=\"Heading Title Title--s\">temperature<\/h4>\n<p><span class=\"Post-inline\">temperature<\/span> \u306f\u3001<\/p>\n<blockquote class=\"Post-blockquote\"><p>\n\u78ba\u7387\u5206\u5e03\u306e\u92ed\u3055\u3092\u8abf\u7bc0\u3059\u308b\n<\/p><\/blockquote>\n<p>\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u3059\u3002<br \/>\nsoftmax \u306e\u524d\u306b <span class=\"Post-inline\">logits<\/span> \u3092\u5272\u308b\u3053\u3068\u3067\u78ba\u7387\u5206\u5e03\u306e\u5f62\u3092\u5909\u3048\u308b\u4fc2\u6570\u3068\u3057\u3066\u4f5c\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"Pre-title\">softmax_with_temperature.py\uff08\u629c\u7c8b\uff09<\/div>\n<pre class=\"Copy\"><code>\r\ndef softmax_with_temperature(logits, temperature):\r\n    adjusted = logits \/ temperature\r\n    return softmax(adjusted)\r\n\r\nprobs = softmax_with_temperature(logits, 2.0)\r\nprint(f&quot;{probs=}&quot;)\r\n<\/code><\/pre>\n<pre class=\"Copy\"><code>\r\nprobs=array([0.34079427, 0.24015366, 0.20670217, 0.15312874, 0.05922116])\r\n<\/code><\/pre>\n<p>\u6e29\u5ea6\u306b\u3088\u308b\u78ba\u7387\u5206\u5e03\u306e\u9055\u3044\u306f\u3053\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/01\/softmax-temperature-difference.png\" alt=\"\u6e29\u5ea6\u306b\u3088\u308b\u78ba\u7387\u5206\u5e03\u306e\u9055\u3044\" class=\"content_img\" \/><\/p>\n<ul class=\"Base-list\">\n<li class=\"Base-list__child\">temperature \u304c\u4f4e\u3044\uff08\u9752\u3044\u30b0\u30e9\u30d5\uff09 \u2192 \u78ba\u7387\u304c\u5c16\u308b\uff08\u307b\u307c\u6c7a\u5b9a\u7684\uff09<\/li>\n<li class=\"Base-list__child\">temperature \u304c\u9ad8\u3044\uff08\u7dd1\u306e\u30b0\u30e9\u30d5\uff09 \u2192 \u78ba\u7387\u304c\u306a\u3060\u3089\u304b\uff08\u591a\u69d8\u6027\u304c\u5897\u3059\uff09<\/li>\n<\/ul>\n<h5 id=\"section-3-1-1\" class=\"Heading Title Title--xs\">temperature = 0.0 \u304c\u5371\u967a\u306a\u7406\u7531<\/h5>\n<p><span class=\"Post-inline\">temperature = 0.0<\/span> \u306f\u7406\u8ad6\u7684\u306b\u306f\u5272\u308a\u7b97\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u5b9f\u88c5\u4e0a\u306f argmax \u76f8\u5f53\u306e\u6319\u52d5\u306b\u306a\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<br \/>\n\u7b46\u8005\u304c\u793e\u5185\u30a2\u30d7\u30ea\u3067 <span class=\"Post-inline\">temperature = 0.0<\/span> \u3092\u6307\u5b9a\u3057\u3001Structured Output\uff08\u69cb\u9020\u5316\u51fa\u529b\uff09\u751f\u6210\u3092\u884c\u3063\u3066\u3044\u305f\u969b\u3001<\/p>\n<ol class=\"Base-list\">\n<li>\u540c\u3058\u6587\u7ae0\u304c\u751f\u6210\u3055\u308c\u7d9a\u3051\u3001\u30eb\u30fc\u30d7\u72b6\u614b\u306b\u306a\u308b<\/li>\n<li>\u30c8\u30fc\u30af\u30f3\u306e\u751f\u6210\u4e0a\u9650\u306b\u9054\u3059\u308b<\/li>\n<li>JSON \u304c\u9589\u3058\u304d\u3089\u305a\u3001\u30d1\u30fc\u30b9\u30a8\u30e9\u30fc\u3067\u5931\u6557\u3059\u308b<\/li>\n<\/ol>\n<p>\u3068\u3044\u3046\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<br \/>\n\u3053\u308c\u306f<span class=\"Post-inline\">temperature = 0.0<\/span>\uff08\u3064\u307e\u308a\u6c7a\u5b9a\u7684\uff09\u3067\u3042\u308b\u305f\u3081\u3001\u4f55\u5ea6\u30ea\u30c8\u30e9\u30a4\u3057\u3066\u3082\u540c\u3058\u5931\u6557\u30d1\u30bf\u30fc\u30f3\u3092\u7e70\u308a\u8fd4\u3059\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u6c7a\u5b9a\u7684\u3059\u304e\u308b\u751f\u6210\u306f\u3001\u5b89\u5168\u3068\u306f\u9650\u3089\u306a\u3044<\/strong><br \/>\n\u3053\u308c\u304c <span class=\"Post-inline\">temperature = 0.0<\/span> \u304c\u975e\u63a8\u5968\u3068\u3055\u308c\u308b\u7406\u7531\u306e\u4e00\u3064\u3067\u3059\u3002<br \/>\nGemini 3\u3067\u3082\u975e\u63a8\u5968\u3068\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote class=\"Post-blockquote\"><p>\n\u6ce8: Gemini 3 \u30e2\u30c7\u30eb\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001temperature \u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306e 1.0 \u306b\u7dad\u6301\u3059\u308b\u3053\u3068\u3092\u5f37\u304f\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002\u6e29\u5ea6\u3092\u5909\u66f4\u3059\u308b\uff081.0 \u672a\u6e80\u306b\u8a2d\u5b9a\u3059\u308b\uff09\u3068\u3001\u7279\u306b\u8907\u96d1\u306a\u6570\u5b66\u7684\u30bf\u30b9\u30af\u3084\u63a8\u8ad6\u30bf\u30b9\u30af\u3067\u3001\u30eb\u30fc\u30d7\u3084\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u4f4e\u4e0b\u306a\u3069\u306e\u4e88\u671f\u3057\u306a\u3044\u52d5\u4f5c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"Source\"><a href=\"https:\/\/ai.google.dev\/gemini-api\/docs\/prompting-strategies?hl=ja#model-parameters\" class=\"Ext\">\u30e2\u30c7\u30eb\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u30c6\u30b9\u30c8\u3059\u308b<\/a><\/div>\n<\/blockquote>\n<h4 id=\"section-3-2\" class=\"Heading Title Title--s\">top_p\uff08nucleus sampling\uff09<\/h4>\n<p><span class=\"Post-inline\">top_p<\/span> \u306f\u3001<\/p>\n<blockquote class=\"Post-blockquote\"><p>\n\u78ba\u7387\u306e\u9ad8\u3044\u9806\u306b\u8db3\u3057\u4e0a\u3052\u3001\u5408\u8a08\u304c <span class=\"Post-inline\">p (0.0 \uff5e 1.0)<\/span> \u3092\u8d85\u3048\u308b\u307e\u3067\u5019\u88dc\u3092\u6b8b\u3059\n<\/p><\/blockquote>\n<p>\u3068\u3044\u3046\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<ul class=\"Base-list\">\n<li class=\"Base-list__child\">\u6587\u8108\u306b\u3088\u3063\u3066\u5019\u88dc\u6570\u304c\u5909\u308f\u308b<\/li>\n<li class=\"Base-list__child\">\u4e0d\u81ea\u7136\u306a\u4f4e\u78ba\u7387\u30c8\u30fc\u30af\u30f3\u3092\u9664\u5916\u3057\u3084\u3059\u3044<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u9577\u304f\u306a\u308b\u305f\u3081\u5b9f\u88c5\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u4f8b\u3048\u3070<span class=\"Post-inline\">p = 0.9<\/span>\u3067\u5b9f\u65bd\u3057\u305f\u4f8b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u4f8b\u3048\u3070\u3001<span class=\"Post-inline\">temperature = 1.0<\/span>\u3067\u5b9f\u884c\u3057\u305f\u7d50\u679c\u304c\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u3063\u305f\u3068\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"Copy\"><code>\r\nprobs=array([0.47697211, 0.23685734, 0.17546823, 0.09629901, 0.01440331])\r\n<\/code><\/pre>\n<p>\u3053\u308c\u3092\u3001<span class=\"Post-inline\">top_p<\/span>\u306e\u8003\u3048\u65b9\u306b\u5f53\u3066\u306f\u3081\u308b\u3068\u3001\u78ba\u7387\u306e\u9ad8\u3044\u9806\u306b\u8db3\u3057\u4e0a\u3052\u305f\u7d50\u679c\u30014\u500b\u76ee\u306e\u78ba\u7387\u3092\u8db3\u3057\u305f\u3068\u3053\u308d\u30670.9\u3092\u8d85\u3048\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3057\u305f\u304c\u3063\u3066\u3001<span class=\"Post-inline\">p = 0.9<\/span>\u306e\u7d50\u679c\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff08\u5168\u4f53\u306e\u548c\u304c1\u3068\u306a\u308b\u3088\u3046\u306b\u8abf\u6574\u6e08\u307f\uff09\u3002<\/p>\n<pre class=\"Copy\"><code>\r\nprobs=array([0.48394248,0.24031872,0.17803249,0.0977063,0.        ])\r\n<\/code><\/pre>\n<h4 id=\"section-3-3\" class=\"Heading Title Title--s\">top_k<\/h4>\n<p><span class=\"Post-inline\">top_k<\/span> \u306f\u3001<\/p>\n<blockquote class=\"Post-blockquote\"><p>\n\u78ba\u7387\uff08\u307e\u305f\u306f logits\uff09\u304c\u9ad8\u3044\u4e0a\u4f4d <span class=\"Post-inline\">k (\u6b63\u306e\u6574\u6570)<\/span> \u500b\u306e\u30c8\u30fc\u30af\u30f3\u306e\u307f\u3092\u9078\u629e\u3059\u308b\n<\/p><\/blockquote>\n<p>\u3068\u3044\u3046\u624b\u6cd5\u3067\u3059\u3002<br \/>\n\u4e0b\u8a18\u306f<span class=\"Post-inline\">top_k = 3<\/span>\u306e\u969b\u306e\u5b9f\u884c\u4f8b\u3067\u3059\u3002<\/p>\n<div class=\"Pre-title\">top_k.py\uff08\u629c\u7c8b\uff09<\/div>\n<pre class=\"Copy\"><code>\r\ndef kth_largest(values: np.ndarray, k: int) -&gt; float:\r\n    &quot;&quot;&quot;\u914d\u5217\u306e\u4e2d\u3067\u5927\u304d\u3044\u9806\u306b k \u756a\u76ee\u306e\u5024\u3092\u8fd4\u3059&quot;&quot;&quot;\r\n    if k &lt;= 0 or k &gt; values.size:\r\n        raise ValueError(&quot;k \u306f 1\u301c\u914d\u5217\u9577\u306e\u7bc4\u56f2\u3067\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044&quot;)\r\n\r\n    # \u5168\u4f53\u3092\u30bd\u30fc\u30c8\u305b\u305a\u306b k \u756a\u76ee\u306e\u5024\u3060\u3051\u53d6\u5f97\u3059\u308b\r\n    return np.partition(values, -k)[-k]\r\n\r\n\r\nthreshold = kth_largest(logits, 3)\r\n\r\n# \u3057\u304d\u3044\u5024\u672a\u6e80\u306e logits \u3092 -inf \u306b\u30de\u30b9\u30af\u3059\u308b\r\nmasked_logits = np.where(\r\n    logits &gt;= threshold,\r\n    logits,\r\n    -np.inf,\r\n)\r\n\r\nprobs = softmax_with_temperature(masked_logits, 1.0)\r\nprint(f&quot;{probs=}&quot;)\r\n<\/code><\/pre>\n<pre class=\"Copy\"><code>\r\nprobs=array([0.53634696, 0.26634202, 0.19731102, 0.        , 0.        ])\r\n<\/code><\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001<span class=\"Post-inline\">logits<\/span>\u306e\u5927\u304d\u304b\u3063\u305f3\u3064\u306e\u307f\u304c\u5024\u3092\u6301\u3061\u3001\u6b8b\u308a\u306f0\u3068\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u4e2d\u304b\u3089\u78ba\u7387\u7684\u306b\u30c8\u30fc\u30af\u30f3\u3092\u9078\u629e\u3059\u308b\u306e\u304c\u3001<span class=\"Post-inline\">top_k<\/span>\u306e\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n<p>\u203b \u6570\u5b66\u306e\u8a71\u306b\u306a\u308b\u305f\u3081\u8a73\u3057\u304f\u306f\u89e6\u308c\u307e\u305b\u3093\u304c\u3001\u4e0d\u8981\u306a\u30c8\u30fc\u30af\u30f3\u306e<span class=\"Post-inline\">logits<\/span>\u3092<strong>\u30de\u30a4\u30ca\u30b9\u7121\u9650<\/strong>\u306b\u3057\u3066\u304b\u3089softmax\u3092\u884c\u3046\u3068\u3001\u305d\u306e\u30c8\u30fc\u30af\u30f3\u306e\u78ba\u7387\u306f0\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3 id=\"section-4\" class=\"Heading Title Title--m\">\u30c7\u30e2\uff1atemperature \u306e\u9055\u3044\u306b\u3088\u308b\u51fa\u529b\u306e\u5909\u5316<\/h3>\n<p>\u3053\u3053\u3067\u306f Gemini \u3092\u4f7f\u3063\u3066\u3001<strong>temperature = 0.0<\/strong>\u3068<strong>\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a<\/strong>\u3067\u8907\u6570\u56de\u751f\u6210\u3057\u305f\u3068\u304d\u306e\u6319\u52d5\u3092\u6bd4\u8f03\u3057\u307e\u3059\u3002<br \/>\n\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\u4e0b\u8a18\u3092\u7528\u3044\u307e\u3057\u305f\u3002<\/p>\n<div class=\"Pre-title\">parameter_check_temperature_0.py<\/div>\n<pre class=\"Copy\"><code>\r\nfrom dotenv import load_dotenv\r\nfrom google import genai\r\n\r\nload_dotenv()\r\n\r\nvertex_client = genai.Client()\r\n\r\nres = vertex_client.models.generate_content(\r\n    model=&quot;gemini-2.5-flash&quot;,\r\n    contents=&quot;\u3053\u3093\u306b\u3061\u306f\uff01\u304a\u305b\u3061\u306b\u5165\u3063\u3066\u308b\u5177\u30011\u3064\u9078\u3076\u3068\u3057\u305f\u3089\u4f55\u3092\u9078\u3073\u307e\u3059\u304b\uff1f&quot;,\r\n    config={\r\n        &quot;temperature&quot;: 0.0,  # \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5834\u5408\u306f\u3053\u3061\u3089\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\r\n        &quot;thinking_config&quot;: {&quot;thinking_budget&quot;: 0},\r\n    },\r\n)\r\n\r\nprint(res.text)\r\n<\/code><\/pre>\n<h4 id=\"section-4-1\" class=\"Heading Title Title--s\">\u5b9f\u884c\u7d50\u679c\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\uff09<\/h4>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/01\/gemini-result-temperature-default.png\" alt=\"\u30c7\u30d5\u30a9\u30eb\u30c8\u6e29\u5ea6\u3067\u306eGemini\u5b9f\u884c\u7d50\u679c\" class=\"content_img\" \/><\/p>\n<p>\u6bce\u56de\u5185\u5bb9\u304c\u5909\u308f\u3063\u3066\u3044\u307e\u3059\u306d\u3002<br \/>\n\u3053\u306e\u3088\u3046\u306b\u3001\u6bce\u56de\u5c11\u3057\u9055\u3063\u305f\u610f\u898b\u3092\u5f97\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306f\u3001\u72ec\u5275\u7684\u306a\u30a2\u30a4\u30c7\u30a2\u304c\u751f\u307e\u308c\u3084\u3059\u3044\u305f\u3081\u3001\u5275\u9020\u6027\u304c\u91cd\u8981\u3068\u306a\u308b\u30bf\u30b9\u30af\uff08\u30a2\u30a4\u30c7\u30a2\u306e\u8003\u6848\u306a\u3069\uff09\u306b\u5411\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<h4 id=\"section-4-2\" class=\"Heading Title Title--s\">\u5b9f\u884c\u7d50\u679c\uff08temperature = 0.0\uff09<\/h4>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/01\/gemini-result-temperature-0.png\" alt=\"\u6e29\u5ea60\u3067\u306eGemini\u5b9f\u884c\u7d50\u679c\" class=\"content_img\" \/><\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u540c\u3058\u6587\u8a00\u3067\u306e\u56de\u7b54\u304c\u5f97\u3089\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u518d\u73fe\u6027\u304c\u6b32\u3057\u3044\u30bf\u30b9\u30af\u306b\u5411\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u4e0b\u8a18\u306e\u6ce8\u610f\u306f\u5fc5\u8981\u3067\u3059\u3002<br \/>\n\u307e\u305a\u306f\u5148\u8ff0\u306e\u901a\u308a\u30011\u5ea6\u30a8\u30e9\u30fc\u304c\u3067\u3066\u3057\u307e\u3046\u3068\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u5909\u66f4\u3057\u306a\u3044\u9650\u308a\u89e3\u6d88\u304c\u96e3\u3057\u3044\u3053\u3068\u3002<br \/>\n\u305d\u3057\u3066\u3082\u3046\u4e00\u3064\u304c\u3001<strong>\u5fc5\u305a<\/strong>\u540c\u3058\u56de\u7b54\u304c\u5f97\u3089\u308c\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u3053\u3068\u3067\u3059\u3002<br \/>\nAI\u5074\u306e\u5b9f\u88c5\u306e\u4ed5\u65b9\u3060\u3063\u305f\u308a\u3001<span class=\"Post-inline\">logits<\/span>\uff08\u5404\u30c8\u30fc\u30af\u30f3\u306e\u30b9\u30b3\u30a2\uff09\u306e\u6bb5\u968e\u3067\u5024\u304c\u540c\u3058\u3060\u3068\u3001\u30b9\u30b3\u30a2\u304c\u540c\u3058\u30c8\u30fc\u30af\u30f3\u304c\u30e9\u30f3\u30c0\u30e0\u3067\u9078\u3070\u308c\u308b\u3053\u3068\u306b\u306a\u308b\u305f\u3081\u3001\u56de\u7b54\u306b\u82e5\u5e72\u306e\u5dee\u7570\u304c\u751f\u307e\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u3068\u3081\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul class=\"Base-list\">\n<li class=\"Base-list__child\"><strong>\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a<\/strong>\u2192 \u8868\u73fe\u3084\u9078\u629e\u80a2\u304c\u6bce\u56de\u5909\u5316\u3059\u308b<\/li>\n<li class=\"Base-list__child\"><strong>temperature = 0.0<\/strong>\u2192 \uff08\u307b\u3068\u3093\u3069\uff09\u6bce\u56de\u540c\u3058\u7d50\u679c\u306b\u306a\u308b<\/li>\n<\/ul>\n<p>\u6e29\u5ea6\u306e\u9055\u3044\u304c\u3001\u6319\u52d5\u3068\u3057\u3066\u660e\u78ba\u306b\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u306d\u3002<\/p>\n<h3 id=\"section-5\" class=\"Heading Title Title--m\">Google \u3068 OpenAI \u306e\u6700\u8fd1\u306e\u8a2d\u8a08\u65b9\u91dd<\/h3>\n<p>\u6700\u5f8c\u306b\u3001Google\u3068OpenAI\u3092\u4f8b\u306b\u3001\u5404\u7a2e\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u3069\u306e\u3088\u3046\u306b\u6271\u308f\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h4 id=\"section-5-1\" class=\"Heading Title Title--s\">Google\uff08Gemini\uff09<\/h4>\n<p>Gemini\u306f\u3001Gemini 2.0\u4ee5\u964d\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u304a\u308a\u3001<span class=\"Post-inline\">top_k<\/span>\u306e\u307f\u81ea\u8eab\u3067\u8a2d\u5b9a\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote class=\"Post-blockquote\">\n<ul class=\"Base-list\">\n<li class=\"Base-list__child\">Temperature: 0.0\uff5e2.0\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u306f 1.0\uff09<\/li>\n<li class=\"Base-list__child\">topP: 0.0\uff5e1.0\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u306f 0.95\uff09<\/li>\n<li class=\"Base-list__child\">topK: 64\uff08\u56fa\u5b9a\uff09<\/li>\n<\/ul>\n<div class=\"Source\"><a href=\"https:\/\/docs.cloud.google.com\/vertex-ai\/generative-ai\/docs\/models\/gemini\/3-pro?hl=ja\" class=\"Ext\">Gemini 3 Pro<\/a><\/div>\n<\/blockquote>\n<h4 id=\"section-5-2\" class=\"Heading Title Title--s\">OpenAI\uff08GPT-5 \u7cfb\uff09<\/h4>\n<p>OpenAI\u306f\u3001<span class=\"Post-inline\">gpt-5<\/span>, <span class=\"Post-inline\">gpt-5-mini<\/span>, <span class=\"Post-inline\">gpt-5-nano<\/span>\u3067\u306f\u4f55\u3082\u8a2d\u5b9a\u3067\u304d\u305a\u3001<span class=\"Post-inline\">gpt-5.2<\/span>\u3067\u63a8\u8ad6\u3092\u884c\u308f\u306a\u3044\u5834\u5408\u306b\u306e\u307f\u8a2d\u5b9a\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001<span class=\"Post-inline\">top_k<\/span>\u306b\u3064\u3044\u3066\u306f\u8a00\u53ca\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<blockquote class=\"Post-blockquote\"><p>\nGPT-5.2 parameter compatibility<br \/>\nThe following parameters are only supported when using GPT-5.2 with reasoning effort set to <span class=\"Post-inline\">none<\/span>:<\/p>\n<ul class=\"Base-list\">\n<li class=\"Base-list__child\">temperature<\/li>\n<li class=\"Base-list__child\">top_p<\/li>\n<li class=\"Base-list__child\">logprobs<\/li>\n<\/ul>\n<p>Requests to GPT-5.2 or GPT-5.1 with any other reasoning effort setting, or to older GPT-5 models (e.g., <span class=\"Post-inline\">gpt-5<\/span>, <span class=\"Post-inline\">gpt-5-mini<\/span>, <span class=\"Post-inline\">gpt-5-nano<\/span>) that include these fields will raise an error.<\/p>\n<div class=\"Source\"><a href=\"https:\/\/platform.openai.com\/docs\/guides\/latest-model#gpt-5-2-parameter-compatibility\" class=\"Ext\">GPT-5.2 parameter compatibility<\/a><\/div>\n<\/blockquote>\n<h3 id=\"section-6\" class=\"Heading Title Title--m\">\u307e\u3068\u3081<\/h3>\n<p>\u4eca\u56de\u306f\u751f\u6210AI\u306e\u30c6\u30ad\u30b9\u30c8\u751f\u6210\u306e\u4ed5\u7d44\u307f\u3068\u3001\u305d\u308c\u306b\u95a2\u308f\u308b3\u3064\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<br \/>\n\u751f\u6210AI\u306e API \u3067\u306f\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u76f4\u63a5\u89e6\u308c\u306a\u304f\u306a\u308a\u3064\u3064\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3057\u304b\u3057\u3001\u8a2d\u5b9a\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3044\u3063\u3066\u308b\u3060\u3051\u3067\u3042\u3063\u3066\u3001\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<ul class=\"Base-list\">\n<li class=\"Base-list__child\">\u306a\u305c\u51fa\u529b\u304c\u63fa\u3089\u3050\u306e\u304b<\/li>\n<li class=\"Base-list__child\">\u306a\u305c\u6c7a\u5b9a\u7684\u306b\u3059\u308b\u3068\u4e0d\u5b89\u5b9a\u306b\u306a\u308b\u306e\u304b<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306f\u30c6\u30ad\u30b9\u30c8\u751f\u6210\u306e\u3057\u304f\u307f\u3068\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u7406\u89e3\u3057\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u539f\u56e0\u3092\u8003\u3048\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<br \/>\n\u4eca\u5f8c\u306f\u751f\u6210AI\u3092\u300c\u9b54\u6cd5\u300d\u3068\u3057\u3066\u3067\u306f\u306a\u304f\u3001<strong>\u78ba\u7387\u30e2\u30c7\u30eb\u3068\u3057\u3066\u6349\u3048\u308b\u8996\u70b9<\/strong>\u3092\u6301\u3064\u3053\u3068\u3092\u610f\u8b58\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3 id=\"section-7\" class=\"Heading Title Title--m\">\u751f\u6210AI\u6d3b\u7528\u652f\u63f4\u30b5\u30fc\u30d3\u30b9\u306e\u3054\u7d39\u4ecb<\/h3>\n<p>Tech Fun\u3067\u306f\u3001\u304a\u5ba2\u69d8\u306e\u30d5\u30a7\u30fc\u30ba\u306b\u5408\u308f\u305b\u3001\u751f\u6210AI\u6d3b\u7528\u306b\u5411\u3051\u305f\u652f\u63f4\u30923\u3064\u306e\u30d1\u30c3\u30af\u3067\u3054\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ol class=\"Base-list\">\n<li><a href=\"https:\/\/www.techfun.co.jp\/services\/ai\/diagnosis\/\" class=\"Ext\">\u7121\u6599\u8a3a\u65ad\u30d1\u30c3\u30af<\/a>\uff1a\u696d\u52d9\u30fb\u30d7\u30ed\u30bb\u30b9\u306e\u73fe\u72b6\u3092\u7121\u6599\u3067\u8a3a\u65ad\u3057\u3001\u751f\u6210AI\u6d3b\u7528\u306e\u53ef\u80fd\u6027\u3092\u30ec\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/www.techfun.co.jp\/services\/ai\/poc\/\" class=\"Ext\">\u691c\u8a3c\uff08PoC\uff09\u30d1\u30c3\u30af<\/a>\uff1a\u8a3a\u65ad\u3067\u6709\u52b9\u6027\u304c\u78ba\u8a8d\u3055\u308c\u305f\u696d\u52d9\u3092\u5bfe\u8c61\u306b\u3001\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u69cb\u7bc9\u3092\u652f\u63f4\u3057\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/www.techfun.co.jp\/services\/ai\/consulting\/\" class=\"Ext\">\u30b3\u30f3\u30b5\u30eb\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9<\/a>\uff1a\u751f\u6210AI\u5c0e\u5165\u6226\u7565\u306e\u7b56\u5b9a\u304b\u3089\u904b\u7528\u4f53\u5236\u69cb\u7bc9\u307e\u3067\u3092\u5305\u62ec\u7684\u306b\u652f\u63f4\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u751f\u6210AI\u306b\u9650\u3089\u305a\u3001Web\u30fb\u696d\u52d9\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u3084\u30a4\u30f3\u30d5\u30e9\u8a2d\u8a08\u306a\u3069\u3001\u6280\u8853\u9818\u57df\u3092\u554f\u308f\u305a\u3054\u76f8\u8ac7\u3092\u627f\u3063\u3066\u3044\u307e\u3059\u3002\u300c\u4f55\u304b\u3089\u59cb\u3081\u308c\u3070\u826f\u3044\u304b\u5206\u304b\u3089\u306a\u3044\u300d\u3068\u3044\u3046\u6bb5\u968e\u3067\u3082\u69cb\u3044\u307e\u305b\u3093\u306e\u3067\u3001\u305c\u3072\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u751f\u6210AI\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u3001temperature\u3001top_p\u3001top_k \u3068\u3044\u3063\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u76ee\u306b\u3059\u308b\u6a5f\u4f1a\u306f\u591a\u3044\u3082\u306e\u306e\u3001\u300c\u96f0\u56f2\u6c17\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u300d\u300c\u6b63\u76f4\u3088\u304f\u5206\u304b\u3063\u3066\u3044\u306a\u3044\u300d\u3068\u3044\u3046\u30b1\u30fc\u30b9\u3082\u5c11\u306a\u304f\u3042\u308a\u307e\u305b\u3093\u3002 \u8fd1\u5e74\u306e\u751f\u2026<\/p>\n","protected":false},"author":7,"featured_media":6690,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[91],"class_list":["post-6688","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-generative-ai"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/posts\/6688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/comments?post=6688"}],"version-history":[{"count":3,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/posts\/6688\/revisions"}],"predecessor-version":[{"id":6695,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/posts\/6688\/revisions\/6695"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/media\/6690"}],"wp:attachment":[{"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/media?parent=6688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/categories?post=6688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}