import{S as V,i as W,s as X,e as u,k as I,w as j,t as p,M as Y,c as m,d as r,m as g,x as D,a as h,h as d,b as x,G as l,g as C,y as G,q as J,o as R,B as Q,v as Z}from"../../chunks/vendor-hf-doc-builder.js";import{C as ee}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";import{F as te}from"../../chunks/FrameworkSwitchCourse-hf-doc-builder.js";import"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function le(S){let t,n,i,E,a,A,w,c,L,_,$,b;return{c(){t=u("ul"),n=u("li"),i=p("\u5982\u4F55\u4ECE\u6A21\u578B\u4E2D\u5FC3(hub)\u51C6\u5907\u5927\u578B\u6570\u636E\u96C6"),E=I(),a=u("li"),A=p("\u5982\u4F55\u4F7F\u7528 Keras \u5FAE\u8C03\u6A21\u578B"),w=I(),c=u("li"),L=p("\u5982\u4F55\u4F7F\u7528 Keras \u8FDB\u884C\u9884\u6D4B"),_=I(),$=u("li"),b=p("\u5982\u4F55\u4F7F\u7528\u81EA\u5B9A\u4E49\u6307\u6807")},l(k){t=m(k,"UL",{});var s=h(t);n=m(s,"LI",{});var P=h(n);i=d(P,"\u5982\u4F55\u4ECE\u6A21\u578B\u4E2D\u5FC3(hub)\u51C6\u5907\u5927\u578B\u6570\u636E\u96C6"),P.forEach(r),E=g(s),a=m(s,"LI",{});var v=h(a);A=d(v,"\u5982\u4F55\u4F7F\u7528 Keras \u5FAE\u8C03\u6A21\u578B"),v.forEach(r),w=g(s),c=m(s,"LI",{});var o=h(c);L=d(o,"\u5982\u4F55\u4F7F\u7528 Keras \u8FDB\u884C\u9884\u6D4B"),o.forEach(r),_=g(s),$=m(s,"LI",{});var F=h($);b=d(F,"\u5982\u4F55\u4F7F\u7528\u81EA\u5B9A\u4E49\u6307\u6807"),F.forEach(r),s.forEach(r)},m(k,s){C(k,t,s),l(t,n),l(n,i),l(t,E),l(t,a),l(a,A),l(t,w),l(t,c),l(c,L),l(t,_),l(t,$),l($,b)},d(k){k&&r(t)}}}function re(S){let t,n,i,E,a,A,w,c,L,_,$,b,k,s,P;return{c(){t=u("ul"),n=u("li"),i=p("\u5982\u4F55\u4ECE\u6A21\u578B\u4E2D\u5FC3(hub)\u51C6\u5907\u5927\u578B\u6570\u636E\u96C6"),E=I(),a=u("li"),A=p("\u5982\u4F55\u4F7F\u7528\u9AD8\u7EA7"),w=u("code"),c=p("\u8BAD\u7EC3"),L=p("API\u5FAE\u8C03\u4E00\u4E2A\u6A21\u578B"),_=I(),$=u("li"),b=p("\u5982\u4F55\u4F7F\u7528\u81EA\u5B9A\u4E49\u8BAD\u7EC3\u8FC7\u7A0B"),k=I(),s=u("li"),P=p("\u5982\u4F55\u5229\u7528\u{1F917} Accelerate\u5E93\u5728\u4EFB\u4F55\u5206\u5E03\u5F0F\u8BBE\u5907\u4E0A\u8F7B\u677E\u8FD0\u884C\u81EA\u5B9A\u4E49\u8BAD\u7EC3\u8FC7\u7A0B")},l(v){t=m(v,"UL",{});var o=h(t);n=m(o,"LI",{});var F=h(n);i=d(F,"\u5982\u4F55\u4ECE\u6A21\u578B\u4E2D\u5FC3(hub)\u51C6\u5907\u5927\u578B\u6570\u636E\u96C6"),F.forEach(r),E=g(o),a=m(o,"LI",{});var y=h(a);A=d(y,"\u5982\u4F55\u4F7F\u7528\u9AD8\u7EA7"),w=m(y,"CODE",{});var q=h(w);c=d(q,"\u8BAD\u7EC3"),q.forEach(r),L=d(y,"API\u5FAE\u8C03\u4E00\u4E2A\u6A21\u578B"),y.forEach(r),_=g(o),$=m(o,"LI",{});var K=h($);b=d(K,"\u5982\u4F55\u4F7F\u7528\u81EA\u5B9A\u4E49\u8BAD\u7EC3\u8FC7\u7A0B"),K.forEach(r),k=g(o),s=m(o,"LI",{});var z=h(s);P=d(z,"\u5982\u4F55\u5229\u7528\u{1F917} Accelerate\u5E93\u5728\u4EFB\u4F55\u5206\u5E03\u5F0F\u8BBE\u5907\u4E0A\u8F7B\u677E\u8FD0\u884C\u81EA\u5B9A\u4E49\u8BAD\u7EC3\u8FC7\u7A0B"),z.forEach(r),o.forEach(r)},m(v,o){C(v,t,o),l(t,n),l(n,i),l(t,E),l(t,a),l(a,A),l(a,w),l(w,c),l(a,L),l(t,_),l(t,$),l($,b),l(t,k),l(t,s),l(s,P)},d(v){v&&r(t)}}}function ae(S){let t,n,i,E,a,A,w,c,L,_,$,b,k,s,P,v,o,F,y,q,K;i=new te({props:{fw:S[0]}}),c=new ee({props:{chapter:3,classNames:"absolute z-10 right-0 top-0"}});function z(e,f){return e[0]==="pt"?re:le}let N=z(S),H=N(S);return{c(){t=u("meta"),n=I(),j(i.$$.fragment),E=I(),a=u("h1"),A=p("\u672C\u7AE0\u7B80\u4ECB"),w=I(),j(c.$$.fragment),L=I(),_=u("p"),$=p("\u5728 "),b=u("a"),k=p("\u7B2C\u4E8C\u7AE0"),s=p(" \u6211\u4EEC\u63A2\u7D22\u4E86\u5982\u4F55\u4F7F\u7528\u6807\u8BB0\u5668(Tokenizer)\u548C\u9884\u8BAD\u7EC3\u6A21\u578B\u8FDB\u884C\u9884\u6D4B\u3002\u4F46\u662F\uFF0C\u5982\u679C\u60A8\u60F3\u4E3A\u81EA\u5DF1\u7684\u6570\u636E\u96C6\u5FAE\u8C03\u9884\u8BAD\u7EC3\u6A21\u578B\uFF0C\u8BE5\u600E\u4E48\u505A\u5462\uFF1F\u8FD9\u5C31\u662F\u672C\u7AE0\u7684\u4E3B\u9898\uFF01\u4F60\u5C06\u5B66\u5230:"),P=I(),H.c(),v=I(),o=u("p"),F=p("\u4E3A\u4E86\u5C06\u7ECF\u8FC7\u8BAD\u7EC3\u7684\u53C2\u6570\u4E0A\u4F20\u5230Hugging Face Hub\uFF0C\u60A8\u9700\u8981\u4E00\u4E2Ahuggingface.co\u5E10\u6237: "),y=u("a"),q=p("\u521B\u5EFA\u4E00\u4E2A\u8D26\u6237"),this.h()},l(e){const f=Y('[data-svelte="svelte-1phssyn"]',document.head);t=m(f,"META",{name:!0,content:!0}),f.forEach(r),n=g(e),D(i.$$.fragment,e),E=g(e),a=m(e,"H1",{id:!0});var M=h(a);A=d(M,"\u672C\u7AE0\u7B80\u4ECB"),M.forEach(r),w=g(e),D(c.$$.fragment,e),L=g(e),_=m(e,"P",{});var T=h(_);$=d(T,"\u5728 "),b=m(T,"A",{href:!0});var B=h(b);k=d(B,"\u7B2C\u4E8C\u7AE0"),B.forEach(r),s=d(T," \u6211\u4EEC\u63A2\u7D22\u4E86\u5982\u4F55\u4F7F\u7528\u6807\u8BB0\u5668(Tokenizer)\u548C\u9884\u8BAD\u7EC3\u6A21\u578B\u8FDB\u884C\u9884\u6D4B\u3002\u4F46\u662F\uFF0C\u5982\u679C\u60A8\u60F3\u4E3A\u81EA\u5DF1\u7684\u6570\u636E\u96C6\u5FAE\u8C03\u9884\u8BAD\u7EC3\u6A21\u578B\uFF0C\u8BE5\u600E\u4E48\u505A\u5462\uFF1F\u8FD9\u5C31\u662F\u672C\u7AE0\u7684\u4E3B\u9898\uFF01\u4F60\u5C06\u5B66\u5230:"),T.forEach(r),P=g(e),H.l(e),v=g(e),o=m(e,"P",{});var U=h(o);F=d(U,"\u4E3A\u4E86\u5C06\u7ECF\u8FC7\u8BAD\u7EC3\u7684\u53C2\u6570\u4E0A\u4F20\u5230Hugging Face Hub\uFF0C\u60A8\u9700\u8981\u4E00\u4E2Ahuggingface.co\u5E10\u6237: "),y=m(U,"A",{href:!0,rel:!0});var O=h(y);q=d(O,"\u521B\u5EFA\u4E00\u4E2A\u8D26\u6237"),O.forEach(r),U.forEach(r),this.h()},h(){x(t,"name","hf:doc:metadata"),x(t,"content",JSON.stringify(oe)),x(a,"id",""),x(b,"href","/course/chapter2"),x(y,"href","https://huggingface.co/join"),x(y,"rel","nofollow")},m(e,f){l(document.head,t),C(e,n,f),G(i,e,f),C(e,E,f),C(e,a,f),l(a,A),C(e,w,f),G(c,e,f),C(e,L,f),C(e,_,f),l(_,$),l(_,b),l(b,k),l(_,s),C(e,P,f),H.m(e,f),C(e,v,f),C(e,o,f),l(o,F),l(o,y),l(y,q),K=!0},p(e,[f]){const M={};f&1&&(M.fw=e[0]),i.$set(M),N!==(N=z(e))&&(H.d(1),H=N(e),H&&(H.c(),H.m(v.parentNode,v)))},i(e){K||(J(i.$$.fragment,e),J(c.$$.fragment,e),K=!0)},o(e){R(i.$$.fragment,e),R(c.$$.fragment,e),K=!1},d(e){r(t),e&&r(n),Q(i,e),e&&r(E),e&&r(a),e&&r(w),Q(c,e),e&&r(L),e&&r(_),e&&r(P),H.d(e),e&&r(v),e&&r(o)}}}const oe={local:"",title:"\u672C\u7AE0\u7B80\u4ECB"};function se(S,t,n){let i="pt";return Z(()=>{const E=new URLSearchParams(window.location.search);n(0,i=E.get("fw")||"pt")}),[i]}class ue extends V{constructor(t){super();W(this,t,se,ae,X,{})}}export{ue as default,oe as metadata};
