import{s as X,n as Z,o as I}from"../chunks/scheduler.355ac1c8.js";import{S as J,i as K,e as s,s as r,c as v,h as ee,a as o,d as n,b as i,f as Q,g as C,j as M,k as V,l as te,m as l,n as w,t as P,o as T,p as L}from"../chunks/index.433eedb0.js";import{C as ne,H as le,E as re}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.861063c8.js";import{Y as ie}from"../chunks/Youtube.3325c198.js";import{C as ae}from"../chunks/CourseFloatingBanner.78a39c14.js";function se(B){let a,y,x,D,m,z,f,S,p,E,u,H,d,U="Decoder-Modelle verwenden nur den Decoder eines Transformer-Modells. Die Attention-Layer können bei jedem Schritt hinsichtlich eines bestimmten Wortes nur auf die Wörter zugreifen, die vor diesem Wort im Satz stehen. Diese Modelle werden oft als <em>autoregressive Modelle</em> bezeichnet.",q,c,Y="Beim Pretraining von Decoder-Modellen geht es in der Regel um die Vorhersage des nächsten Wortes im Satz.",G,$,F="Diese Modelle sind am besten für Aufgaben geeignet, bei denen es um die Generierung von Texten geht.",W,g,N="Zu dieser Modellfamilie gehören unter anderem:",j,h,O='<li><a href="https://huggingface.co/transformers/model_doc/ctrl" 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" rel="nofollow">GPT-2</a></li> <li><a href="https://huggingface.co/transformers/model_doc/transformerxl" rel="nofollow">Transformer XL</a></li>',A,_,R,b,k;return m=new ne({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),f=new le({props:{title:"Decoder-Modelle",local:"decoder-modelle",headingTag:"h1"}}),p=new ae({props:{chapter:1,classNames:"absolute z-10 right-0 top-0"}}),u=new ie({props:{id:"d_ixlCubqQw"}}),_=new re({props:{source:"https://github.com/huggingface/course/blob/main/chapters/de/chapter1/6.mdx"}}),{c(){a=s("meta"),y=r(),x=s("p"),D=r(),v(m.$$.fragment),z=r(),v(f.$$.fragment),S=r(),v(p.$$.fragment),E=r(),v(u.$$.fragment),H=r(),d=s("p"),d.innerHTML=U,q=r(),c=s("p"),c.textContent=Y,G=r(),$=s("p"),$.textContent=F,W=r(),g=s("p"),g.textContent=N,j=r(),h=s("ul"),h.innerHTML=O,A=r(),v(_.$$.fragment),R=r(),b=s("p"),this.h()},l(e){const t=ee("svelte-u9bgzb",document.head);a=o(t,"META",{name:!0,content:!0}),t.forEach(n),y=i(e),x=o(e,"P",{}),Q(x).forEach(n),D=i(e),C(m.$$.fragment,e),z=i(e),C(f.$$.fragment,e),S=i(e),C(p.$$.fragment,e),E=i(e),C(u.$$.fragment,e),H=i(e),d=o(e,"P",{"data-svelte-h":!0}),M(d)!=="svelte-bh7cbg"&&(d.innerHTML=U),q=i(e),c=o(e,"P",{"data-svelte-h":!0}),M(c)!=="svelte-1bfcfsq"&&(c.textContent=Y),G=i(e),$=o(e,"P",{"data-svelte-h":!0}),M($)!=="svelte-1v540no"&&($.textContent=F),W=i(e),g=o(e,"P",{"data-svelte-h":!0}),M(g)!=="svelte-cah3qi"&&(g.textContent=N),j=i(e),h=o(e,"UL",{"data-svelte-h":!0}),M(h)!=="svelte-j4l2li"&&(h.innerHTML=O),A=i(e),C(_.$$.fragment,e),R=i(e),b=o(e,"P",{}),Q(b).forEach(n),this.h()},h(){V(a,"name","hf:doc:metadata"),V(a,"content",oe)},m(e,t){te(document.head,a),l(e,y,t),l(e,x,t),l(e,D,t),w(m,e,t),l(e,z,t),w(f,e,t),l(e,S,t),w(p,e,t),l(e,E,t),w(u,e,t),l(e,H,t),l(e,d,t),l(e,q,t),l(e,c,t),l(e,G,t),l(e,$,t),l(e,W,t),l(e,g,t),l(e,j,t),l(e,h,t),l(e,A,t),w(_,e,t),l(e,R,t),l(e,b,t),k=!0},p:Z,i(e){k||(P(m.$$.fragment,e),P(f.$$.fragment,e),P(p.$$.fragment,e),P(u.$$.fragment,e),P(_.$$.fragment,e),k=!0)},o(e){T(m.$$.fragment,e),T(f.$$.fragment,e),T(p.$$.fragment,e),T(u.$$.fragment,e),T(_.$$.fragment,e),k=!1},d(e){e&&(n(y),n(x),n(D),n(z),n(S),n(E),n(H),n(d),n(q),n(c),n(G),n($),n(W),n(g),n(j),n(h),n(A),n(R),n(b)),n(a),L(m,e),L(f,e),L(p,e),L(u,e),L(_,e)}}}const oe='{"title":"Decoder-Modelle","local":"decoder-modelle","sections":[],"depth":1}';function me(B){return I(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class $e extends J{constructor(a){super(),K(this,a,me,se,X,{})}}export{$e as component};
