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