import{s as et,n as lt,o as nt}from"../chunks/scheduler.37c15a92.js";import{S as it,i as st,g as a,s as i,r as Q,A as at,h as u,f as l,c as s,j as V,u as W,x as m,k as X,y as ut,a as n,v as Y,d as Z,t as g,w as tt}from"../chunks/index.2bf4358c.js";import{C as rt}from"../chunks/CourseFloatingBanner.06521e8b.js";import{H as mt}from"../chunks/Heading.8ada512a.js";function ft(B){let r,h,H,P,f,U,p,d,o,D="很好地完成了到这里的课程！总而言之，在本章中，您可以：",w,_,F="<li>学习了Transformers模型的基本构造块。</li>",b,v,I="<li>了解了标记化管道的组成。</li>",y,L,N="<li>了解了如何在实践中使用Transformers模型。</li>",E,x,R="<li>学习了如何利用分词器将文本转换为模型可以理解的张量。</li>",z,T,G="<li>将分词器和模型一起设置，以从文本到预测。</li>",S,c,J="<li>了解了inputs IDs的局限性，并了解了attention mask。</li>",j,$,K="<li>使用多功能和可配置的分词器方法。</li>",k,C,O="从现在起，您应该能够自由浏览🤗 Transformers文档：词汇听起来很熟悉，并且您已经看到了大部分时间将使用的方法。",q,M,A;return f=new mt({props:{title:"基本用法完成！",local:"基本用法完成！",headingTag:"h1"}}),p=new rt({props:{chapter:2,classNames:"absolute z-10 right-0 top-0"}}),{c(){r=a("meta"),h=i(),H=a("p"),P=i(),Q(f.$$.fragment),U=i(),Q(p.$$.fragment),d=i(),o=a("p"),o.textContent=D,w=i(),_=a("ul"),_.innerHTML=F,b=i(),v=a("ul"),v.innerHTML=I,y=i(),L=a("ul"),L.innerHTML=N,E=i(),x=a("ul"),x.innerHTML=R,z=i(),T=a("ul"),T.innerHTML=G,S=i(),c=a("ul"),c.innerHTML=J,j=i(),$=a("ul"),$.innerHTML=K,k=i(),C=a("p"),C.textContent=O,q=i(),M=a("p"),this.h()},l(t){const e=at("svelte-u9bgzb",document.head);r=u(e,"META",{name:!0,content:!0}),e.forEach(l),h=s(t),H=u(t,"P",{}),V(H).forEach(l),P=s(t),W(f.$$.fragment,t),U=s(t),W(p.$$.fragment,t),d=s(t),o=u(t,"P",{"data-svelte-h":!0}),m(o)!=="svelte-1x5xbr9"&&(o.textContent=D),w=s(t),_=u(t,"UL",{"data-svelte-h":!0}),m(_)!=="svelte-3u49pe"&&(_.innerHTML=F),b=s(t),v=u(t,"UL",{"data-svelte-h":!0}),m(v)!=="svelte-9850bj"&&(v.innerHTML=I),y=s(t),L=u(t,"UL",{"data-svelte-h":!0}),m(L)!=="svelte-93cxeo"&&(L.innerHTML=N),E=s(t),x=u(t,"UL",{"data-svelte-h":!0}),m(x)!=="svelte-ggg8p9"&&(x.innerHTML=R),z=s(t),T=u(t,"UL",{"data-svelte-h":!0}),m(T)!=="svelte-t1zg56"&&(T.innerHTML=G),S=s(t),c=u(t,"UL",{"data-svelte-h":!0}),m(c)!=="svelte-1tu57qr"&&(c.innerHTML=J),j=s(t),$=u(t,"UL",{"data-svelte-h":!0}),m($)!=="svelte-y5pgc9"&&($.innerHTML=K),k=s(t),C=u(t,"P",{"data-svelte-h":!0}),m(C)!=="svelte-npr1vt"&&(C.textContent=O),q=s(t),M=u(t,"P",{}),V(M).forEach(l),this.h()},h(){X(r,"name","hf:doc:metadata"),X(r,"content",pt)},m(t,e){ut(document.head,r),n(t,h,e),n(t,H,e),n(t,P,e),Y(f,t,e),n(t,U,e),Y(p,t,e),n(t,d,e),n(t,o,e),n(t,w,e),n(t,_,e),n(t,b,e),n(t,v,e),n(t,y,e),n(t,L,e),n(t,E,e),n(t,x,e),n(t,z,e),n(t,T,e),n(t,S,e),n(t,c,e),n(t,j,e),n(t,$,e),n(t,k,e),n(t,C,e),n(t,q,e),n(t,M,e),A=!0},p:lt,i(t){A||(Z(f.$$.fragment,t),Z(p.$$.fragment,t),A=!0)},o(t){g(f.$$.fragment,t),g(p.$$.fragment,t),A=!1},d(t){t&&(l(h),l(H),l(P),l(U),l(d),l(o),l(w),l(_),l(b),l(v),l(y),l(L),l(E),l(x),l(z),l(T),l(S),l(c),l(j),l($),l(k),l(C),l(q),l(M)),l(r),tt(f,t),tt(p,t)}}}const pt='{"title":"基本用法完成！","local":"基本用法完成！","sections":[],"depth":1}';function ot(B){return nt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Tt extends it{constructor(r){super(),st(this,r,ot,ft,et,{})}}export{Tt as component};
