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