import{s as X,n as D,o as I}from"../chunks/scheduler.37c15a92.js";import{S as J,i as K,g as r,s as a,r as E,A as O,h as i,f as n,c as s,j as N,u as q,x,k as Q,y as V,a as l,v as S,d as A,t as G,w as R}from"../chunks/index.7cb9c9b8.js";import{Y as W}from"../chunks/Youtube.8666c400.js";import{C as Z}from"../chunks/CourseFloatingBanner.2c4a7381.js";import{H as tt}from"../chunks/Heading.d3928e2a.js";function et(U){let o,C,d,v,m,w,f,P,p,T,u,Y="デコーダーモデルとは、Transformerモデルのデコーダーのみを使用したモデルを指します。 処理の各段階で、処理対象の単語について、attention層はその単語より前に出現した単語にのみアクセスすることができます。 このようなモデルは<em>自己回帰モデル</em>と呼ばれます。",L,c,j="　デコーダーモデルの事前学習は、次に続く単語を予測するタスクを解くことを中心に展開されます。",b,h,k="これらのモデルは、文を生成するタスクに最も適しています。",H,_,B="デコーダーモデルでは以下のものが代表的です：",M,$,F='<li><a href="https://huggingface.co/transformers/model_doc/ctrl.html" rel="nofollow">CTRL</a></li> <li><a href="https://huggingface.co/docs/transformers/model_doc/openai-gpt" rel="nofollow">GPT</a></li> <li><a href="https://huggingface.co/transformers/model_doc/gpt2.html" rel="nofollow">GPT-2</a></li> <li><a href="https://huggingface.co/transformers/model_doc/transfo-xl.html" rel="nofollow">Transformer XL</a></li>',y,g,z;return m=new tt({props:{title:"デコーダーモデル",local:"デコーダーモデル",headingTag:"h1"}}),f=new Z({props:{chapter:1,classNames:"absolute z-10 right-0 top-0"}}),p=new W({props:{id:"d_ixlCubqQw"}}),{c(){o=r("meta"),C=a(),d=r("p"),v=a(),E(m.$$.fragment),w=a(),E(f.$$.fragment),P=a(),E(p.$$.fragment),T=a(),u=r("p"),u.innerHTML=Y,L=a(),c=r("p"),c.textContent=j,b=a(),h=r("p"),h.textContent=k,H=a(),_=r("p"),_.textContent=B,M=a(),$=r("ul"),$.innerHTML=F,y=a(),g=r("p"),this.h()},l(t){const e=O("svelte-u9bgzb",document.head);o=i(e,"META",{name:!0,content:!0}),e.forEach(n),C=s(t),d=i(t,"P",{}),N(d).forEach(n),v=s(t),q(m.$$.fragment,t),w=s(t),q(f.$$.fragment,t),P=s(t),q(p.$$.fragment,t),T=s(t),u=i(t,"P",{"data-svelte-h":!0}),x(u)!=="svelte-nthov6"&&(u.innerHTML=Y),L=s(t),c=i(t,"P",{"data-svelte-h":!0}),x(c)!=="svelte-mfhtzo"&&(c.textContent=j),b=s(t),h=i(t,"P",{"data-svelte-h":!0}),x(h)!=="svelte-ic0gz7"&&(h.textContent=k),H=s(t),_=i(t,"P",{"data-svelte-h":!0}),x(_)!=="svelte-igdfsl"&&(_.textContent=B),M=s(t),$=i(t,"UL",{"data-svelte-h":!0}),x($)!=="svelte-1tiql5w"&&($.innerHTML=F),y=s(t),g=i(t,"P",{}),N(g).forEach(n),this.h()},h(){Q(o,"name","hf:doc:metadata"),Q(o,"content",nt)},m(t,e){V(document.head,o),l(t,C,e),l(t,d,e),l(t,v,e),S(m,t,e),l(t,w,e),S(f,t,e),l(t,P,e),S(p,t,e),l(t,T,e),l(t,u,e),l(t,L,e),l(t,c,e),l(t,b,e),l(t,h,e),l(t,H,e),l(t,_,e),l(t,M,e),l(t,$,e),l(t,y,e),l(t,g,e),z=!0},p:D,i(t){z||(A(m.$$.fragment,t),A(f.$$.fragment,t),A(p.$$.fragment,t),z=!0)},o(t){G(m.$$.fragment,t),G(f.$$.fragment,t),G(p.$$.fragment,t),z=!1},d(t){t&&(n(C),n(d),n(v),n(w),n(P),n(T),n(u),n(L),n(c),n(b),n(h),n(H),n(_),n(M),n($),n(y),n(g)),n(o),R(m,t),R(f,t),R(p,t)}}}const nt='{"title":"デコーダーモデル","local":"デコーダーモデル","sections":[],"depth":1}';function lt(U){return I(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class mt extends J{constructor(o){super(),K(this,o,lt,et,X,{})}}export{mt as component};
