import{s as I,o as O}from"../chunks/scheduler.37c15a92.js";import{S as R,i as W,g as w,s as m,r as x,A as D,h as d,f as r,c as f,j as B,u as E,x as U,k as G,y as J,a,v as z,d as A,t as F,w as S}from"../chunks/index.2bf4358c.js";import{C as Q}from"../chunks/CourseFloatingBanner.9ff4c771.js";import{F as V}from"../chunks/FrameworkSwitchCourse.8d4d4ab6.js";import{H as X,E as Y}from"../chunks/getInferenceSnippets.1837c472.js";function Z(c){let t,l="<li>如何從模型中心(hub)準備大型數據集</li> <li>如何使用 Keras 微調模型</li> <li>如何使用 Keras 進行預測</li> <li>如何使用自定義指標</li>";return{c(){t=w("ul"),t.innerHTML=l},l(i){t=d(i,"UL",{"data-svelte-h":!0}),U(t)!=="svelte-1ekor46"&&(t.innerHTML=l)},m(i,s){a(i,t,s)},d(i){i&&r(t)}}}function ee(c){let t,l="<li>如何從模型中心(hub)準備大型數據集</li> <li>如何使用高級<code>訓練</code>API微調一個模型</li> <li>如何使用自定義訓練過程</li> <li>如何利用🤗 Accelerate庫在任何分佈式設備上輕鬆運行自定義訓練過程</li>";return{c(){t=w("ul"),t.innerHTML=l},l(i){t=d(i,"UL",{"data-svelte-h":!0}),U(t)!=="svelte-1mt7800"&&(t.innerHTML=l)},m(i,s){a(i,t,s)},d(i){i&&r(t)}}}function te(c){let t,l,i,s,u,H,p,T,$,k,h,j='在 <a href="/course/chapter2">第二章</a> 我們探索瞭如何使用標記器(Tokenizer)和預訓練模型進行預測。但是，如果您想為自己的數據集微調預訓練模型，該怎麼做呢？這就是本章的主題！你將學到:',L,b,_,K='為了將經過訓練的參數上傳到 Hugging Face Hub，您需要一個 huggingface.co 帳戶: <a href="https://huggingface.co/join" rel="nofollow">創建一個賬戶</a>',M,g,y,v,C;u=new V({props:{fw:c[0]}}),p=new X({props:{title:"本章簡介",local:"本章簡介",headingTag:"h1"}}),$=new Q({props:{chapter:3,classNames:"absolute z-10 right-0 top-0"}});function N(e,n){return e[0]==="pt"?ee:Z}let P=N(c),o=P(c);return g=new Y({props:{source:"https://github.com/huggingface/course/blob/main/chapters/zh-TW/chapter3/1.mdx"}}),{c(){t=w("meta"),l=m(),i=w("p"),s=m(),x(u.$$.fragment),H=m(),x(p.$$.fragment),T=m(),x($.$$.fragment),k=m(),h=w("p"),h.innerHTML=j,L=m(),o.c(),b=m(),_=w("p"),_.innerHTML=K,M=m(),x(g.$$.fragment),y=m(),v=w("p"),this.h()},l(e){const n=D("svelte-u9bgzb",document.head);t=d(n,"META",{name:!0,content:!0}),n.forEach(r),l=f(e),i=d(e,"P",{}),B(i).forEach(r),s=f(e),E(u.$$.fragment,e),H=f(e),E(p.$$.fragment,e),T=f(e),E($.$$.fragment,e),k=f(e),h=d(e,"P",{"data-svelte-h":!0}),U(h)!=="svelte-94hx8m"&&(h.innerHTML=j),L=f(e),o.l(e),b=f(e),_=d(e,"P",{"data-svelte-h":!0}),U(_)!=="svelte-82ro3y"&&(_.innerHTML=K),M=f(e),E(g.$$.fragment,e),y=f(e),v=d(e,"P",{}),B(v).forEach(r),this.h()},h(){G(t,"name","hf:doc:metadata"),G(t,"content",ne)},m(e,n){J(document.head,t),a(e,l,n),a(e,i,n),a(e,s,n),z(u,e,n),a(e,H,n),z(p,e,n),a(e,T,n),z($,e,n),a(e,k,n),a(e,h,n),a(e,L,n),o.m(e,n),a(e,b,n),a(e,_,n),a(e,M,n),z(g,e,n),a(e,y,n),a(e,v,n),C=!0},p(e,[n]){const q={};n&1&&(q.fw=e[0]),u.$set(q),P!==(P=N(e))&&(o.d(1),o=P(e),o&&(o.c(),o.m(b.parentNode,b)))},i(e){C||(A(u.$$.fragment,e),A(p.$$.fragment,e),A($.$$.fragment,e),A(g.$$.fragment,e),C=!0)},o(e){F(u.$$.fragment,e),F(p.$$.fragment,e),F($.$$.fragment,e),F(g.$$.fragment,e),C=!1},d(e){e&&(r(l),r(i),r(s),r(H),r(T),r(k),r(h),r(L),r(b),r(_),r(M),r(y),r(v)),r(t),S(u,e),S(p,e),S($,e),o.d(e),S(g,e)}}}const ne='{"title":"本章簡介","local":"本章簡介","sections":[],"depth":1}';function ie(c,t,l){let i="pt";return O(()=>{const s=new URLSearchParams(window.location.search);l(0,i=s.get("fw")||"pt")}),[i]}class me extends R{constructor(t){super(),W(this,t,ie,te,I,{})}}export{me as component};
