import{s as gt,o as vt,n as Ie}from"../chunks/scheduler.36a0863c.js";import{S as yt,i as jt,g as o,s as c,u as k,A as Mt,h as p,f as t,c as i,j as w,v as C,y as $,k as b,o as g,a as s,w as x,d as _,t as Z,x as T}from"../chunks/index.d0f7a4c4.js";import{T as wt}from"../chunks/Tip.4c7d7eb1.js";import{I as ve}from"../chunks/IconCopyLink.bc5fad79.js";import{C as L}from"../chunks/CodeBlock.4236768d.js";import{F as kt,M as $t}from"../chunks/Markdown.2bf44d4a.js";function Ct(E){let r,h='Recuerda, la arquitectura se refiere al esqueleto del modelo y los checkpoints son los pesos para una arquitectura dada. Por ejemplo, <a href="https://huggingface.co/bert-base-uncased" rel="nofollow">BERT</a> es una arquitectura, mientras que <code>bert-base-uncased</code> es un checkpoint. Modelo es un término general que puede significar una arquitectura o un checkpoint.';return{c(){r=o("p"),r.innerHTML=h},l(l){r=p(l,"P",{"data-svelte-h":!0}),$(r)!=="svelte-1wzhep4"&&(r.innerHTML=h)},m(l,u){s(l,r,u)},p:Ie,d(l){l&&t(r)}}}function xt(E){let r,h='Finalmente, las clases <code>AutoModelFor</code> te permiten cargar un modelo preentrenado para una tarea dada (revisa <a href="model_doc/auto">aquí</a> para conocer la lista completa de tareas disponibles). Por ejemplo, cargue un modelo para clasificación de secuencias con <code>AutoModelForSequenceClassification.from_pretrained()</code>:',l,u,m,d,J="Reutiliza fácilmente el mismo checkpoint para cargar una aquitectura para alguna tarea diferente:",j,v,q,y,W='Generalmente recomendamos utilizar las clases <code>AutoTokenizer</code> y <code>AutoModelFor</code> para cargar instancias pre-entrenadas de modelos. Ésto asegurará que cargues la arquitectura correcta en cada ocasión. En el siguiente <a href="preprocessing">tutorial</a>, aprende a usar tu tokenizador recién cargado, el extractor de características y el procesador para preprocesar un dataset para fine-tuning.',M;return u=new L({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Nb2RlbEZvclNlcXVlbmNlQ2xhc3NpZmljYXRpb24lMEElMEFtb2RlbCUyMCUzRCUyMEF1dG9Nb2RlbEZvclNlcXVlbmNlQ2xhc3NpZmljYXRpb24uZnJvbV9wcmV0cmFpbmVkKCUyMmRpc3RpbGJlcnQtYmFzZS11bmNhc2VkJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModelForSequenceClassification

<span class="hljs-meta">&gt;&gt;&gt; </span>model = AutoModelForSequenceClassification.from_pretrained(<span class="hljs-string">&quot;distilbert-base-uncased&quot;</span>)`,wrap:!1}}),v=new L({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Nb2RlbEZvclRva2VuQ2xhc3NpZmljYXRpb24lMEElMEFtb2RlbCUyMCUzRCUyMEF1dG9Nb2RlbEZvclRva2VuQ2xhc3NpZmljYXRpb24uZnJvbV9wcmV0cmFpbmVkKCUyMmRpc3RpbGJlcnQtYmFzZS11bmNhc2VkJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModelForTokenClassification

<span class="hljs-meta">&gt;&gt;&gt; </span>model = AutoModelForTokenClassification.from_pretrained(<span class="hljs-string">&quot;distilbert-base-uncased&quot;</span>)`,wrap:!1}}),{c(){r=o("p"),r.innerHTML=h,l=c(),k(u.$$.fragment),m=c(),d=o("p"),d.textContent=J,j=c(),k(v.$$.fragment),q=c(),y=o("p"),y.innerHTML=W},l(a){r=p(a,"P",{"data-svelte-h":!0}),$(r)!=="svelte-3za6zf"&&(r.innerHTML=h),l=i(a),C(u.$$.fragment,a),m=i(a),d=p(a,"P",{"data-svelte-h":!0}),$(d)!=="svelte-17xqunq"&&(d.textContent=J),j=i(a),C(v.$$.fragment,a),q=i(a),y=p(a,"P",{"data-svelte-h":!0}),$(y)!=="svelte-6eqqlh"&&(y.innerHTML=W)},m(a,f){s(a,r,f),s(a,l,f),x(u,a,f),s(a,m,f),s(a,d,f),s(a,j,f),x(v,a,f),s(a,q,f),s(a,y,f),M=!0},p:Ie,i(a){M||(_(u.$$.fragment,a),_(v.$$.fragment,a),M=!0)},o(a){Z(u.$$.fragment,a),Z(v.$$.fragment,a),M=!1},d(a){a&&(t(r),t(l),t(m),t(d),t(j),t(q),t(y)),T(u,a),T(v,a)}}}function _t(E){let r,h;return r=new $t({props:{$$slots:{default:[xt]},$$scope:{ctx:E}}}),{c(){k(r.$$.fragment)},l(l){C(r.$$.fragment,l)},m(l,u){x(r,l,u),h=!0},p(l,u){const m={};u&2&&(m.$$scope={dirty:u,ctx:l}),r.$set(m)},i(l){h||(_(r.$$.fragment,l),h=!0)},o(l){Z(r.$$.fragment,l),h=!1},d(l){T(r,l)}}}function Zt(E){let r,h='Finalmente, la clase <code>TFAutoModelFor</code> te permite cargar tu modelo pre-entrenado para una tarea dada (revisa <a href="model_doc/auto">aquí</a> para conocer la lista completa de tareas disponibles). Por ejemplo, carga un modelo para clasificación de secuencias con <code>TFAutoModelForSequenceClassification.from_pretrained()</code>:',l,u,m,d,J="Reutiliza fácilmente el mismo checkpoint para cargar una aquitectura para alguna tarea diferente:",j,v,q,y,W='Generalmente recomendamos utilizar las clases <code>AutoTokenizer</code> y <code>TFAutoModelFor</code> para cargar instancias de modelos pre-entrenados. Ésto asegurará que cargues la arquitectura correcta cada vez. En el siguiente <a href="preprocessing">tutorial</a>, aprende a usar tu tokenizador recién cargado, el extractor de características y el procesador para preprocesar un dataset para fine-tuning.',M;return u=new L({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMFRGQXV0b01vZGVsRm9yU2VxdWVuY2VDbGFzc2lmaWNhdGlvbiUwQSUwQW1vZGVsJTIwJTNEJTIwVEZBdXRvTW9kZWxGb3JTZXF1ZW5jZUNsYXNzaWZpY2F0aW9uLmZyb21fcHJldHJhaW5lZCglMjJkaXN0aWxiZXJ0LWJhc2UtdW5jYXNlZCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> TFAutoModelForSequenceClassification

<span class="hljs-meta">&gt;&gt;&gt; </span>model = TFAutoModelForSequenceClassification.from_pretrained(<span class="hljs-string">&quot;distilbert-base-uncased&quot;</span>)`,wrap:!1}}),v=new L({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMFRGQXV0b01vZGVsRm9yVG9rZW5DbGFzc2lmaWNhdGlvbiUwQSUwQW1vZGVsJTIwJTNEJTIwVEZBdXRvTW9kZWxGb3JUb2tlbkNsYXNzaWZpY2F0aW9uLmZyb21fcHJldHJhaW5lZCglMjJkaXN0aWxiZXJ0LWJhc2UtdW5jYXNlZCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> TFAutoModelForTokenClassification

<span class="hljs-meta">&gt;&gt;&gt; </span>model = TFAutoModelForTokenClassification.from_pretrained(<span class="hljs-string">&quot;distilbert-base-uncased&quot;</span>)`,wrap:!1}}),{c(){r=o("p"),r.innerHTML=h,l=c(),k(u.$$.fragment),m=c(),d=o("p"),d.textContent=J,j=c(),k(v.$$.fragment),q=c(),y=o("p"),y.innerHTML=W},l(a){r=p(a,"P",{"data-svelte-h":!0}),$(r)!=="svelte-6xkpop"&&(r.innerHTML=h),l=i(a),C(u.$$.fragment,a),m=i(a),d=p(a,"P",{"data-svelte-h":!0}),$(d)!=="svelte-17xqunq"&&(d.textContent=J),j=i(a),C(v.$$.fragment,a),q=i(a),y=p(a,"P",{"data-svelte-h":!0}),$(y)!=="svelte-1ujd6p5"&&(y.innerHTML=W)},m(a,f){s(a,r,f),s(a,l,f),x(u,a,f),s(a,m,f),s(a,d,f),s(a,j,f),x(v,a,f),s(a,q,f),s(a,y,f),M=!0},p:Ie,i(a){M||(_(u.$$.fragment,a),_(v.$$.fragment,a),M=!0)},o(a){Z(u.$$.fragment,a),Z(v.$$.fragment,a),M=!1},d(a){a&&(t(r),t(l),t(m),t(d),t(j),t(q),t(y)),T(u,a),T(v,a)}}}function Tt(E){let r,h;return r=new $t({props:{$$slots:{default:[Zt]},$$scope:{ctx:E}}}),{c(){k(r.$$.fragment)},l(l){C(r.$$.fragment,l)},m(l,u){x(r,l,u),h=!0},p(l,u){const m={};u&2&&(m.$$scope={dirty:u,ctx:l}),r.$set(m)},i(l){h||(_(r.$$.fragment,l),h=!0)},o(l){Z(r.$$.fragment,l),h=!1},d(l){T(r,l)}}}function qt(E){let r,h,l,u,m,d,J,j,v,q,y="Carga instancias preentrenadas con un AutoClass",W,M,a="Con tantas arquitecturas diferentes de Transformer puede ser retador crear una para tu checkpoint. Como parte de la filosofía central de 🤗 Transformers para hacer que la biblioteca sea fácil, simple y flexible de usar; una <code>AutoClass</code> automáticamente infiere y carga la arquitectura correcta desde un checkpoint dado. El método <code>from_pretrained</code> te permite cargar rápidamente un modelo preentrenado para cualquier arquitectura, por lo que no tendrás que dedicar tiempo y recursos para entrenar uno desde cero. Producir este tipo de código con checkpoint implica que si funciona con uno, funcionará también con otro (siempre que haya sido entrenado para una tarea similar) incluso si la arquitectura es distinta.",f,V,ye,X,Qe="En este tutorial, aprenderás a:",je,Y,Be="<li>Cargar un tokenizador pre-entrenado.</li> <li>Cargar un extractor de características (feature extractor en inglés) pre-entrenado.</li> <li>Cargar un procesador pre-entrenado.</li> <li>Cargar un modelo pre-entrenado.</li>",Me,A,R,de,S,Le,ce,Ke="AutoTokenizer",we,I,De="Casi cualquier tarea de Procesamiento de Lenguaje Natural comienza con un tokenizador. Un tokenizador convierte tu input a un formato que puede ser procesado por el modelo.",ke,Q,Oe="Carga un tokenizador con <code>AutoTokenizer.from_pretrained()</code>:",Ce,B,xe,K,et="Luego tokeniza tu input como lo mostrado a continuación:",_e,D,Ze,U,H,fe,O,Xe,ie,tt="AutoFeatureExtractor",Te,ee,at="Para tareas de audio y visión, un extractor de características procesa la señal de audio o imagen al formato de input correcto.",qe,te,st="Carga un extractor de características con <code>AutoFeatureExtractor.from_pretrained()</code>:",Ee,ae,Je,F,G,he,se,Ye,ue,nt="AutoProcessor",We,ne,rt='Las tareas multimodales requieren un procesador que combine dos tipos de herramientas de preprocesamiento. Por ejemplo, el modelo <a href="model_doc/layoutlmv2">LayoutLMV2</a> requiere que un extractor de características maneje las imágenes y que un tokenizador maneje el texto; un procesador combina ambas.',Ae,re,lt="Carga un procesador con <code>AutoProcessor.from_pretrained()</code>:",Ue,le,Fe,z,N,be,oe,Se,me,ot="AutoModel",ze,P,Ve,$e,Re;return j=new ve({}),V=new wt({props:{$$slots:{default:[Ct]},$$scope:{ctx:E}}}),S=new ve({}),B=new L({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Ub2tlbml6ZXIlMEElMEF0b2tlbml6ZXIlMjAlM0QlMjBBdXRvVG9rZW5pemVyLmZyb21fcHJldHJhaW5lZCglMjJiZXJ0LWJhc2UtdW5jYXNlZCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoTokenizer

<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer = AutoTokenizer.from_pretrained(<span class="hljs-string">&quot;bert-base-uncased&quot;</span>)`,wrap:!1}}),D=new L({props:{code:"c2VxdWVuY2UlMjAlM0QlMjAlMjJJbiUyMGElMjBob2xlJTIwaW4lMjB0aGUlMjBncm91bmQlMjB0aGVyZSUyMGxpdmVkJTIwYSUyMGhvYmJpdC4lMjIlMEFwcmludCh0b2tlbml6ZXIoc2VxdWVuY2UpKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>sequence = <span class="hljs-string">&quot;In a hole in the ground there lived a hobbit.&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(tokenizer(sequence))
{<span class="hljs-string">&#x27;input_ids&#x27;</span>: [<span class="hljs-number">101</span>, <span class="hljs-number">1999</span>, <span class="hljs-number">1037</span>, <span class="hljs-number">4920</span>, <span class="hljs-number">1999</span>, <span class="hljs-number">1996</span>, <span class="hljs-number">2598</span>, <span class="hljs-number">2045</span>, <span class="hljs-number">2973</span>, <span class="hljs-number">1037</span>, <span class="hljs-number">7570</span>, <span class="hljs-number">10322</span>, <span class="hljs-number">4183</span>, <span class="hljs-number">1012</span>, <span class="hljs-number">102</span>], 
 <span class="hljs-string">&#x27;token_type_ids&#x27;</span>: [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>], 
 <span class="hljs-string">&#x27;attention_mask&#x27;</span>: [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>]}`,wrap:!1}}),O=new ve({}),ae=new L({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9GZWF0dXJlRXh0cmFjdG9yJTBBJTBBZmVhdHVyZV9leHRyYWN0b3IlMjAlM0QlMjBBdXRvRmVhdHVyZUV4dHJhY3Rvci5mcm9tX3ByZXRyYWluZWQoJTBBJTIwJTIwJTIwJTIwJTIyZWhjYWxhYnJlcyUyRndhdjJ2ZWMyLWxnLXhsc3ItZW4tc3BlZWNoLWVtb3Rpb24tcmVjb2duaXRpb24lMjIlMEEp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoFeatureExtractor

<span class="hljs-meta">&gt;&gt;&gt; </span>feature_extractor = AutoFeatureExtractor.from_pretrained(
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;ehcalabres/wav2vec2-lg-xlsr-en-speech-emotion-recognition&quot;</span>
<span class="hljs-meta">... </span>)`,wrap:!1}}),se=new ve({}),le=new L({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Qcm9jZXNzb3IlMEElMEFwcm9jZXNzb3IlMjAlM0QlMjBBdXRvUHJvY2Vzc29yLmZyb21fcHJldHJhaW5lZCglMjJtaWNyb3NvZnQlMkZsYXlvdXRsbXYyLWJhc2UtdW5jYXNlZCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoProcessor

<span class="hljs-meta">&gt;&gt;&gt; </span>processor = AutoProcessor.from_pretrained(<span class="hljs-string">&quot;microsoft/layoutlmv2-base-uncased&quot;</span>)`,wrap:!1}}),oe=new ve({}),P=new kt({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[Tt],pytorch:[_t]},$$scope:{ctx:E}}}),{c(){r=o("meta"),h=c(),l=o("p"),u=c(),m=o("h1"),d=o("a"),J=o("span"),k(j.$$.fragment),v=c(),q=o("span"),q.textContent=y,W=c(),M=o("p"),M.innerHTML=a,f=c(),k(V.$$.fragment),ye=c(),X=o("p"),X.textContent=Qe,je=c(),Y=o("ul"),Y.innerHTML=Be,Me=c(),A=o("h2"),R=o("a"),de=o("span"),k(S.$$.fragment),Le=c(),ce=o("span"),ce.textContent=Ke,we=c(),I=o("p"),I.textContent=De,ke=c(),Q=o("p"),Q.innerHTML=Oe,Ce=c(),k(B.$$.fragment),xe=c(),K=o("p"),K.textContent=et,_e=c(),k(D.$$.fragment),Ze=c(),U=o("h2"),H=o("a"),fe=o("span"),k(O.$$.fragment),Xe=c(),ie=o("span"),ie.textContent=tt,Te=c(),ee=o("p"),ee.textContent=at,qe=c(),te=o("p"),te.innerHTML=st,Ee=c(),k(ae.$$.fragment),Je=c(),F=o("h2"),G=o("a"),he=o("span"),k(se.$$.fragment),Ye=c(),ue=o("span"),ue.textContent=nt,We=c(),ne=o("p"),ne.innerHTML=rt,Ae=c(),re=o("p"),re.innerHTML=lt,Ue=c(),k(le.$$.fragment),Fe=c(),z=o("h2"),N=o("a"),be=o("span"),k(oe.$$.fragment),Se=c(),me=o("span"),me.textContent=ot,ze=c(),k(P.$$.fragment),Ve=c(),$e=o("p"),this.h()},l(e){const n=Mt("svelte-1phssyn",document.head);r=p(n,"META",{name:!0,content:!0}),n.forEach(t),h=i(e),l=p(e,"P",{}),w(l).forEach(t),u=i(e),m=p(e,"H1",{class:!0});var pe=w(m);d=p(pe,"A",{id:!0,class:!0,href:!0});var ge=w(d);J=p(ge,"SPAN",{});var pt=w(J);C(j.$$.fragment,pt),pt.forEach(t),ge.forEach(t),v=i(pe),q=p(pe,"SPAN",{"data-svelte-h":!0}),$(q)!=="svelte-1u5oerg"&&(q.textContent=y),pe.forEach(t),W=i(e),M=p(e,"P",{"data-svelte-h":!0}),$(M)!=="svelte-hslbe0"&&(M.innerHTML=a),f=i(e),C(V.$$.fragment,e),ye=i(e),X=p(e,"P",{"data-svelte-h":!0}),$(X)!=="svelte-1we4q6g"&&(X.textContent=Qe),je=i(e),Y=p(e,"UL",{"data-svelte-h":!0}),$(Y)!=="svelte-16w73us"&&(Y.innerHTML=Be),Me=i(e),A=p(e,"H2",{class:!0});var He=w(A);R=p(He,"A",{id:!0,class:!0,href:!0});var ct=w(R);de=p(ct,"SPAN",{});var it=w(de);C(S.$$.fragment,it),it.forEach(t),ct.forEach(t),Le=i(He),ce=p(He,"SPAN",{"data-svelte-h":!0}),$(ce)!=="svelte-5wpjmf"&&(ce.textContent=Ke),He.forEach(t),we=i(e),I=p(e,"P",{"data-svelte-h":!0}),$(I)!=="svelte-1mbad6z"&&(I.textContent=De),ke=i(e),Q=p(e,"P",{"data-svelte-h":!0}),$(Q)!=="svelte-13gubso"&&(Q.innerHTML=Oe),Ce=i(e),C(B.$$.fragment,e),xe=i(e),K=p(e,"P",{"data-svelte-h":!0}),$(K)!=="svelte-ld3d8d"&&(K.textContent=et),_e=i(e),C(D.$$.fragment,e),Ze=i(e),U=p(e,"H2",{class:!0});var Ge=w(U);H=p(Ge,"A",{id:!0,class:!0,href:!0});var ut=w(H);fe=p(ut,"SPAN",{});var mt=w(fe);C(O.$$.fragment,mt),mt.forEach(t),ut.forEach(t),Xe=i(Ge),ie=p(Ge,"SPAN",{"data-svelte-h":!0}),$(ie)!=="svelte-qfeipy"&&(ie.textContent=tt),Ge.forEach(t),Te=i(e),ee=p(e,"P",{"data-svelte-h":!0}),$(ee)!=="svelte-1ieyatv"&&(ee.textContent=at),qe=i(e),te=p(e,"P",{"data-svelte-h":!0}),$(te)!=="svelte-2gx43z"&&(te.innerHTML=st),Ee=i(e),C(ae.$$.fragment,e),Je=i(e),F=p(e,"H2",{class:!0});var Ne=w(F);G=p(Ne,"A",{id:!0,class:!0,href:!0});var dt=w(G);he=p(dt,"SPAN",{});var ft=w(he);C(se.$$.fragment,ft),ft.forEach(t),dt.forEach(t),Ye=i(Ne),ue=p(Ne,"SPAN",{"data-svelte-h":!0}),$(ue)!=="svelte-yif3ge"&&(ue.textContent=nt),Ne.forEach(t),We=i(e),ne=p(e,"P",{"data-svelte-h":!0}),$(ne)!=="svelte-k24vuj"&&(ne.innerHTML=rt),Ae=i(e),re=p(e,"P",{"data-svelte-h":!0}),$(re)!=="svelte-1v0y89d"&&(re.innerHTML=lt),Ue=i(e),C(le.$$.fragment,e),Fe=i(e),z=p(e,"H2",{class:!0});var Pe=w(z);N=p(Pe,"A",{id:!0,class:!0,href:!0});var ht=w(N);be=p(ht,"SPAN",{});var bt=w(be);C(oe.$$.fragment,bt),bt.forEach(t),ht.forEach(t),Se=i(Pe),me=p(Pe,"SPAN",{"data-svelte-h":!0}),$(me)!=="svelte-12n7lj"&&(me.textContent=ot),Pe.forEach(t),ze=i(e),C(P.$$.fragment,e),Ve=i(e),$e=p(e,"P",{}),w($e).forEach(t),this.h()},h(){b(r,"name","hf:doc:metadata"),b(r,"content",JSON.stringify(Et)),b(d,"id","carga-instancias-preentrenadas-con-un-autoclass"),b(d,"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(d,"href","#carga-instancias-preentrenadas-con-un-autoclass"),b(m,"class","relative group"),b(R,"id","autotokenizer"),b(R,"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(R,"href","#autotokenizer"),b(A,"class","relative group"),b(H,"id","autofeatureextractor"),b(H,"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(H,"href","#autofeatureextractor"),b(U,"class","relative group"),b(G,"id","autoprocessor"),b(G,"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(G,"href","#autoprocessor"),b(F,"class","relative group"),b(N,"id","automodel"),b(N,"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(N,"href","#automodel"),b(z,"class","relative group")},m(e,n){g(document.head,r),s(e,h,n),s(e,l,n),s(e,u,n),s(e,m,n),g(m,d),g(d,J),x(j,J,null),g(m,v),g(m,q),s(e,W,n),s(e,M,n),s(e,f,n),x(V,e,n),s(e,ye,n),s(e,X,n),s(e,je,n),s(e,Y,n),s(e,Me,n),s(e,A,n),g(A,R),g(R,de),x(S,de,null),g(A,Le),g(A,ce),s(e,we,n),s(e,I,n),s(e,ke,n),s(e,Q,n),s(e,Ce,n),x(B,e,n),s(e,xe,n),s(e,K,n),s(e,_e,n),x(D,e,n),s(e,Ze,n),s(e,U,n),g(U,H),g(H,fe),x(O,fe,null),g(U,Xe),g(U,ie),s(e,Te,n),s(e,ee,n),s(e,qe,n),s(e,te,n),s(e,Ee,n),x(ae,e,n),s(e,Je,n),s(e,F,n),g(F,G),g(G,he),x(se,he,null),g(F,Ye),g(F,ue),s(e,We,n),s(e,ne,n),s(e,Ae,n),s(e,re,n),s(e,Ue,n),x(le,e,n),s(e,Fe,n),s(e,z,n),g(z,N),g(N,be),x(oe,be,null),g(z,Se),g(z,me),s(e,ze,n),x(P,e,n),s(e,Ve,n),s(e,$e,n),Re=!0},p(e,[n]){const pe={};n&2&&(pe.$$scope={dirty:n,ctx:e}),V.$set(pe);const ge={};n&2&&(ge.$$scope={dirty:n,ctx:e}),P.$set(ge)},i(e){Re||(_(j.$$.fragment,e),_(V.$$.fragment,e),_(S.$$.fragment,e),_(B.$$.fragment,e),_(D.$$.fragment,e),_(O.$$.fragment,e),_(ae.$$.fragment,e),_(se.$$.fragment,e),_(le.$$.fragment,e),_(oe.$$.fragment,e),_(P.$$.fragment,e),Re=!0)},o(e){Z(j.$$.fragment,e),Z(V.$$.fragment,e),Z(S.$$.fragment,e),Z(B.$$.fragment,e),Z(D.$$.fragment,e),Z(O.$$.fragment,e),Z(ae.$$.fragment,e),Z(se.$$.fragment,e),Z(le.$$.fragment,e),Z(oe.$$.fragment,e),Z(P.$$.fragment,e),Re=!1},d(e){e&&(t(h),t(l),t(u),t(m),t(W),t(M),t(f),t(ye),t(X),t(je),t(Y),t(Me),t(A),t(we),t(I),t(ke),t(Q),t(Ce),t(xe),t(K),t(_e),t(Ze),t(U),t(Te),t(ee),t(qe),t(te),t(Ee),t(Je),t(F),t(We),t(ne),t(Ae),t(re),t(Ue),t(Fe),t(z),t(ze),t(Ve),t($e)),t(r),T(j),T(V,e),T(S),T(B,e),T(D,e),T(O),T(ae,e),T(se),T(le,e),T(oe),T(P,e)}}}const Et={local:"carga-instancias-preentrenadas-con-un-autoclass",sections:[{local:"autotokenizer",title:"AutoTokenizer"},{local:"autofeatureextractor",title:"AutoFeatureExtractor"},{local:"autoprocessor",title:"AutoProcessor"},{local:"automodel",title:"AutoModel"}],title:"Carga instancias preentrenadas con un AutoClass"};function Jt(E){return vt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Rt extends yt{constructor(r){super(),jt(this,r,Jt,qt,gt,{})}}export{Rt as component};
