import{S as ne,i as re,s as le,e as r,k as A,w as W,t as s,l as X,M as se,c as l,d as n,m as S,x as Y,a as i,h as o,b as G,G as e,g as D,y as Z,q as ee,o as te,B as ae,v as oe}from"../../chunks/vendor-hf-doc-builder.js";import{I as ie}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{F as ue}from"../../chunks/FrameworkSwitchCourse-hf-doc-builder.js";function ce(K){let a,u,d,c,p,z,x,g,$,k,L,h,U,w,v,C,I,b,F;return{c(){a=r("ul"),u=r("li"),d=s("avez appris \xE0 conna\xEEtre les jeux de donn\xE9es dans le "),c=r("a"),p=r("em"),z=s("Hub"),x=s(","),g=A(),$=r("li"),k=s("avez appris comment charger et pr\xE9traiter les jeux de donn\xE9es,"),L=A(),h=r("li"),U=s("avez appris comment "),w=r("em"),v=s("finetuner"),C=s(" et \xE9valuer un mod\xE8le avec Keras,"),I=A(),b=r("li"),F=s("avez impl\xE9ment\xE9 une m\xE9trique personnalis\xE9e."),this.h()},l(y){a=l(y,"UL",{});var m=i(a);u=l(m,"LI",{});var j=i(u);d=o(j,"avez appris \xE0 conna\xEEtre les jeux de donn\xE9es dans le "),c=l(j,"A",{href:!0,rel:!0});var P=i(c);p=l(P,"EM",{});var M=i(p);z=o(M,"Hub"),M.forEach(n),P.forEach(n),x=o(j,","),j.forEach(n),g=S(m),$=l(m,"LI",{});var H=i($);k=o(H,"avez appris comment charger et pr\xE9traiter les jeux de donn\xE9es,"),H.forEach(n),L=S(m),h=l(m,"LI",{});var q=i(h);U=o(q,"avez appris comment "),w=l(q,"EM",{});var f=i(w);v=o(f,"finetuner"),f.forEach(n),C=o(q," et \xE9valuer un mod\xE8le avec Keras,"),q.forEach(n),I=S(m),b=l(m,"LI",{});var E=i(b);F=o(E,"avez impl\xE9ment\xE9 une m\xE9trique personnalis\xE9e."),E.forEach(n),m.forEach(n),this.h()},h(){G(c,"href","https://huggingface.co/datasets"),G(c,"rel","nofollow")},m(y,m){D(y,a,m),e(a,u),e(u,d),e(u,c),e(c,p),e(p,z),e(u,x),e(a,g),e(a,$),e($,k),e(a,L),e(a,h),e(h,U),e(h,w),e(w,v),e(h,C),e(a,I),e(a,b),e(b,F)},d(y){y&&n(a)}}}function me(K){let a,u,d,c,p,z,x,g,$,k,L,h,U,w,v,C,I,b,F,y,m,j,P,M,H;return{c(){a=r("ul"),u=r("li"),d=s("avez appris \xE0 conna\xEEtre les jeux de donn\xE9es dans le "),c=r("a"),p=r("em"),z=s("Hub"),x=s(","),g=A(),$=r("li"),k=s("avez appris \xE0 charger et \xE0 pr\xE9traiter des jeux de donn\xE9es, notamment en utilisant le remplissage dynamique et les assembleurs,"),L=A(),h=r("li"),U=s("avez impl\xE9ment\xE9 votre propre "),w=r("em"),v=s("finetuning"),C=s(" et \xE9valuation d\u2019un mod\xE8le,"),I=A(),b=r("li"),F=s("avez impl\xE9ment\xE9 une boucle d\u2019entra\xEEnement de niveau inf\xE9rieur,"),y=A(),m=r("li"),j=s("avez utilis\xE9 \u{1F917} "),P=r("em"),M=s("Accelerate"),H=s(" pour adapter facilement votre boucle d\u2019entra\xEEnement afin qu\u2019elle fonctionne pour plusieurs GPUs ou TPUs."),this.h()},l(q){a=l(q,"UL",{});var f=i(a);u=l(f,"LI",{});var E=i(u);d=o(E,"avez appris \xE0 conna\xEEtre les jeux de donn\xE9es dans le "),c=l(E,"A",{href:!0,rel:!0});var t=i(c);p=l(t,"EM",{});var _=i(p);z=o(_,"Hub"),_.forEach(n),t.forEach(n),x=o(E,","),E.forEach(n),g=S(f),$=l(f,"LI",{});var N=i($);k=o(N,"avez appris \xE0 charger et \xE0 pr\xE9traiter des jeux de donn\xE9es, notamment en utilisant le remplissage dynamique et les assembleurs,"),N.forEach(n),L=S(f),h=l(f,"LI",{});var B=i(h);U=o(B,"avez impl\xE9ment\xE9 votre propre "),w=l(B,"EM",{});var R=i(w);v=o(R,"finetuning"),R.forEach(n),C=o(B," et \xE9valuation d\u2019un mod\xE8le,"),B.forEach(n),I=S(f),b=l(f,"LI",{});var O=i(b);F=o(O,"avez impl\xE9ment\xE9 une boucle d\u2019entra\xEEnement de niveau inf\xE9rieur,"),O.forEach(n),y=S(f),m=l(f,"LI",{});var J=i(m);j=o(J,"avez utilis\xE9 \u{1F917} "),P=l(J,"EM",{});var T=i(P);M=o(T,"Accelerate"),T.forEach(n),H=o(J," pour adapter facilement votre boucle d\u2019entra\xEEnement afin qu\u2019elle fonctionne pour plusieurs GPUs ou TPUs."),J.forEach(n),f.forEach(n),this.h()},h(){G(c,"href","https://huggingface.co/datasets"),G(c,"rel","nofollow")},m(q,f){D(q,a,f),e(a,u),e(u,d),e(u,c),e(c,p),e(p,z),e(u,x),e(a,g),e(a,$),e($,k),e(a,L),e(a,h),e(h,U),e(h,w),e(w,v),e(h,C),e(a,I),e(a,b),e(b,F),e(a,y),e(a,m),e(m,j),e(m,P),e(P,M),e(m,H)},d(q){q&&n(a)}}}function pe(K){let a,u,d,c,p,z,x,g,$,k,L,h,U,w,v,C,I,b,F,y,m,j,P,M,H;d=new ue({props:{fw:K[0]}}),g=new ie({});function q(t,_){return t[0]==="pt"?me:ce}let f=q(K),E=f(K);return{c(){a=r("meta"),u=A(),W(d.$$.fragment),c=A(),p=r("h1"),z=r("a"),x=r("span"),W(g.$$.fragment),$=A(),k=r("span"),L=r("i"),h=s("Finetuning"),U=s(", coch\xE9 !"),w=A(),v=r("p"),C=s("C\u2019\xE9tait amusant ! Dans les deux premiers chapitres, vous avez appris \xE0 conna\xEEtre les mod\xE8les et les "),I=r("em"),b=s("tokenizers"),F=s(", et vous savez maintenant comment les "),y=r("em"),m=s("finetuner"),j=s(" pour vos propres donn\xE9es. Pour r\xE9capituler, dans ce chapitre vous :"),P=A(),E.c(),M=X(),this.h()},l(t){const _=se('[data-svelte="svelte-1phssyn"]',document.head);a=l(_,"META",{name:!0,content:!0}),_.forEach(n),u=S(t),Y(d.$$.fragment,t),c=S(t),p=l(t,"H1",{class:!0});var N=i(p);z=l(N,"A",{id:!0,class:!0,href:!0});var B=i(z);x=l(B,"SPAN",{});var R=i(x);Y(g.$$.fragment,R),R.forEach(n),B.forEach(n),$=S(N),k=l(N,"SPAN",{});var O=i(k);L=l(O,"I",{});var J=i(L);h=o(J,"Finetuning"),J.forEach(n),U=o(O,", coch\xE9 !"),O.forEach(n),N.forEach(n),w=S(t),v=l(t,"P",{});var T=i(v);C=o(T,"C\u2019\xE9tait amusant ! Dans les deux premiers chapitres, vous avez appris \xE0 conna\xEEtre les mod\xE8les et les "),I=l(T,"EM",{});var Q=i(I);b=o(Q,"tokenizers"),Q.forEach(n),F=o(T,", et vous savez maintenant comment les "),y=l(T,"EM",{});var V=i(y);m=o(V,"finetuner"),V.forEach(n),j=o(T," pour vos propres donn\xE9es. Pour r\xE9capituler, dans ce chapitre vous :"),T.forEach(n),P=S(t),E.l(t),M=X(),this.h()},h(){G(a,"name","hf:doc:metadata"),G(a,"content",JSON.stringify(fe)),G(z,"id","ifinetuningi-coch"),G(z,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),G(z,"href","#ifinetuningi-coch"),G(p,"class","relative group")},m(t,_){e(document.head,a),D(t,u,_),Z(d,t,_),D(t,c,_),D(t,p,_),e(p,z),e(z,x),Z(g,x,null),e(p,$),e(p,k),e(k,L),e(L,h),e(k,U),D(t,w,_),D(t,v,_),e(v,C),e(v,I),e(I,b),e(v,F),e(v,y),e(y,m),e(v,j),D(t,P,_),E.m(t,_),D(t,M,_),H=!0},p(t,[_]){const N={};_&1&&(N.fw=t[0]),d.$set(N),f!==(f=q(t))&&(E.d(1),E=f(t),E&&(E.c(),E.m(M.parentNode,M)))},i(t){H||(ee(d.$$.fragment,t),ee(g.$$.fragment,t),H=!0)},o(t){te(d.$$.fragment,t),te(g.$$.fragment,t),H=!1},d(t){n(a),t&&n(u),ae(d,t),t&&n(c),t&&n(p),ae(g),t&&n(w),t&&n(v),t&&n(P),E.d(t),t&&n(M)}}}const fe={local:"ifinetuningi-coch",title:"<i>Finetuning</i>, coch\xE9 !"};function de(K,a,u){let d="pt";return oe(()=>{const c=new URLSearchParams(window.location.search);u(0,d=c.get("fw")||"pt")}),[d]}class Ee extends ne{constructor(a){super();re(this,a,de,pe,le,{})}}export{Ee as default,fe as metadata};
