import{S as ne,i as le,s as se,e as s,k as g,w as Z,t as h,M as ie,c as i,d as r,m as y,x as ee,a as d,h as _,b as H,G as a,g as I,y as ae,q as te,o as re,B as oe,v as ce}from"../../chunks/vendor-hf-doc-builder.js";import{I as ue}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{F as de}from"../../chunks/FrameworkSwitchCourse-hf-doc-builder.js";function pe(q){let t,p,c,b,n,m,E,u,k,w,v,C;return{c(){t=s("ul"),p=s("li"),c=h("Como preparar un conjunto de datos grande desde el Hub."),b=g(),n=s("li"),m=h("Como usar Keras para ajustar un modelo."),E=g(),u=s("li"),k=h("Como usar Keras para obtener predicciones."),w=g(),v=s("li"),C=h("Como usar una m\xE9trica personalizada.")},l(l){t=i(l,"UL",{});var o=d(t);p=i(o,"LI",{});var $=d(p);c=_($,"Como preparar un conjunto de datos grande desde el Hub."),$.forEach(r),b=y(o),n=i(o,"LI",{});var L=d(n);m=_(L,"Como usar Keras para ajustar un modelo."),L.forEach(r),E=y(o),u=i(o,"LI",{});var P=d(u);k=_(P,"Como usar Keras para obtener predicciones."),P.forEach(r),w=y(o),v=i(o,"LI",{});var j=d(v);C=_(j,"Como usar una m\xE9trica personalizada."),j.forEach(r),o.forEach(r)},m(l,o){I(l,t,o),a(t,p),a(p,c),a(t,b),a(t,n),a(n,m),a(t,E),a(t,u),a(u,k),a(t,w),a(t,v),a(v,C)},d(l){l&&r(t)}}}function me(q){let t,p,c,b,n,m,E,u,k,w,v,C;return{c(){t=s("ul"),p=s("li"),c=h("Como preparar un conjunto de datos grande desde el Hub."),b=g(),n=s("li"),m=h("Como usar la API de alto nivel del entrenador para ajustar un modelo."),E=g(),u=s("li"),k=h("Como usar un bucle personalizado de entrenamiento."),w=g(),v=s("li"),C=h("Como aprovechar la Accelerate library \u{1F917} para f\xE1cilmente ejecutar el bucle personalizado de entrenamiento en cualquier configuraci\xF3n distribuida.")},l(l){t=i(l,"UL",{});var o=d(t);p=i(o,"LI",{});var $=d(p);c=_($,"Como preparar un conjunto de datos grande desde el Hub."),$.forEach(r),b=y(o),n=i(o,"LI",{});var L=d(n);m=_(L,"Como usar la API de alto nivel del entrenador para ajustar un modelo."),L.forEach(r),E=y(o),u=i(o,"LI",{});var P=d(u);k=_(P,"Como usar un bucle personalizado de entrenamiento."),P.forEach(r),w=y(o),v=i(o,"LI",{});var j=d(v);C=_(j,"Como aprovechar la Accelerate library \u{1F917} para f\xE1cilmente ejecutar el bucle personalizado de entrenamiento en cualquier configuraci\xF3n distribuida."),j.forEach(r),o.forEach(r)},m(l,o){I(l,t,o),a(t,p),a(p,c),a(t,b),a(t,n),a(n,m),a(t,E),a(t,u),a(u,k),a(t,w),a(t,v),a(v,C)},d(l){l&&r(t)}}}function fe(q){let t,p,c,b,n,m,E,u,k,w,v,C,l,o,$,L,P,j,F,z,G,K,J,O,S,R,N;c=new de({props:{fw:q[0]}}),u=new ue({});function T(e,f){return e[0]==="pt"?me:pe}let U=T(q),A=U(q);return{c(){t=s("meta"),p=g(),Z(c.$$.fragment),b=g(),n=s("h1"),m=s("a"),E=s("span"),Z(u.$$.fragment),k=g(),w=s("span"),v=h("Introducci\xF3n"),C=g(),l=s("p"),o=h("En el "),$=s("a"),L=h("Cap\xEDtulo 2"),P=h(" exploramos como usar los tokenizadores y modelos preentrenados para realizar predicciones. Pero qu\xE9 tal si deseas ajustar un modelo preentrenado con tu propio conjunto de datos ?"),j=g(),A.c(),F=g(),z=s("p"),G=h("Para subir tus puntos de control ("),K=s("em"),J=h("checkpoints"),O=h(") en el Hub de Hugging Face, necesitas una cuenta en huggingface.co: "),S=s("a"),R=h("crea una cuenta"),this.h()},l(e){const f=ie('[data-svelte="svelte-1phssyn"]',document.head);t=i(f,"META",{name:!0,content:!0}),f.forEach(r),p=y(e),ee(c.$$.fragment,e),b=y(e),n=i(e,"H1",{class:!0});var x=d(n);m=i(x,"A",{id:!0,class:!0,href:!0});var D=d(m);E=i(D,"SPAN",{});var Q=d(E);ee(u.$$.fragment,Q),Q.forEach(r),D.forEach(r),k=y(x),w=i(x,"SPAN",{});var V=d(w);v=_(V,"Introducci\xF3n"),V.forEach(r),x.forEach(r),C=y(e),l=i(e,"P",{});var B=d(l);o=_(B,"En el "),$=i(B,"A",{href:!0});var W=d($);L=_(W,"Cap\xEDtulo 2"),W.forEach(r),P=_(B," exploramos como usar los tokenizadores y modelos preentrenados para realizar predicciones. Pero qu\xE9 tal si deseas ajustar un modelo preentrenado con tu propio conjunto de datos ?"),B.forEach(r),j=y(e),A.l(e),F=y(e),z=i(e,"P",{});var M=d(z);G=_(M,"Para subir tus puntos de control ("),K=i(M,"EM",{});var X=d(K);J=_(X,"checkpoints"),X.forEach(r),O=_(M,") en el Hub de Hugging Face, necesitas una cuenta en huggingface.co: "),S=i(M,"A",{href:!0,rel:!0});var Y=d(S);R=_(Y,"crea una cuenta"),Y.forEach(r),M.forEach(r),this.h()},h(){H(t,"name","hf:doc:metadata"),H(t,"content",JSON.stringify(he)),H(m,"id","introduccin"),H(m,"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"),H(m,"href","#introduccin"),H(n,"class","relative group"),H($,"href","/course/chapter2"),H(S,"href","https://huggingface.co/join"),H(S,"rel","nofollow")},m(e,f){a(document.head,t),I(e,p,f),ae(c,e,f),I(e,b,f),I(e,n,f),a(n,m),a(m,E),ae(u,E,null),a(n,k),a(n,w),a(w,v),I(e,C,f),I(e,l,f),a(l,o),a(l,$),a($,L),a(l,P),I(e,j,f),A.m(e,f),I(e,F,f),I(e,z,f),a(z,G),a(z,K),a(K,J),a(z,O),a(z,S),a(S,R),N=!0},p(e,[f]){const x={};f&1&&(x.fw=e[0]),c.$set(x),U!==(U=T(e))&&(A.d(1),A=U(e),A&&(A.c(),A.m(F.parentNode,F)))},i(e){N||(te(c.$$.fragment,e),te(u.$$.fragment,e),N=!0)},o(e){re(c.$$.fragment,e),re(u.$$.fragment,e),N=!1},d(e){r(t),e&&r(p),oe(c,e),e&&r(b),e&&r(n),oe(u),e&&r(C),e&&r(l),e&&r(j),A.d(e),e&&r(F),e&&r(z)}}}const he={local:"introduccin",title:"Introducci\xF3n"};function _e(q,t,p){let c="pt";return ce(()=>{const b=new URLSearchParams(window.location.search);p(0,c=b.get("fw")||"pt")}),[c]}class we extends ne{constructor(t){super();le(this,t,_e,fe,se,{})}}export{we as default,he as metadata};
