import{S as O,i as j,s as B,e as f,k as g,w as D,t as m,M as G,c as u,d as a,m as P,x as J,a as h,h as p,b as x,G as l,g as H,y as R,q as Q,o as V,B as W,v as X}from"../../chunks/vendor-hf-doc-builder.js";import{F as Y}from"../../chunks/FrameworkSwitchCourse-hf-doc-builder.js";function Z(K){let t,n,i,v,o,y,E,c,I,w,d,A;return{c(){t=f("ul"),n=f("li"),i=m("\u5982\u4F55\u4ECE\u6A21\u578B\u4E2D\u5FC3(hub)\u51C6\u5907\u5927\u578B\u6570\u636E\u96C6"),v=g(),o=f("li"),y=m("\u5982\u4F55\u4F7F\u7528 Keras \u5FAE\u8C03\u6A21\u578B"),E=g(),c=f("li"),I=m("\u5982\u4F55\u4F7F\u7528 Keras \u8FDB\u884C\u9884\u6D4B"),w=g(),d=f("li"),A=m("\u5982\u4F55\u4F7F\u7528\u81EA\u5B9A\u4E49\u6307\u6807")},l($){t=u($,"UL",{});var r=h(t);n=u(r,"LI",{});var b=h(n);i=p(b,"\u5982\u4F55\u4ECE\u6A21\u578B\u4E2D\u5FC3(hub)\u51C6\u5907\u5927\u578B\u6570\u636E\u96C6"),b.forEach(a),v=P(r),o=u(r,"LI",{});var k=h(o);y=p(k,"\u5982\u4F55\u4F7F\u7528 Keras \u5FAE\u8C03\u6A21\u578B"),k.forEach(a),E=P(r),c=u(r,"LI",{});var s=h(c);I=p(s,"\u5982\u4F55\u4F7F\u7528 Keras \u8FDB\u884C\u9884\u6D4B"),s.forEach(a),w=P(r),d=u(r,"LI",{});var S=h(d);A=p(S,"\u5982\u4F55\u4F7F\u7528\u81EA\u5B9A\u4E49\u6307\u6807"),S.forEach(a),r.forEach(a)},m($,r){H($,t,r),l(t,n),l(n,i),l(t,v),l(t,o),l(o,y),l(t,E),l(t,c),l(c,I),l(t,w),l(t,d),l(d,A)},d($){$&&a(t)}}}function ee(K){let t,n,i,v,o,y,E,c,I,w,d,A,$,r,b;return{c(){t=f("ul"),n=f("li"),i=m("\u5982\u4F55\u4ECE\u6A21\u578B\u4E2D\u5FC3(hub)\u51C6\u5907\u5927\u578B\u6570\u636E\u96C6"),v=g(),o=f("li"),y=m("\u5982\u4F55\u4F7F\u7528\u9AD8\u7EA7"),E=f("code"),c=m("\u8BAD\u7EC3"),I=m("API\u5FAE\u8C03\u4E00\u4E2A\u6A21\u578B"),w=g(),d=f("li"),A=m("\u5982\u4F55\u4F7F\u7528\u81EA\u5B9A\u4E49\u8BAD\u7EC3\u8FC7\u7A0B"),$=g(),r=f("li"),b=m("\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(k){t=u(k,"UL",{});var s=h(t);n=u(s,"LI",{});var S=h(n);i=p(S,"\u5982\u4F55\u4ECE\u6A21\u578B\u4E2D\u5FC3(hub)\u51C6\u5907\u5927\u578B\u6570\u636E\u96C6"),S.forEach(a),v=P(s),o=u(s,"LI",{});var F=h(o);y=p(F,"\u5982\u4F55\u4F7F\u7528\u9AD8\u7EA7"),E=u(F,"CODE",{});var C=h(E);c=p(C,"\u8BAD\u7EC3"),C.forEach(a),I=p(F,"API\u5FAE\u8C03\u4E00\u4E2A\u6A21\u578B"),F.forEach(a),w=P(s),d=u(s,"LI",{});var q=h(d);A=p(q,"\u5982\u4F55\u4F7F\u7528\u81EA\u5B9A\u4E49\u8BAD\u7EC3\u8FC7\u7A0B"),q.forEach(a),$=P(s),r=u(s,"LI",{});var L=h(r);b=p(L,"\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.forEach(a),s.forEach(a)},m(k,s){H(k,t,s),l(t,n),l(n,i),l(t,v),l(t,o),l(o,y),l(o,E),l(E,c),l(o,I),l(t,w),l(t,d),l(d,A),l(t,$),l(t,r),l(r,b)},d(k){k&&a(t)}}}function te(K){let t,n,i,v,o,y,E,c,I,w,d,A,$,r,b,k,s,S,F;i=new Y({props:{fw:K[0]}});function C(e,_){return e[0]==="pt"?ee:Z}let q=C(K),L=q(K);return{c(){t=f("meta"),n=g(),D(i.$$.fragment),v=g(),o=f("h1"),y=m("\u4ECB\u7ECD"),E=g(),c=f("p"),I=m("\u5728 "),w=f("a"),d=m("\u7B2C\u4E8C\u7AE0"),A=m(" \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:"),$=g(),L.c(),r=g(),b=f("p"),k=m("\u4E3A\u4E86\u5C06\u7ECF\u8FC7\u8BAD\u7EC3\u7684\u53C2\u6570\u4E0A\u4F20\u5230Hugging Face Hub\uFF0C\u60A8\u9700\u8981\u4E00\u4E2Ahuggingface.co\u5E10\u6237: "),s=f("a"),S=m("\u521B\u5EFA\u4E00\u4E2A\u8D26\u6237"),this.h()},l(e){const _=G('[data-svelte="svelte-1phssyn"]',document.head);t=u(_,"META",{name:!0,content:!0}),_.forEach(a),n=P(e),J(i.$$.fragment,e),v=P(e),o=u(e,"H1",{id:!0});var M=h(o);y=p(M,"\u4ECB\u7ECD"),M.forEach(a),E=P(e),c=u(e,"P",{});var T=h(c);I=p(T,"\u5728 "),w=u(T,"A",{href:!0});var z=h(w);d=p(z,"\u7B2C\u4E8C\u7AE0"),z.forEach(a),A=p(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(a),$=P(e),L.l(e),r=P(e),b=u(e,"P",{});var U=h(b);k=p(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: "),s=u(U,"A",{href:!0,rel:!0});var N=h(s);S=p(N,"\u521B\u5EFA\u4E00\u4E2A\u8D26\u6237"),N.forEach(a),U.forEach(a),this.h()},h(){x(t,"name","hf:doc:metadata"),x(t,"content",JSON.stringify(le)),x(o,"id",""),x(w,"href","/course/chapter2"),x(s,"href","https://huggingface.co/join"),x(s,"rel","nofollow")},m(e,_){l(document.head,t),H(e,n,_),R(i,e,_),H(e,v,_),H(e,o,_),l(o,y),H(e,E,_),H(e,c,_),l(c,I),l(c,w),l(w,d),l(c,A),H(e,$,_),L.m(e,_),H(e,r,_),H(e,b,_),l(b,k),l(b,s),l(s,S),F=!0},p(e,[_]){const M={};_&1&&(M.fw=e[0]),i.$set(M),q!==(q=C(e))&&(L.d(1),L=q(e),L&&(L.c(),L.m(r.parentNode,r)))},i(e){F||(Q(i.$$.fragment,e),F=!0)},o(e){V(i.$$.fragment,e),F=!1},d(e){a(t),e&&a(n),W(i,e),e&&a(v),e&&a(o),e&&a(E),e&&a(c),e&&a($),L.d(e),e&&a(r),e&&a(b)}}}const le={local:"",title:"\u4ECB\u7ECD"};function ae(K,t,n){let i="pt";return X(()=>{const v=new URLSearchParams(window.location.search);n(0,i=v.get("fw")||"pt")}),[i]}class se extends O{constructor(t){super();j(this,t,ae,te,B,{})}}export{se as default,le as metadata};
