Buckets:
| import{s as D,n as G,o as I}from"../chunks/scheduler.37c15a92.js";import{S as N,i as k,g as p,s as m,r as B,A as q,h as f,f as a,c,j as g,u as H,x as R,k as M,y as F,a as n,v as y,d as S,t as j,w as z}from"../chunks/index.2bf4358c.js";import{C as U}from"../chunks/CourseFloatingBanner.5dff5e20.js";import{H as X}from"../chunks/Heading.8ada512a.js";function J(b){let r,T,u,_,s,$,o,E,l,x="ในบทนี้คุณได้เรียนรู้การแก้ปัญหา NLP แบบต่าง ๆ โดยใช้ฟังก์ชัน <code>pipeline()</code> จาก 🤗 Transformers รวมถึงได้เรียนรู้การค้นหาและใช้งานโมเดลใน Hub อีกทั้งยังเรียนรู้การใช้งาน Inference API ในการทดสอบโมเดลจากเว็บบราวเซอร์",P,i,w="นอกจากนี้เรายังได้พูดเกี่ยวกับการทำงานของโมเดล Transformer และความสำคัญของการใช้งาน transfer learning และการ fine-tune สิ่งสำคัญเลยคือ คุณสามารถใช้โมเดลแบบเต็มรูปแบบหรือจะใช้เพียงแค่ส่วน encoder หรือ decoder ก็ได้ ขึ้นอยู่กับว่าต้องการใช้งานแบบไหน ตารางด้านล่างสรุปการใช้งานไว้ดังนี้:",v,d,A="<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>",L,h,C;return s=new X({props:{title:"สรุป",local:"สรป",headingTag:"h1"}}),o=new U({props:{chapter:1,classNames:"absolute z-10 right-0 top-0"}}),{c(){r=p("meta"),T=m(),u=p("p"),_=m(),B(s.$$.fragment),$=m(),B(o.$$.fragment),E=m(),l=p("p"),l.innerHTML=x,P=m(),i=p("p"),i.textContent=w,v=m(),d=p("table"),d.innerHTML=A,L=m(),h=p("p"),this.h()},l(t){const e=q("svelte-u9bgzb",document.head);r=f(e,"META",{name:!0,content:!0}),e.forEach(a),T=c(t),u=f(t,"P",{}),g(u).forEach(a),_=c(t),H(s.$$.fragment,t),$=c(t),H(o.$$.fragment,t),E=c(t),l=f(t,"P",{"data-svelte-h":!0}),R(l)!=="svelte-jd5pv9"&&(l.innerHTML=x),P=c(t),i=f(t,"P",{"data-svelte-h":!0}),R(i)!=="svelte-1wpf9a7"&&(i.textContent=w),v=c(t),d=f(t,"TABLE",{"data-svelte-h":!0}),R(d)!=="svelte-thcuds"&&(d.innerHTML=A),L=c(t),h=f(t,"P",{}),g(h).forEach(a),this.h()},h(){M(r,"name","hf:doc:metadata"),M(r,"content",K)},m(t,e){F(document.head,r),n(t,T,e),n(t,u,e),n(t,_,e),y(s,t,e),n(t,$,e),y(o,t,e),n(t,E,e),n(t,l,e),n(t,P,e),n(t,i,e),n(t,v,e),n(t,d,e),n(t,L,e),n(t,h,e),C=!0},p:G,i(t){C||(S(s.$$.fragment,t),S(o.$$.fragment,t),C=!0)},o(t){j(s.$$.fragment,t),j(o.$$.fragment,t),C=!1},d(t){t&&(a(T),a(u),a(_),a($),a(E),a(l),a(P),a(i),a(v),a(d),a(L),a(h)),a(r),z(s,t),z(o,t)}}}const K='{"title":"สรุป","local":"สรป","sections":[],"depth":1}';function O(b){return I(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Z extends N{constructor(r){super(),k(this,r,O,J,D,{})}}export{Z as component}; | |
Xet Storage Details
- Size:
- 3.83 kB
- Xet hash:
- c82dcd7f20aa9322f255d3bac36afe9285d5de9f05ca935a1d492c3e0c90b145
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.