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