import{s as I,n as K,o as W}from"../chunks/scheduler.37c15a92.js";import{S as D,i as J,g as r,s as l,r as M,A as Q,h as m,f as n,c as s,j as q,u as U,x as P,k as B,y as V,a,v as F,d as N,t as R,w as S}from"../chunks/index.2bf4358c.js";import{Y as X}from"../chunks/Youtube.1e50a667.js";import{H as Z,E as tt}from"../chunks/getInferenceSnippets.24b50994.js";function et(Y){let i,v,x,C,o,b,p,k="如果你在課程中做到了這一步，恭喜你——你現在擁有了用 🤗 Transformers 和 Hugging Face 生態系統解決（幾乎）任何 NLP 任務所需的所有知識和工具！",g,u,z="我們見過很多不同的數據整理器，所以我們製作了這個小視頻來幫助您找到每個任務使用哪一個：",T,f,w,c,G="在完成核心 NLP 任務的快速入門後，您應該：",E,$,O="<li>瞭解哪種架構（編碼器、解碼器或編碼器-解碼器）最適合每個任務</li> <li>瞭解預訓練和微調語言模型之間的區別</li> <li>瞭解如何使用 <code>Trainer</code> API 和 🤗 Accelerate 或 TensorFlow 和 Keras 的分佈式訓練功能來訓練 Transformer 模型，具體選擇那一種方法取決於您所需要完成的任務。</li> <li>瞭解 ROUGE 和 BLEU 等指標在文本生成任務中的意義和侷限性</li> <li>知道如何在 Hub 上和使用 🤗 Transformers 中的“管道”與您的微調模型進行交互</li>",H,_,j="儘管掌握了所有這些知識，但總有一天你會遇到代碼中的困難錯誤，或者對如何解決特定的 NLP 問題有疑問。幸運的是，Hugging Face 社區隨時為您提供幫助！在這部分課程的最後一章中，我們將探討如何調試 Transformer 模型並有效地尋求幫助。",L,d,y,h,A;return o=new Z({props:{title:"精通自然語言處理",local:"精通自然語言處理",headingTag:"h1"}}),f=new X({props:{id:"-RPeakdlHYo"}}),d=new tt({props:{source:"https://github.com/huggingface/course/blob/main/chapters/zh-TW/chapter7/8.mdx"}}),{c(){i=r("meta"),v=l(),x=r("p"),C=l(),M(o.$$.fragment),b=l(),p=r("p"),p.textContent=k,g=l(),u=r("p"),u.textContent=z,T=l(),M(f.$$.fragment),w=l(),c=r("p"),c.textContent=G,E=l(),$=r("ul"),$.innerHTML=O,H=l(),_=r("p"),_.textContent=j,L=l(),M(d.$$.fragment),y=l(),h=r("p"),this.h()},l(t){const e=Q("svelte-u9bgzb",document.head);i=m(e,"META",{name:!0,content:!0}),e.forEach(n),v=s(t),x=m(t,"P",{}),q(x).forEach(n),C=s(t),U(o.$$.fragment,t),b=s(t),p=m(t,"P",{"data-svelte-h":!0}),P(p)!=="svelte-3antn7"&&(p.textContent=k),g=s(t),u=m(t,"P",{"data-svelte-h":!0}),P(u)!=="svelte-1o4h9p6"&&(u.textContent=z),T=s(t),U(f.$$.fragment,t),w=s(t),c=m(t,"P",{"data-svelte-h":!0}),P(c)!=="svelte-bdc2r7"&&(c.textContent=G),E=s(t),$=m(t,"UL",{"data-svelte-h":!0}),P($)!=="svelte-5cma1w"&&($.innerHTML=O),H=s(t),_=m(t,"P",{"data-svelte-h":!0}),P(_)!=="svelte-d7lydr"&&(_.textContent=j),L=s(t),U(d.$$.fragment,t),y=s(t),h=m(t,"P",{}),q(h).forEach(n),this.h()},h(){B(i,"name","hf:doc:metadata"),B(i,"content",nt)},m(t,e){V(document.head,i),a(t,v,e),a(t,x,e),a(t,C,e),F(o,t,e),a(t,b,e),a(t,p,e),a(t,g,e),a(t,u,e),a(t,T,e),F(f,t,e),a(t,w,e),a(t,c,e),a(t,E,e),a(t,$,e),a(t,H,e),a(t,_,e),a(t,L,e),F(d,t,e),a(t,y,e),a(t,h,e),A=!0},p:K,i(t){A||(N(o.$$.fragment,t),N(f.$$.fragment,t),N(d.$$.fragment,t),A=!0)},o(t){R(o.$$.fragment,t),R(f.$$.fragment,t),R(d.$$.fragment,t),A=!1},d(t){t&&(n(v),n(x),n(C),n(b),n(p),n(g),n(u),n(T),n(w),n(c),n(E),n($),n(H),n(_),n(L),n(y),n(h)),n(i),S(o,t),S(f,t),S(d,t)}}}const nt='{"title":"精通自然語言處理","local":"精通自然語言處理","sections":[],"depth":1}';function at(Y){return W(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class mt extends D{constructor(i){super(),J(this,i,at,et,I,{})}}export{mt as component};
