import{s as Ut,n as Nt,o as Rt}from"../chunks/scheduler.01eeda35.js";import{S as Bt,i as Zt,g as s,s as n,r as d,A as Gt,h as i,f as r,c as a,j as v,u as c,x as l,k as $,y as t,a as p,v as u,d as f,t as g,w as h}from"../chunks/index.6dd51b66.js";import{D as _}from"../chunks/Docstring.76e6b3cf.js";import{H as Ye,E as Kt}from"../chunks/EditOnGithub.7faefd25.js";function Xt(yt){let w,Fe,ye,Ce,z,Te,A,wt="此页面列出了库为pipelines提供的所有实用程序功能。",Le,I,Ft="其中大多数只有在您研究库中模型的代码时才有用。",He,V,Ee,F,W,et,ne,Ct='Base interface for handling arguments for each <a href="/docs/transformers/main/zh/main_classes/pipelines#transformers.Pipeline">Pipeline</a>.',ke,C,q,tt,ae,Tt=`Handles arguments for zero-shot for text classification by turning each possible label into an NLI
premise/hypothesis pair.`,Me,P,j,rt,oe,Lt=`QuestionAnsweringPipeline requires the user to provide multiple arguments (i.e. question &amp; context) to be mapped to
internal <code>SquadExample</code>.`,nt,se,Ht=`QuestionAnsweringArgumentHandler manages all the possible to create a <code>SquadExample</code> from the command-line
supplied arguments.`,Oe,J,Se,m,Q,at,ie,Et=`Base class for all the pipeline supported data format both for reading and writing. Supported data formats
currently includes:`,ot,pe,kt="<li>JSON</li> <li>CSV</li> <li>stdin/stdout (pipe)</li>",st,le,Mt=`<code>PipelineDataFormat</code> also includes some utilities to work with multi-columns like mapping from datasets columns to
pipelines keyword arguments through the <code>dataset_kwarg_1=dataset_column_1</code> format.`,it,L,U,pt,me,Ot='Creates an instance of the right subclass of <a href="/docs/transformers/main/zh/internal/pipelines_utils#transformers.PipelineDataFormat">PipelineDataFormat</a> depending on <code>format</code>.',lt,H,N,mt,de,St='Save the provided data object with the representation for the current <a href="/docs/transformers/main/zh/internal/pipelines_utils#transformers.PipelineDataFormat">PipelineDataFormat</a>.',dt,E,R,ct,ce,zt="Save the provided data object as a pickle-formatted binary data on the disk.",ze,D,B,ut,ue,At="Support for pipelines using CSV data format.",ft,k,Z,gt,fe,It='Save the provided data object with the representation for the current <a href="/docs/transformers/main/zh/internal/pipelines_utils#transformers.PipelineDataFormat">PipelineDataFormat</a>.',Ae,y,G,ht,ge,Vt="Support for pipelines using JSON file format.",vt,M,K,$t,he,Wt="Save the provided data object in a json file.",Ie,x,X,bt,ve,qt="Read data from piped input to the python process. For multi columns data, columns should separated by",_t,$e,jt="If columns are provided, then the output will be a dictionary with {column_x: value_x}",xt,O,Y,Pt,be,Jt="Print the data.",Ve,ee,We,T,te,Dt,_e,Qt='Raised by a <a href="/docs/transformers/main/zh/main_classes/pipelines#transformers.Pipeline">Pipeline</a> when handling <strong>call</strong>.',qe,re,je,we,Je;return z=new Ye({props:{title:"pipelines的工具",local:"pipelines的工具",headingTag:"h1"}}),V=new Ye({props:{title:"参数处理",local:"transformers.pipelines.ArgumentHandler",headingTag:"h2"}}),W=new _({props:{name:"class transformers.pipelines.ArgumentHandler",anchor:"transformers.pipelines.ArgumentHandler",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L445"}}),q=new _({props:{name:"class transformers.pipelines.ZeroShotClassificationArgumentHandler",anchor:"transformers.pipelines.ZeroShotClassificationArgumentHandler",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/zero_shot_classification.py#L14"}}),j=new _({props:{name:"class transformers.pipelines.QuestionAnsweringArgumentHandler",anchor:"transformers.pipelines.QuestionAnsweringArgumentHandler",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/question_answering.py#L150"}}),J=new Ye({props:{title:"数据格式",local:"transformers.PipelineDataFormat",headingTag:"h2"}}),Q=new _({props:{name:"class transformers.PipelineDataFormat",anchor:"transformers.PipelineDataFormat",parameters:[{name:"output_path",val:": typing.Optional[str]"},{name:"input_path",val:": typing.Optional[str]"},{name:"column",val:": typing.Optional[str]"},{name:"overwrite",val:": bool = False"}],parametersDescription:[{anchor:"transformers.PipelineDataFormat.output_path",description:"<strong>output_path</strong> (<code>str</code>) &#x2014; Where to save the outgoing data.",name:"output_path"},{anchor:"transformers.PipelineDataFormat.input_path",description:"<strong>input_path</strong> (<code>str</code>) &#x2014; Where to look for the input data.",name:"input_path"},{anchor:"transformers.PipelineDataFormat.column",description:"<strong>column</strong> (<code>str</code>) &#x2014; The column to read.",name:"column"},{anchor:"transformers.PipelineDataFormat.overwrite",description:`<strong>overwrite</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to overwrite the <code>output_path</code>.`,name:"overwrite"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L455"}}),U=new _({props:{name:"from_str",anchor:"transformers.PipelineDataFormat.from_str",parameters:[{name:"format",val:": str"},{name:"output_path",val:": typing.Optional[str]"},{name:"input_path",val:": typing.Optional[str]"},{name:"column",val:": typing.Optional[str]"},{name:"overwrite",val:" = False"}],parametersDescription:[{anchor:"transformers.PipelineDataFormat.from_str.format",description:`<strong>format</strong> (<code>str</code>) &#x2014;
The format of the desired pipeline. Acceptable values are <code>&quot;json&quot;</code>, <code>&quot;csv&quot;</code> or <code>&quot;pipe&quot;</code>.`,name:"format"},{anchor:"transformers.PipelineDataFormat.from_str.output_path",description:`<strong>output_path</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Where to save the outgoing data.`,name:"output_path"},{anchor:"transformers.PipelineDataFormat.from_str.input_path",description:`<strong>input_path</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Where to look for the input data.`,name:"input_path"},{anchor:"transformers.PipelineDataFormat.from_str.column",description:`<strong>column</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The column to read.`,name:"column"},{anchor:"transformers.PipelineDataFormat.from_str.overwrite",description:`<strong>overwrite</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to overwrite the <code>output_path</code>.`,name:"overwrite"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L532",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The proper data format.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/transformers/main/zh/internal/pipelines_utils#transformers.PipelineDataFormat"
>PipelineDataFormat</a></p>
`}}),N=new _({props:{name:"save",anchor:"transformers.PipelineDataFormat.save",parameters:[{name:"data",val:": typing.Union[dict, typing.List[dict]]"}],parametersDescription:[{anchor:"transformers.PipelineDataFormat.save.data",description:"<strong>data</strong> (<code>dict</code> or list of <code>dict</code>) &#x2014; The data to store.",name:"data"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L504"}}),R=new _({props:{name:"save_binary",anchor:"transformers.PipelineDataFormat.save_binary",parameters:[{name:"data",val:": typing.Union[dict, typing.List[dict]]"}],parametersDescription:[{anchor:"transformers.PipelineDataFormat.save_binary.data",description:"<strong>data</strong> (<code>dict</code> or list of <code>dict</code>) &#x2014; The data to store.",name:"data"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L514",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Path where the data has been saved.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>str</code></p>
`}}),B=new _({props:{name:"class transformers.CsvPipelineDataFormat",anchor:"transformers.CsvPipelineDataFormat",parameters:[{name:"output_path",val:": typing.Optional[str]"},{name:"input_path",val:": typing.Optional[str]"},{name:"column",val:": typing.Optional[str]"},{name:"overwrite",val:" = False"}],parametersDescription:[{anchor:"transformers.CsvPipelineDataFormat.output_path",description:"<strong>output_path</strong> (<code>str</code>) &#x2014; Where to save the outgoing data.",name:"output_path"},{anchor:"transformers.CsvPipelineDataFormat.input_path",description:"<strong>input_path</strong> (<code>str</code>) &#x2014; Where to look for the input data.",name:"input_path"},{anchor:"transformers.CsvPipelineDataFormat.column",description:"<strong>column</strong> (<code>str</code>) &#x2014; The column to read.",name:"column"},{anchor:"transformers.CsvPipelineDataFormat.overwrite",description:`<strong>overwrite</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to overwrite the <code>output_path</code>.`,name:"overwrite"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L568"}}),Z=new _({props:{name:"save",anchor:"transformers.CsvPipelineDataFormat.save",parameters:[{name:"data",val:": typing.List[dict]"}],parametersDescription:[{anchor:"transformers.CsvPipelineDataFormat.save.data",description:"<strong>data</strong> (<code>List[dict]</code>) &#x2014; The data to store.",name:"data"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L598"}}),G=new _({props:{name:"class transformers.JsonPipelineDataFormat",anchor:"transformers.JsonPipelineDataFormat",parameters:[{name:"output_path",val:": typing.Optional[str]"},{name:"input_path",val:": typing.Optional[str]"},{name:"column",val:": typing.Optional[str]"},{name:"overwrite",val:" = False"}],parametersDescription:[{anchor:"transformers.JsonPipelineDataFormat.output_path",description:"<strong>output_path</strong> (<code>str</code>) &#x2014; Where to save the outgoing data.",name:"output_path"},{anchor:"transformers.JsonPipelineDataFormat.input_path",description:"<strong>input_path</strong> (<code>str</code>) &#x2014; Where to look for the input data.",name:"input_path"},{anchor:"transformers.JsonPipelineDataFormat.column",description:"<strong>column</strong> (<code>str</code>) &#x2014; The column to read.",name:"column"},{anchor:"transformers.JsonPipelineDataFormat.overwrite",description:`<strong>overwrite</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to overwrite the <code>output_path</code>.`,name:"overwrite"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L612"}}),K=new _({props:{name:"save",anchor:"transformers.JsonPipelineDataFormat.save",parameters:[{name:"data",val:": dict"}],parametersDescription:[{anchor:"transformers.JsonPipelineDataFormat.save.data",description:"<strong>data</strong> (<code>dict</code>) &#x2014; The data to store.",name:"data"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L643"}}),X=new _({props:{name:"class transformers.PipedPipelineDataFormat",anchor:"transformers.PipedPipelineDataFormat",parameters:[{name:"output_path",val:": typing.Optional[str]"},{name:"input_path",val:": typing.Optional[str]"},{name:"column",val:": typing.Optional[str]"},{name:"overwrite",val:": bool = False"}],parametersDescription:[{anchor:"transformers.PipedPipelineDataFormat.output_path",description:"<strong>output_path</strong> (<code>str</code>) &#x2014; Where to save the outgoing data.",name:"output_path"},{anchor:"transformers.PipedPipelineDataFormat.input_path",description:"<strong>input_path</strong> (<code>str</code>) &#x2014; Where to look for the input data.",name:"input_path"},{anchor:"transformers.PipedPipelineDataFormat.column",description:"<strong>column</strong> (<code>str</code>) &#x2014; The column to read.",name:"column"},{anchor:"transformers.PipedPipelineDataFormat.overwrite",description:`<strong>overwrite</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to overwrite the <code>output_path</code>.`,name:"overwrite"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L654"}}),Y=new _({props:{name:"save",anchor:"transformers.PipedPipelineDataFormat.save",parameters:[{name:"data",val:": dict"}],parametersDescription:[{anchor:"transformers.PipedPipelineDataFormat.save.data",description:"<strong>data</strong> (<code>dict</code>) &#x2014; The data to store.",name:"data"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L683"}}),ee=new Ye({props:{title:"实用函数",local:"transformers.pipelines.PipelineException",headingTag:"h2"}}),te=new _({props:{name:"class transformers.pipelines.PipelineException",anchor:"transformers.pipelines.PipelineException",parameters:[{name:"task",val:": str"},{name:"model",val:": str"},{name:"reason",val:": str"}],parametersDescription:[{anchor:"transformers.pipelines.PipelineException.task",description:"<strong>task</strong> (<code>str</code>) &#x2014; The task of the pipeline.",name:"task"},{anchor:"transformers.pipelines.PipelineException.model",description:"<strong>model</strong> (<code>str</code>) &#x2014; The model used by the pipeline.",name:"model"},{anchor:"transformers.pipelines.PipelineException.reason",description:"<strong>reason</strong> (<code>str</code>) &#x2014; The error message to display.",name:"reason"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L428"}}),re=new Kt({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/zh/internal/pipelines_utils.md"}}),{c(){w=s("meta"),Fe=n(),ye=s("p"),Ce=n(),d(z.$$.fragment),Te=n(),A=s("p"),A.textContent=wt,Le=n(),I=s("p"),I.textContent=Ft,He=n(),d(V.$$.fragment),Ee=n(),F=s("div"),d(W.$$.fragment),et=n(),ne=s("p"),ne.innerHTML=Ct,ke=n(),C=s("div"),d(q.$$.fragment),tt=n(),ae=s("p"),ae.textContent=Tt,Me=n(),P=s("div"),d(j.$$.fragment),rt=n(),oe=s("p"),oe.innerHTML=Lt,nt=n(),se=s("p"),se.innerHTML=Ht,Oe=n(),d(J.$$.fragment),Se=n(),m=s("div"),d(Q.$$.fragment),at=n(),ie=s("p"),ie.textContent=Et,ot=n(),pe=s("ul"),pe.innerHTML=kt,st=n(),le=s("p"),le.innerHTML=Mt,it=n(),L=s("div"),d(U.$$.fragment),pt=n(),me=s("p"),me.innerHTML=Ot,lt=n(),H=s("div"),d(N.$$.fragment),mt=n(),de=s("p"),de.innerHTML=St,dt=n(),E=s("div"),d(R.$$.fragment),ct=n(),ce=s("p"),ce.textContent=zt,ze=n(),D=s("div"),d(B.$$.fragment),ut=n(),ue=s("p"),ue.textContent=At,ft=n(),k=s("div"),d(Z.$$.fragment),gt=n(),fe=s("p"),fe.innerHTML=It,Ae=n(),y=s("div"),d(G.$$.fragment),ht=n(),ge=s("p"),ge.textContent=Vt,vt=n(),M=s("div"),d(K.$$.fragment),$t=n(),he=s("p"),he.textContent=Wt,Ie=n(),x=s("div"),d(X.$$.fragment),bt=n(),ve=s("p"),ve.textContent=qt,_t=n(),$e=s("p"),$e.textContent=jt,xt=n(),O=s("div"),d(Y.$$.fragment),Pt=n(),be=s("p"),be.textContent=Jt,Ve=n(),d(ee.$$.fragment),We=n(),T=s("div"),d(te.$$.fragment),Dt=n(),_e=s("p"),_e.innerHTML=Qt,qe=n(),d(re.$$.fragment),je=n(),we=s("p"),this.h()},l(e){const o=Gt("svelte-u9bgzb",document.head);w=i(o,"META",{name:!0,content:!0}),o.forEach(r),Fe=a(e),ye=i(e,"P",{}),v(ye).forEach(r),Ce=a(e),c(z.$$.fragment,e),Te=a(e),A=i(e,"P",{"data-svelte-h":!0}),l(A)!=="svelte-9v1sbi"&&(A.textContent=wt),Le=a(e),I=i(e,"P",{"data-svelte-h":!0}),l(I)!=="svelte-1k2ylrx"&&(I.textContent=Ft),He=a(e),c(V.$$.fragment,e),Ee=a(e),F=i(e,"DIV",{class:!0});var Qe=v(F);c(W.$$.fragment,Qe),et=a(Qe),ne=i(Qe,"P",{"data-svelte-h":!0}),l(ne)!=="svelte-49f11l"&&(ne.innerHTML=Ct),Qe.forEach(r),ke=a(e),C=i(e,"DIV",{class:!0});var Ue=v(C);c(q.$$.fragment,Ue),tt=a(Ue),ae=i(Ue,"P",{"data-svelte-h":!0}),l(ae)!=="svelte-1hjf3sf"&&(ae.textContent=Tt),Ue.forEach(r),Me=a(e),P=i(e,"DIV",{class:!0});var xe=v(P);c(j.$$.fragment,xe),rt=a(xe),oe=i(xe,"P",{"data-svelte-h":!0}),l(oe)!=="svelte-12i18ng"&&(oe.innerHTML=Lt),nt=a(xe),se=i(xe,"P",{"data-svelte-h":!0}),l(se)!=="svelte-z2nze2"&&(se.innerHTML=Ht),xe.forEach(r),Oe=a(e),c(J.$$.fragment,e),Se=a(e),m=i(e,"DIV",{class:!0});var b=v(m);c(Q.$$.fragment,b),at=a(b),ie=i(b,"P",{"data-svelte-h":!0}),l(ie)!=="svelte-1mb1edh"&&(ie.textContent=Et),ot=a(b),pe=i(b,"UL",{"data-svelte-h":!0}),l(pe)!=="svelte-1uf4n4e"&&(pe.innerHTML=kt),st=a(b),le=i(b,"P",{"data-svelte-h":!0}),l(le)!=="svelte-u9lis0"&&(le.innerHTML=Mt),it=a(b),L=i(b,"DIV",{class:!0});var Ne=v(L);c(U.$$.fragment,Ne),pt=a(Ne),me=i(Ne,"P",{"data-svelte-h":!0}),l(me)!=="svelte-19079a5"&&(me.innerHTML=Ot),Ne.forEach(r),lt=a(b),H=i(b,"DIV",{class:!0});var Re=v(H);c(N.$$.fragment,Re),mt=a(Re),de=i(Re,"P",{"data-svelte-h":!0}),l(de)!=="svelte-1c5zcz7"&&(de.innerHTML=St),Re.forEach(r),dt=a(b),E=i(b,"DIV",{class:!0});var Be=v(E);c(R.$$.fragment,Be),ct=a(Be),ce=i(Be,"P",{"data-svelte-h":!0}),l(ce)!=="svelte-i36752"&&(ce.textContent=zt),Be.forEach(r),b.forEach(r),ze=a(e),D=i(e,"DIV",{class:!0});var Pe=v(D);c(B.$$.fragment,Pe),ut=a(Pe),ue=i(Pe,"P",{"data-svelte-h":!0}),l(ue)!=="svelte-jm6p0u"&&(ue.textContent=At),ft=a(Pe),k=i(Pe,"DIV",{class:!0});var Ze=v(k);c(Z.$$.fragment,Ze),gt=a(Ze),fe=i(Ze,"P",{"data-svelte-h":!0}),l(fe)!=="svelte-1c5zcz7"&&(fe.innerHTML=It),Ze.forEach(r),Pe.forEach(r),Ae=a(e),y=i(e,"DIV",{class:!0});var De=v(y);c(G.$$.fragment,De),ht=a(De),ge=i(De,"P",{"data-svelte-h":!0}),l(ge)!=="svelte-jpmp8k"&&(ge.textContent=Vt),vt=a(De),M=i(De,"DIV",{class:!0});var Ge=v(M);c(K.$$.fragment,Ge),$t=a(Ge),he=i(Ge,"P",{"data-svelte-h":!0}),l(he)!=="svelte-1ly8fsk"&&(he.textContent=Wt),Ge.forEach(r),De.forEach(r),Ie=a(e),x=i(e,"DIV",{class:!0});var S=v(x);c(X.$$.fragment,S),bt=a(S),ve=i(S,"P",{"data-svelte-h":!0}),l(ve)!=="svelte-vxtild"&&(ve.textContent=qt),_t=a(S),$e=i(S,"P",{"data-svelte-h":!0}),l($e)!=="svelte-83moxo"&&($e.textContent=jt),xt=a(S),O=i(S,"DIV",{class:!0});var Ke=v(O);c(Y.$$.fragment,Ke),Pt=a(Ke),be=i(Ke,"P",{"data-svelte-h":!0}),l(be)!=="svelte-v6konq"&&(be.textContent=Jt),Ke.forEach(r),S.forEach(r),Ve=a(e),c(ee.$$.fragment,e),We=a(e),T=i(e,"DIV",{class:!0});var Xe=v(T);c(te.$$.fragment,Xe),Dt=a(Xe),_e=i(Xe,"P",{"data-svelte-h":!0}),l(_e)!=="svelte-1pv543b"&&(_e.innerHTML=Qt),Xe.forEach(r),qe=a(e),c(re.$$.fragment,e),je=a(e),we=i(e,"P",{}),v(we).forEach(r),this.h()},h(){$(w,"name","hf:doc:metadata"),$(w,"content",Yt),$(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(m,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,o){t(document.head,w),p(e,Fe,o),p(e,ye,o),p(e,Ce,o),u(z,e,o),p(e,Te,o),p(e,A,o),p(e,Le,o),p(e,I,o),p(e,He,o),u(V,e,o),p(e,Ee,o),p(e,F,o),u(W,F,null),t(F,et),t(F,ne),p(e,ke,o),p(e,C,o),u(q,C,null),t(C,tt),t(C,ae),p(e,Me,o),p(e,P,o),u(j,P,null),t(P,rt),t(P,oe),t(P,nt),t(P,se),p(e,Oe,o),u(J,e,o),p(e,Se,o),p(e,m,o),u(Q,m,null),t(m,at),t(m,ie),t(m,ot),t(m,pe),t(m,st),t(m,le),t(m,it),t(m,L),u(U,L,null),t(L,pt),t(L,me),t(m,lt),t(m,H),u(N,H,null),t(H,mt),t(H,de),t(m,dt),t(m,E),u(R,E,null),t(E,ct),t(E,ce),p(e,ze,o),p(e,D,o),u(B,D,null),t(D,ut),t(D,ue),t(D,ft),t(D,k),u(Z,k,null),t(k,gt),t(k,fe),p(e,Ae,o),p(e,y,o),u(G,y,null),t(y,ht),t(y,ge),t(y,vt),t(y,M),u(K,M,null),t(M,$t),t(M,he),p(e,Ie,o),p(e,x,o),u(X,x,null),t(x,bt),t(x,ve),t(x,_t),t(x,$e),t(x,xt),t(x,O),u(Y,O,null),t(O,Pt),t(O,be),p(e,Ve,o),u(ee,e,o),p(e,We,o),p(e,T,o),u(te,T,null),t(T,Dt),t(T,_e),p(e,qe,o),u(re,e,o),p(e,je,o),p(e,we,o),Je=!0},p:Nt,i(e){Je||(f(z.$$.fragment,e),f(V.$$.fragment,e),f(W.$$.fragment,e),f(q.$$.fragment,e),f(j.$$.fragment,e),f(J.$$.fragment,e),f(Q.$$.fragment,e),f(U.$$.fragment,e),f(N.$$.fragment,e),f(R.$$.fragment,e),f(B.$$.fragment,e),f(Z.$$.fragment,e),f(G.$$.fragment,e),f(K.$$.fragment,e),f(X.$$.fragment,e),f(Y.$$.fragment,e),f(ee.$$.fragment,e),f(te.$$.fragment,e),f(re.$$.fragment,e),Je=!0)},o(e){g(z.$$.fragment,e),g(V.$$.fragment,e),g(W.$$.fragment,e),g(q.$$.fragment,e),g(j.$$.fragment,e),g(J.$$.fragment,e),g(Q.$$.fragment,e),g(U.$$.fragment,e),g(N.$$.fragment,e),g(R.$$.fragment,e),g(B.$$.fragment,e),g(Z.$$.fragment,e),g(G.$$.fragment,e),g(K.$$.fragment,e),g(X.$$.fragment,e),g(Y.$$.fragment,e),g(ee.$$.fragment,e),g(te.$$.fragment,e),g(re.$$.fragment,e),Je=!1},d(e){e&&(r(Fe),r(ye),r(Ce),r(Te),r(A),r(Le),r(I),r(He),r(Ee),r(F),r(ke),r(C),r(Me),r(P),r(Oe),r(Se),r(m),r(ze),r(D),r(Ae),r(y),r(Ie),r(x),r(Ve),r(We),r(T),r(qe),r(je),r(we)),r(w),h(z,e),h(V,e),h(W),h(q),h(j),h(J,e),h(Q),h(U),h(N),h(R),h(B),h(Z),h(G),h(K),h(X),h(Y),h(ee,e),h(te),h(re,e)}}}const Yt='{"title":"pipelines的工具","local":"pipelines的工具","sections":[{"title":"参数处理","local":"transformers.pipelines.ArgumentHandler","sections":[],"depth":2},{"title":"数据格式","local":"transformers.PipelineDataFormat","sections":[],"depth":2},{"title":"实用函数","local":"transformers.pipelines.PipelineException","sections":[],"depth":2}],"depth":1}';function er(yt){return Rt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class or extends Bt{constructor(w){super(),Zt(this,w,er,Xt,Ut,{})}}export{or as component};
