Buckets:

rtrm's picture
download
raw
4.02 kB
import{s as Q,n as X,o as I}from"../chunks/scheduler.505acc25.js";import{S as J,i as K,e as d,s as r,c as w,h as V,a as g,d as n,b as l,f as N,g as C,j as U,k as O,l as W,m as a,n as b,t as v,o as T,p as P}from"../chunks/index.17dd9071.js";import{C as Z,H as tt,E as et}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.b093aff7.js";import{Y as nt}from"../chunks/Youtube.793fe4bf.js";import{C as at}from"../chunks/CourseFloatingBanner.9496b79e.js";function rt(Y){let o,y,_,L,s,M,i,E,m,H,f,S,p,k="โมเดล decoder ใช้เพียงส่วน decoder จากโมเดล Transformer เท่านั้น ในแต่ละชั้น attention layer สามารถเข้าถึงคำที่อยู่ตำแหน่งก่อนหน้าในประโยคได้เท่านั้น โมเดลเหล่านี้เรียกว่า <em>โมเดล auto-regressive</em>",z,u,A="โมเดล pretrain ในกลุ่มนี้ใช้ในการทำนายคำต่อไปในประโยค เหมาะสำหรับงานในการสร้างข้อความ",G,$,B="ตัวแทนโมเดลในกลุ่มนี้ได้แก่:",j,c,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/transformerxl.html" rel="nofollow">Transformer XL</a></li>',q,h,D,x,R;return s=new Z({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),i=new tt({props:{title:"โมเดล Decoder",local:"โมเดล-decoder",headingTag:"h1"}}),m=new at({props:{chapter:1,classNames:"absolute z-10 right-0 top-0"}}),f=new nt({props:{id:"d_ixlCubqQw"}}),h=new et({props:{source:"https://github.com/huggingface/course/blob/main/chapters/th/chapter1/6.mdx"}}),{c(){o=d("meta"),y=r(),_=d("p"),L=r(),w(s.$$.fragment),M=r(),w(i.$$.fragment),E=r(),w(m.$$.fragment),H=r(),w(f.$$.fragment),S=r(),p=d("p"),p.innerHTML=k,z=r(),u=d("p"),u.textContent=A,G=r(),$=d("p"),$.textContent=B,j=r(),c=d("ul"),c.innerHTML=F,q=r(),w(h.$$.fragment),D=r(),x=d("p"),this.h()},l(t){const e=V("svelte-u9bgzb",document.head);o=g(e,"META",{name:!0,content:!0}),e.forEach(n),y=l(t),_=g(t,"P",{}),N(_).forEach(n),L=l(t),C(s.$$.fragment,t),M=l(t),C(i.$$.fragment,t),E=l(t),C(m.$$.fragment,t),H=l(t),C(f.$$.fragment,t),S=l(t),p=g(t,"P",{"data-svelte-h":!0}),U(p)!=="svelte-g9wnys"&&(p.innerHTML=k),z=l(t),u=g(t,"P",{"data-svelte-h":!0}),U(u)!=="svelte-19dviih"&&(u.textContent=A),G=l(t),$=g(t,"P",{"data-svelte-h":!0}),U($)!=="svelte-10huopx"&&($.textContent=B),j=l(t),c=g(t,"UL",{"data-svelte-h":!0}),U(c)!=="svelte-jabf5n"&&(c.innerHTML=F),q=l(t),C(h.$$.fragment,t),D=l(t),x=g(t,"P",{}),N(x).forEach(n),this.h()},h(){O(o,"name","hf:doc:metadata"),O(o,"content",lt)},m(t,e){W(document.head,o),a(t,y,e),a(t,_,e),a(t,L,e),b(s,t,e),a(t,M,e),b(i,t,e),a(t,E,e),b(m,t,e),a(t,H,e),b(f,t,e),a(t,S,e),a(t,p,e),a(t,z,e),a(t,u,e),a(t,G,e),a(t,$,e),a(t,j,e),a(t,c,e),a(t,q,e),b(h,t,e),a(t,D,e),a(t,x,e),R=!0},p:X,i(t){R||(v(s.$$.fragment,t),v(i.$$.fragment,t),v(m.$$.fragment,t),v(f.$$.fragment,t),v(h.$$.fragment,t),R=!0)},o(t){T(s.$$.fragment,t),T(i.$$.fragment,t),T(m.$$.fragment,t),T(f.$$.fragment,t),T(h.$$.fragment,t),R=!1},d(t){t&&(n(y),n(_),n(L),n(M),n(E),n(H),n(S),n(p),n(z),n(u),n(G),n($),n(j),n(c),n(q),n(D),n(x)),n(o),P(s,t),P(i,t),P(m,t),P(f,t),P(h,t)}}}const lt='{"title":"โมเดล Decoder","local":"โมเดล-decoder","sections":[],"depth":1}';function ot(Y){return I(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ut extends J{constructor(o){super(),K(this,o,ot,rt,Q,{})}}export{ut as component};

Xet Storage Details

Size:
4.02 kB
·
Xet hash:
2e832645eb1c7cf39278c27156f3b4b92c66a0de43fa4d0f26c4345c86aba6b2

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.