import{s as N,o as q}from"../chunks/scheduler.37c15a92.js";import{S as B,i as G,g as d,s as $,r as x,A as K,h as w,f as l,c as _,j as F,u as y,x as E,k as j,y as R,a as i,v as L,d as T,t as M,w as U}from"../chunks/index.2bf4358c.js";import{C as D}from"../chunks/CourseFloatingBanner.06521e8b.js";import{F as I}from"../chunks/FrameworkSwitchCourse.8d4d4ab6.js";import{H as J}from"../chunks/Heading.8ada512a.js";function O(m){let e,r='<li>瞭解了<a href="https://huggingface.co/datasets" rel="nofollow">Hub</a>中的數據集</li> <li>學習瞭如何加載和預處理數據集</li> <li>學習瞭如何使用 Keras 微調和評估模型</li> <li>實現了自定義指標</li>';return{c(){e=d("ul"),e.innerHTML=r},l(a){e=w(a,"UL",{"data-svelte-h":!0}),E(e)!=="svelte-9nijn0"&&(e.innerHTML=r)},m(a,s){i(a,e,s)},d(a){a&&l(e)}}}function Q(m){let e,r='<li>瞭解了<a href="https://huggingface.co/datasets" rel="nofollow">Hub</a>中的數據集</li> <li>學習瞭如何加載和預處理數據集，包括使用動態填充和整理器</li> <li>實現您自己的模型微調和評估</li> <li>實施了一個較為底層的訓練循環</li> <li>使用 🤗 Accelerate 輕鬆調整您的訓練循環，使其適用於多個 GPU 或 TPU</li>';return{c(){e=d("ul"),e.innerHTML=r},l(a){e=w(a,"UL",{"data-svelte-h":!0}),E(e)!=="svelte-10ukihr"&&(e.innerHTML=r)},m(a,s){i(a,e,s)},d(a){a&&l(e)}}}function V(m){let e,r,a,s,f,b,c,k,u,v,p,S="這是非常令人高興的！ 在前兩章中，您瞭解了模型和標記器(tokenizer)，現在您知道如何針對您自己的數據對它們進行微調。回顧一下，在本章中，您：",C,h,g,H;f=new I({props:{fw:m[0]}}),c=new J({props:{title:"微調，檢查!",local:"微調檢查",headingTag:"h1"}}),u=new D({props:{chapter:3,classNames:"absolute z-10 right-0 top-0"}});function z(t,n){return t[0]==="pt"?Q:O}let P=z(m),o=P(m);return{c(){e=d("meta"),r=$(),a=d("p"),s=$(),x(f.$$.fragment),b=$(),x(c.$$.fragment),k=$(),x(u.$$.fragment),v=$(),p=d("p"),p.textContent=S,C=$(),o.c(),h=$(),g=d("p"),this.h()},l(t){const n=K("svelte-u9bgzb",document.head);e=w(n,"META",{name:!0,content:!0}),n.forEach(l),r=_(t),a=w(t,"P",{}),F(a).forEach(l),s=_(t),y(f.$$.fragment,t),b=_(t),y(c.$$.fragment,t),k=_(t),y(u.$$.fragment,t),v=_(t),p=w(t,"P",{"data-svelte-h":!0}),E(p)!=="svelte-lardxo"&&(p.textContent=S),C=_(t),o.l(t),h=_(t),g=w(t,"P",{}),F(g).forEach(l),this.h()},h(){j(e,"name","hf:doc:metadata"),j(e,"content",W)},m(t,n){R(document.head,e),i(t,r,n),i(t,a,n),i(t,s,n),L(f,t,n),i(t,b,n),L(c,t,n),i(t,k,n),L(u,t,n),i(t,v,n),i(t,p,n),i(t,C,n),o.m(t,n),i(t,h,n),i(t,g,n),H=!0},p(t,[n]){const A={};n&1&&(A.fw=t[0]),f.$set(A),P!==(P=z(t))&&(o.d(1),o=P(t),o&&(o.c(),o.m(h.parentNode,h)))},i(t){H||(T(f.$$.fragment,t),T(c.$$.fragment,t),T(u.$$.fragment,t),H=!0)},o(t){M(f.$$.fragment,t),M(c.$$.fragment,t),M(u.$$.fragment,t),H=!1},d(t){t&&(l(r),l(a),l(s),l(b),l(k),l(v),l(p),l(C),l(h),l(g)),l(e),U(f,t),U(c,t),U(u,t),o.d(t)}}}const W='{"title":"微調，檢查!","local":"微調檢查","sections":[],"depth":1}';function X(m,e,r){let a="pt";return q(()=>{const s=new URLSearchParams(window.location.search);r(0,a=s.get("fw")||"pt")}),[a]}class nt extends B{constructor(e){super(),G(this,e,X,V,N,{})}}export{nt as component};
