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