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