import{S as qt,i as It,s as Ot,e as r,k as s,t as d,U as Ut,c as l,d as e,m as n,a as o,h as T,b as vt,F as t,g as R,L as Rt,v as Xt}from"../../chunks/vendor-bb19ac22.js";function $t(pt){let h,X,p,Y,$,u,j,k,B,z,F,v,y,c,x,K,Q,C,V,W,H,Z,g,E,i,w,tt,et,G,at,rt,M,lt,ot,_,S,st,dt,N,nt,Tt,q,ft,ht,m,I,ct,Et,O,it,_t,U,mt;return{c(){h=r("meta"),X=s(),p=r("h1"),Y=d("\u603B\u7ED3"),$=s(),u=r("p"),j=d("\u5728\u672C\u7AE0\u4E2D\uFF0C\u60A8\u4E86\u89E3\u4E86\u5982\u4F55\u4F7F\u7528\u6765\u81EA\u{1F917}Transformers\u7684\u51FD\u6570pipeline()\u5904\u7406\u4E0D\u540C\u7684NLP\u4EFB\u52A1\u3002\u60A8\u8FD8\u4E86\u89E3\u4E86\u5982\u4F55\u5728\u6A21\u578B\u4E2D\u5FC3\uFF08hub\uFF09\u4E2D\u641C\u7D22\u548C\u4F7F\u7528\u6A21\u578B\uFF0C\u4EE5\u53CA\u5982\u4F55\u4F7F\u7528\u63A8\u7406API\u76F4\u63A5\u5728\u6D4F\u89C8\u5668\u4E2D\u6D4B\u8BD5\u6A21\u578B\u3002"),k=s(),B=r("p"),z=d("\u6211\u4EEC\u8BA8\u8BBA\u4E86Transformer\u6A21\u578B\u5982\u4F55\u5728\u5E94\u7528\u5C42\u4E0A\u5DE5\u4F5C\uFF0C\u5E76\u8BA8\u8BBA\u4E86\u8FC1\u79FB\u5B66\u4E60\u548C\u5FAE\u8C03\u7684\u91CD\u8981\u6027\u3002\u60A8\u53EF\u4EE5\u4F7F\u7528\u5B8C\u6574\u7684\u4F53\u7CFB\u7ED3\u6784\uFF0C\u4E5F\u53EF\u4EE5\u4EC5\u4F7F\u7528\u7F16\u7801\u5668\u6216\u89E3\u7801\u5668\uFF0C\u5177\u4F53\u53D6\u51B3\u4E8E\u60A8\u8981\u89E3\u51B3\u7684\u4EFB\u52A1\u7C7B\u578B\u3002\u4E0B\u8868\u603B\u7ED3\u4E86\u8FD9\u4E00\u70B9\uFF1A"),F=s(),v=r("table"),y=r("thead"),c=r("tr"),x=r("th"),K=d("\u6A21\u578B"),Q=s(),C=r("th"),V=d("\u793A\u4F8B"),W=s(),H=r("th"),Z=d("\u4EFB\u52A1"),g=s(),E=r("tbody"),i=r("tr"),w=r("td"),tt=d("\u7F16\u7801\u5668"),et=s(),G=r("td"),at=d("ALBERT, BERT, DistilBERT, ELECTRA, RoBERTa"),rt=s(),M=r("td"),lt=d("\u53E5\u5B50\u5206\u7C7B\u3001\u547D\u540D\u5B9E\u4F53\u8BC6\u522B\u3001\u4ECE\u6587\u672C\u4E2D\u63D0\u53D6\u7B54\u6848"),ot=s(),_=r("tr"),S=r("td"),st=d("\u89E3\u7801\u5668"),dt=s(),N=r("td"),nt=d("CTRL, GPT, GPT-2, Transformer XL"),Tt=s(),q=r("td"),ft=d("\u6587\u672C\u751F\u6210"),ht=s(),m=r("tr"),I=r("td"),ct=d("\u7F16\u7801\u5668-\u89E3\u7801\u5668"),Et=s(),O=r("td"),it=d("BART, T5, Marian, mBART"),_t=s(),U=r("td"),mt=d("\u6587\u672C\u6458\u8981\u3001\u7FFB\u8BD1\u3001\u751F\u6210\u95EE\u9898\u7684\u56DE\u7B54"),this.h()},l(a){const f=Ut('[data-svelte="svelte-1phssyn"]',document.head);h=l(f,"META",{name:!0,content:!0}),f.forEach(e),X=n(a),p=l(a,"H1",{id:!0});var ut=o(p);Y=T(ut,"\u603B\u7ED3"),ut.forEach(e),$=n(a),u=l(a,"P",{});var Bt=o(u);j=T(Bt,"\u5728\u672C\u7AE0\u4E2D\uFF0C\u60A8\u4E86\u89E3\u4E86\u5982\u4F55\u4F7F\u7528\u6765\u81EA\u{1F917}Transformers\u7684\u51FD\u6570pipeline()\u5904\u7406\u4E0D\u540C\u7684NLP\u4EFB\u52A1\u3002\u60A8\u8FD8\u4E86\u89E3\u4E86\u5982\u4F55\u5728\u6A21\u578B\u4E2D\u5FC3\uFF08hub\uFF09\u4E2D\u641C\u7D22\u548C\u4F7F\u7528\u6A21\u578B\uFF0C\u4EE5\u53CA\u5982\u4F55\u4F7F\u7528\u63A8\u7406API\u76F4\u63A5\u5728\u6D4F\u89C8\u5668\u4E2D\u6D4B\u8BD5\u6A21\u578B\u3002"),Bt.forEach(e),k=n(a),B=l(a,"P",{});var At=o(B);z=T(At,"\u6211\u4EEC\u8BA8\u8BBA\u4E86Transformer\u6A21\u578B\u5982\u4F55\u5728\u5E94\u7528\u5C42\u4E0A\u5DE5\u4F5C\uFF0C\u5E76\u8BA8\u8BBA\u4E86\u8FC1\u79FB\u5B66\u4E60\u548C\u5FAE\u8C03\u7684\u91CD\u8981\u6027\u3002\u60A8\u53EF\u4EE5\u4F7F\u7528\u5B8C\u6574\u7684\u4F53\u7CFB\u7ED3\u6784\uFF0C\u4E5F\u53EF\u4EE5\u4EC5\u4F7F\u7528\u7F16\u7801\u5668\u6216\u89E3\u7801\u5668\uFF0C\u5177\u4F53\u53D6\u51B3\u4E8E\u60A8\u8981\u89E3\u51B3\u7684\u4EFB\u52A1\u7C7B\u578B\u3002\u4E0B\u8868\u603B\u7ED3\u4E86\u8FD9\u4E00\u70B9\uFF1A"),At.forEach(e),F=n(a),v=l(a,"TABLE",{});var J=o(v);y=l(J,"THEAD",{});var Dt=o(y);c=l(Dt,"TR",{});var A=o(c);x=l(A,"TH",{});var Lt=o(x);K=T(Lt,"\u6A21\u578B"),Lt.forEach(e),Q=n(A),C=l(A,"TH",{});var Pt=o(C);V=T(Pt,"\u793A\u4F8B"),Pt.forEach(e),W=n(A),H=l(A,"TH",{});var bt=o(H);Z=T(bt,"\u4EFB\u52A1"),bt.forEach(e),A.forEach(e),Dt.forEach(e),g=n(J),E=l(J,"TBODY",{});var D=o(E);i=l(D,"TR",{});var L=o(i);w=l(L,"TD",{});var yt=o(w);tt=T(yt,"\u7F16\u7801\u5668"),yt.forEach(e),et=n(L),G=l(L,"TD",{});var xt=o(G);at=T(xt,"ALBERT, BERT, DistilBERT, ELECTRA, RoBERTa"),xt.forEach(e),rt=n(L),M=l(L,"TD",{});var Ct=o(M);lt=T(Ct,"\u53E5\u5B50\u5206\u7C7B\u3001\u547D\u540D\u5B9E\u4F53\u8BC6\u522B\u3001\u4ECE\u6587\u672C\u4E2D\u63D0\u53D6\u7B54\u6848"),Ct.forEach(e),L.forEach(e),ot=n(D),_=l(D,"TR",{});var P=o(_);S=l(P,"TD",{});var Ht=o(S);st=T(Ht,"\u89E3\u7801\u5668"),Ht.forEach(e),dt=n(P),N=l(P,"TD",{});var wt=o(N);nt=T(wt,"CTRL, GPT, GPT-2, Transformer XL"),wt.forEach(e),Tt=n(P),q=l(P,"TD",{});var Gt=o(q);ft=T(Gt,"\u6587\u672C\u751F\u6210"),Gt.forEach(e),P.forEach(e),ht=n(D),m=l(D,"TR",{});var b=o(m);I=l(b,"TD",{});var Mt=o(I);ct=T(Mt,"\u7F16\u7801\u5668-\u89E3\u7801\u5668"),Mt.forEach(e),Et=n(b),O=l(b,"TD",{});var St=o(O);it=T(St,"BART, T5, Marian, mBART"),St.forEach(e),_t=n(b),U=l(b,"TD",{});var Nt=o(U);mt=T(Nt,"\u6587\u672C\u6458\u8981\u3001\u7FFB\u8BD1\u3001\u751F\u6210\u95EE\u9898\u7684\u56DE\u7B54"),Nt.forEach(e),b.forEach(e),D.forEach(e),J.forEach(e),this.h()},h(){vt(h,"name","hf:doc:metadata"),vt(h,"content",JSON.stringify(kt)),vt(p,"id","")},m(a,f){t(document.head,h),R(a,X,f),R(a,p,f),t(p,Y),R(a,$,f),R(a,u,f),t(u,j),R(a,k,f),R(a,B,f),t(B,z),R(a,F,f),R(a,v,f),t(v,y),t(y,c),t(c,x),t(x,K),t(c,Q),t(c,C),t(C,V),t(c,W),t(c,H),t(H,Z),t(v,g),t(v,E),t(E,i),t(i,w),t(w,tt),t(i,et),t(i,G),t(G,at),t(i,rt),t(i,M),t(M,lt),t(E,ot),t(E,_),t(_,S),t(S,st),t(_,dt),t(_,N),t(N,nt),t(_,Tt),t(_,q),t(q,ft),t(E,ht),t(E,m),t(m,I),t(I,ct),t(m,Et),t(m,O),t(O,it),t(m,_t),t(m,U),t(U,mt)},p:Rt,i:Rt,o:Rt,d(a){e(h),a&&e(X),a&&e(p),a&&e($),a&&e(u),a&&e(k),a&&e(B),a&&e(F),a&&e(v)}}}const kt={local:"",title:"\u603B\u7ED3"};function Ft(pt){return Xt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Yt extends qt{constructor(h){super();It(this,h,Ft,$t,Ot,{})}}export{Yt as default,kt as metadata};
