Buckets:

rtrm's picture
download
raw
4.36 kB
import{s as k,n as q,o as F}from"../chunks/scheduler.505acc25.js";import{S as O,i as U,e as c,s,c as w,h as X,a as $,d as n,b as i,f as I,g as y,j as S,k as N,l as J,m as a,n as M,t as B,o as A,p as H}from"../chunks/index.17dd9071.js";import{C as K,H as Q,E as V}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.54c4ec8f.js";import{C as W}from"../chunks/CourseFloatingBanner.9496b79e.js";function Y(z){let r,_,h,g,l,b,m,E,o,x,p,G="ในบทนี้คุณได้เรียนรู้การแก้ปัญหา NLP แบบต่าง ๆ โดยใช้ฟังก์ชัน <code>pipeline()</code> จาก 🤗 Transformers รวมถึงได้เรียนรู้การค้นหาและใช้งานโมเดลใน Hub อีกทั้งยังเรียนรู้การใช้งาน Inference API ในการทดสอบโมเดลจากเว็บบราวเซอร์",L,f,j="นอกจากนี้เรายังได้พูดเกี่ยวกับการทำงานของโมเดล Transformer และความสำคัญของการใช้งาน transfer learning และการ fine-tune สิ่งสำคัญเลยคือ คุณสามารถใช้โมเดลแบบเต็มรูปแบบหรือจะใช้เพียงแค่ส่วน encoder หรือ decoder ก็ได้ ขึ้นอยู่กับว่าต้องการใช้งานแบบไหน ตารางด้านล่างสรุปการใช้งานไว้ดังนี้:",C,d,D="<thead><tr><th>โมเดล</th> <th>ตัวอย่าง</th> <th>งาน</th></tr></thead> <tbody><tr><td>Encoder</td> <td>ALBERT, BERT, DistilBERT, ELECTRA, RoBERTa</td> <td>การแยกแยะประโยค, การระบุประเภทคำ, การสกัดคำถามคำตอบ</td></tr> <tr><td>Decoder</td> <td>CTRL, GPT, GPT-2, Transformer XL</td> <td>การสร้างข้อความ</td></tr> <tr><td>Encoder-decoder</td> <td>BART, T5, Marian, mBART</td> <td>การสรุปความ, การแปลภาษา, การสร้างคำตอบจากคำถาม</td></tr></tbody>",P,u,v,T,R;return l=new K({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),m=new Q({props:{title:"สรุป",local:"สรป",headingTag:"h1"}}),o=new W({props:{chapter:1,classNames:"absolute z-10 right-0 top-0"}}),u=new V({props:{source:"https://github.com/huggingface/course/blob/main/chapters/th/chapter1/9.mdx"}}),{c(){r=c("meta"),_=s(),h=c("p"),g=s(),w(l.$$.fragment),b=s(),w(m.$$.fragment),E=s(),w(o.$$.fragment),x=s(),p=c("p"),p.innerHTML=G,L=s(),f=c("p"),f.textContent=j,C=s(),d=c("table"),d.innerHTML=D,P=s(),w(u.$$.fragment),v=s(),T=c("p"),this.h()},l(t){const e=X("svelte-u9bgzb",document.head);r=$(e,"META",{name:!0,content:!0}),e.forEach(n),_=i(t),h=$(t,"P",{}),I(h).forEach(n),g=i(t),y(l.$$.fragment,t),b=i(t),y(m.$$.fragment,t),E=i(t),y(o.$$.fragment,t),x=i(t),p=$(t,"P",{"data-svelte-h":!0}),S(p)!=="svelte-jd5pv9"&&(p.innerHTML=G),L=i(t),f=$(t,"P",{"data-svelte-h":!0}),S(f)!=="svelte-1wpf9a7"&&(f.textContent=j),C=i(t),d=$(t,"TABLE",{"data-svelte-h":!0}),S(d)!=="svelte-thcuds"&&(d.innerHTML=D),P=i(t),y(u.$$.fragment,t),v=i(t),T=$(t,"P",{}),I(T).forEach(n),this.h()},h(){N(r,"name","hf:doc:metadata"),N(r,"content",Z)},m(t,e){J(document.head,r),a(t,_,e),a(t,h,e),a(t,g,e),M(l,t,e),a(t,b,e),M(m,t,e),a(t,E,e),M(o,t,e),a(t,x,e),a(t,p,e),a(t,L,e),a(t,f,e),a(t,C,e),a(t,d,e),a(t,P,e),M(u,t,e),a(t,v,e),a(t,T,e),R=!0},p:q,i(t){R||(B(l.$$.fragment,t),B(m.$$.fragment,t),B(o.$$.fragment,t),B(u.$$.fragment,t),R=!0)},o(t){A(l.$$.fragment,t),A(m.$$.fragment,t),A(o.$$.fragment,t),A(u.$$.fragment,t),R=!1},d(t){t&&(n(_),n(h),n(g),n(b),n(E),n(x),n(p),n(L),n(f),n(C),n(d),n(P),n(v),n(T)),n(r),H(l,t),H(m,t),H(o,t),H(u,t)}}}const Z='{"title":"สรุป","local":"สรป","sections":[],"depth":1}';function tt(z){return F(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class st extends O{constructor(r){super(),U(this,r,tt,Y,k,{})}}export{st as component};

Xet Storage Details

Size:
4.36 kB
·
Xet hash:
cb579d8c0656af0a86d4d1fc92a935c99e3611249888ca83d51f9e30072493dc

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