import{s as Ut,n as Nt,o as Rt}from"../chunks/scheduler.9991993c.js";import{S as Bt,i as Zt,g as s,s as a,r as d,A as Gt,h as i,f as r,c as n,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 h,w as g}from"../chunks/index.7fc9a5e7.js";import{D as _}from"../chunks/Docstring.0d7e3ebb.js";import{H as Ye,E as Kt}from"../chunks/EditOnGithub.84ab7f0e.js";function Xt(wt){let F,Ce,we,ye,A,Te,I,Ft="此页面列出了库为pipelines提供的所有实用程序功能。",Le,V,Ct="其中大多数只有在您研究库中模型的代码时才有用。",He,W,Ee,C,q,et,ae,yt='Base interface for handling arguments for each <a href="/docs/transformers/pr_30799/zh/main_classes/pipelines#transformers.Pipeline">Pipeline</a>.',ke,y,z,tt,ne,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>.`,at,se,Ht=`QuestionAnsweringArgumentHandler manages all the possible to create a <code>SquadExample</code> from the command-line
supplied arguments.`,Oe,J,Se,m,Q,nt,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/pr_30799/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/pr_30799/zh/internal/pipelines_utils#transformers.PipelineDataFormat">PipelineDataFormat</a>.',dt,E,R,ct,ce,At="Save the provided data object as a pickle-formatted binary data on the disk.",Ae,D,B,ut,ue,It="Support for pipelines using CSV data format.",ft,k,Z,ht,fe,Vt='Save the provided data object with the representation for the current <a href="/docs/transformers/pr_30799/zh/internal/pipelines_utils#transformers.PipelineDataFormat">PipelineDataFormat</a>.',Ie,w,G,gt,he,Wt="Support for pipelines using JSON file format.",vt,M,K,$t,ge,qt="Save the provided data object in a json file.",Ve,x,X,bt,ve,zt="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.",We,ee,qe,T,te,Dt,_e,Qt='Raised by a <a href="/docs/transformers/pr_30799/zh/main_classes/pipelines#transformers.Pipeline">Pipeline</a> when handling <strong>call</strong>.',ze,re,je,Fe,Je;return A=new Ye({props:{title:"pipelines的工具",local:"pipelines的工具",headingTag:"h1"}}),W=new Ye({props:{title:"参数处理",local:"transformers.pipelines.ArgumentHandler",headingTag:"h2"}}),q=new _({props:{name:"class transformers.pipelines.ArgumentHandler",anchor:"transformers.pipelines.ArgumentHandler",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30799/src/transformers/pipelines/base.py#L439"}}),z=new _({props:{name:"class transformers.pipelines.ZeroShotClassificationArgumentHandler",anchor:"transformers.pipelines.ZeroShotClassificationArgumentHandler",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30799/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/vr_30799/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:": Optional"},{name:"input_path",val:": Optional"},{name:"column",val:": Optional"},{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/vr_30799/src/transformers/pipelines/base.py#L449"}}),U=new _({props:{name:"from_str",anchor:"transformers.PipelineDataFormat.from_str",parameters:[{name:"format",val:": str"},{name:"output_path",val:": Optional"},{name:"input_path",val:": Optional"},{name:"column",val:": Optional"},{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/vr_30799/src/transformers/pipelines/base.py#L526",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/pr_30799/zh/internal/pipelines_utils#transformers.PipelineDataFormat"
>PipelineDataFormat</a></p>
`}}),N=new _({props:{name:"save",anchor:"transformers.PipelineDataFormat.save",parameters:[{name:"data",val:": Union"}],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/vr_30799/src/transformers/pipelines/base.py#L498"}}),R=new _({props:{name:"save_binary",anchor:"transformers.PipelineDataFormat.save_binary",parameters:[{name:"data",val:": Union"}],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/vr_30799/src/transformers/pipelines/base.py#L508",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:": Optional"},{name:"input_path",val:": Optional"},{name:"column",val:": Optional"},{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/vr_30799/src/transformers/pipelines/base.py#L562"}}),Z=new _({props:{name:"save",anchor:"transformers.CsvPipelineDataFormat.save",parameters:[{name:"data",val:": List"}],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/vr_30799/src/transformers/pipelines/base.py#L592"}}),G=new _({props:{name:"class transformers.JsonPipelineDataFormat",anchor:"transformers.JsonPipelineDataFormat",parameters:[{name:"output_path",val:": Optional"},{name:"input_path",val:": Optional"},{name:"column",val:": Optional"},{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/vr_30799/src/transformers/pipelines/base.py#L606"}}),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/vr_30799/src/transformers/pipelines/base.py#L637"}}),X=new _({props:{name:"class transformers.PipedPipelineDataFormat",anchor:"transformers.PipedPipelineDataFormat",parameters:[{name:"output_path",val:": Optional"},{name:"input_path",val:": Optional"},{name:"column",val:": Optional"},{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/vr_30799/src/transformers/pipelines/base.py#L648"}}),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/vr_30799/src/transformers/pipelines/base.py#L677"}}),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/vr_30799/src/transformers/pipelines/base.py#L422"}}),re=new Kt({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/zh/internal/pipelines_utils.md"}}),{c(){F=s("meta"),Ce=a(),we=s("p"),ye=a(),d(A.$$.fragment),Te=a(),I=s("p"),I.textContent=Ft,Le=a(),V=s("p"),V.textContent=Ct,He=a(),d(W.$$.fragment),Ee=a(),C=s("div"),d(q.$$.fragment),et=a(),ae=s("p"),ae.innerHTML=yt,ke=a(),y=s("div"),d(z.$$.fragment),tt=a(),ne=s("p"),ne.textContent=Tt,Me=a(),P=s("div"),d(j.$$.fragment),rt=a(),oe=s("p"),oe.innerHTML=Lt,at=a(),se=s("p"),se.innerHTML=Ht,Oe=a(),d(J.$$.fragment),Se=a(),m=s("div"),d(Q.$$.fragment),nt=a(),ie=s("p"),ie.textContent=Et,ot=a(),pe=s("ul"),pe.innerHTML=kt,st=a(),le=s("p"),le.innerHTML=Mt,it=a(),L=s("div"),d(U.$$.fragment),pt=a(),me=s("p"),me.innerHTML=Ot,lt=a(),H=s("div"),d(N.$$.fragment),mt=a(),de=s("p"),de.innerHTML=St,dt=a(),E=s("div"),d(R.$$.fragment),ct=a(),ce=s("p"),ce.textContent=At,Ae=a(),D=s("div"),d(B.$$.fragment),ut=a(),ue=s("p"),ue.textContent=It,ft=a(),k=s("div"),d(Z.$$.fragment),ht=a(),fe=s("p"),fe.innerHTML=Vt,Ie=a(),w=s("div"),d(G.$$.fragment),gt=a(),he=s("p"),he.textContent=Wt,vt=a(),M=s("div"),d(K.$$.fragment),$t=a(),ge=s("p"),ge.textContent=qt,Ve=a(),x=s("div"),d(X.$$.fragment),bt=a(),ve=s("p"),ve.textContent=zt,_t=a(),$e=s("p"),$e.textContent=jt,xt=a(),O=s("div"),d(Y.$$.fragment),Pt=a(),be=s("p"),be.textContent=Jt,We=a(),d(ee.$$.fragment),qe=a(),T=s("div"),d(te.$$.fragment),Dt=a(),_e=s("p"),_e.innerHTML=Qt,ze=a(),d(re.$$.fragment),je=a(),Fe=s("p"),this.h()},l(e){const o=Gt("svelte-u9bgzb",document.head);F=i(o,"META",{name:!0,content:!0}),o.forEach(r),Ce=n(e),we=i(e,"P",{}),v(we).forEach(r),ye=n(e),c(A.$$.fragment,e),Te=n(e),I=i(e,"P",{"data-svelte-h":!0}),l(I)!=="svelte-9v1sbi"&&(I.textContent=Ft),Le=n(e),V=i(e,"P",{"data-svelte-h":!0}),l(V)!=="svelte-1k2ylrx"&&(V.textContent=Ct),He=n(e),c(W.$$.fragment,e),Ee=n(e),C=i(e,"DIV",{class:!0});var Qe=v(C);c(q.$$.fragment,Qe),et=n(Qe),ae=i(Qe,"P",{"data-svelte-h":!0}),l(ae)!=="svelte-zl785j"&&(ae.innerHTML=yt),Qe.forEach(r),ke=n(e),y=i(e,"DIV",{class:!0});var Ue=v(y);c(z.$$.fragment,Ue),tt=n(Ue),ne=i(Ue,"P",{"data-svelte-h":!0}),l(ne)!=="svelte-1hjf3sf"&&(ne.textContent=Tt),Ue.forEach(r),Me=n(e),P=i(e,"DIV",{class:!0});var xe=v(P);c(j.$$.fragment,xe),rt=n(xe),oe=i(xe,"P",{"data-svelte-h":!0}),l(oe)!=="svelte-12i18ng"&&(oe.innerHTML=Lt),at=n(xe),se=i(xe,"P",{"data-svelte-h":!0}),l(se)!=="svelte-z2nze2"&&(se.innerHTML=Ht),xe.forEach(r),Oe=n(e),c(J.$$.fragment,e),Se=n(e),m=i(e,"DIV",{class:!0});var b=v(m);c(Q.$$.fragment,b),nt=n(b),ie=i(b,"P",{"data-svelte-h":!0}),l(ie)!=="svelte-1mb1edh"&&(ie.textContent=Et),ot=n(b),pe=i(b,"UL",{"data-svelte-h":!0}),l(pe)!=="svelte-1uf4n4e"&&(pe.innerHTML=kt),st=n(b),le=i(b,"P",{"data-svelte-h":!0}),l(le)!=="svelte-u9lis0"&&(le.innerHTML=Mt),it=n(b),L=i(b,"DIV",{class:!0});var Ne=v(L);c(U.$$.fragment,Ne),pt=n(Ne),me=i(Ne,"P",{"data-svelte-h":!0}),l(me)!=="svelte-g1wq9r"&&(me.innerHTML=Ot),Ne.forEach(r),lt=n(b),H=i(b,"DIV",{class:!0});var Re=v(H);c(N.$$.fragment,Re),mt=n(Re),de=i(Re,"P",{"data-svelte-h":!0}),l(de)!=="svelte-ho4dnh"&&(de.innerHTML=St),Re.forEach(r),dt=n(b),E=i(b,"DIV",{class:!0});var Be=v(E);c(R.$$.fragment,Be),ct=n(Be),ce=i(Be,"P",{"data-svelte-h":!0}),l(ce)!=="svelte-i36752"&&(ce.textContent=At),Be.forEach(r),b.forEach(r),Ae=n(e),D=i(e,"DIV",{class:!0});var Pe=v(D);c(B.$$.fragment,Pe),ut=n(Pe),ue=i(Pe,"P",{"data-svelte-h":!0}),l(ue)!=="svelte-jm6p0u"&&(ue.textContent=It),ft=n(Pe),k=i(Pe,"DIV",{class:!0});var Ze=v(k);c(Z.$$.fragment,Ze),ht=n(Ze),fe=i(Ze,"P",{"data-svelte-h":!0}),l(fe)!=="svelte-ho4dnh"&&(fe.innerHTML=Vt),Ze.forEach(r),Pe.forEach(r),Ie=n(e),w=i(e,"DIV",{class:!0});var De=v(w);c(G.$$.fragment,De),gt=n(De),he=i(De,"P",{"data-svelte-h":!0}),l(he)!=="svelte-jpmp8k"&&(he.textContent=Wt),vt=n(De),M=i(De,"DIV",{class:!0});var Ge=v(M);c(K.$$.fragment,Ge),$t=n(Ge),ge=i(Ge,"P",{"data-svelte-h":!0}),l(ge)!=="svelte-1ly8fsk"&&(ge.textContent=qt),Ge.forEach(r),De.forEach(r),Ve=n(e),x=i(e,"DIV",{class:!0});var S=v(x);c(X.$$.fragment,S),bt=n(S),ve=i(S,"P",{"data-svelte-h":!0}),l(ve)!=="svelte-vxtild"&&(ve.textContent=zt),_t=n(S),$e=i(S,"P",{"data-svelte-h":!0}),l($e)!=="svelte-83moxo"&&($e.textContent=jt),xt=n(S),O=i(S,"DIV",{class:!0});var Ke=v(O);c(Y.$$.fragment,Ke),Pt=n(Ke),be=i(Ke,"P",{"data-svelte-h":!0}),l(be)!=="svelte-v6konq"&&(be.textContent=Jt),Ke.forEach(r),S.forEach(r),We=n(e),c(ee.$$.fragment,e),qe=n(e),T=i(e,"DIV",{class:!0});var Xe=v(T);c(te.$$.fragment,Xe),Dt=n(Xe),_e=i(Xe,"P",{"data-svelte-h":!0}),l(_e)!=="svelte-yoh585"&&(_e.innerHTML=Qt),Xe.forEach(r),ze=n(e),c(re.$$.fragment,e),je=n(e),Fe=i(e,"P",{}),v(Fe).forEach(r),this.h()},h(){$(F,"name","hf:doc:metadata"),$(F,"content",Yt),$(C,"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"),$(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"),$(w,"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,F),p(e,Ce,o),p(e,we,o),p(e,ye,o),u(A,e,o),p(e,Te,o),p(e,I,o),p(e,Le,o),p(e,V,o),p(e,He,o),u(W,e,o),p(e,Ee,o),p(e,C,o),u(q,C,null),t(C,et),t(C,ae),p(e,ke,o),p(e,y,o),u(z,y,null),t(y,tt),t(y,ne),p(e,Me,o),p(e,P,o),u(j,P,null),t(P,rt),t(P,oe),t(P,at),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,nt),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,Ae,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,ht),t(k,fe),p(e,Ie,o),p(e,w,o),u(G,w,null),t(w,gt),t(w,he),t(w,vt),t(w,M),u(K,M,null),t(M,$t),t(M,ge),p(e,Ve,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,We,o),u(ee,e,o),p(e,qe,o),p(e,T,o),u(te,T,null),t(T,Dt),t(T,_e),p(e,ze,o),u(re,e,o),p(e,je,o),p(e,Fe,o),Je=!0},p:Nt,i(e){Je||(f(A.$$.fragment,e),f(W.$$.fragment,e),f(q.$$.fragment,e),f(z.$$.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){h(A.$$.fragment,e),h(W.$$.fragment,e),h(q.$$.fragment,e),h(z.$$.fragment,e),h(j.$$.fragment,e),h(J.$$.fragment,e),h(Q.$$.fragment,e),h(U.$$.fragment,e),h(N.$$.fragment,e),h(R.$$.fragment,e),h(B.$$.fragment,e),h(Z.$$.fragment,e),h(G.$$.fragment,e),h(K.$$.fragment,e),h(X.$$.fragment,e),h(Y.$$.fragment,e),h(ee.$$.fragment,e),h(te.$$.fragment,e),h(re.$$.fragment,e),Je=!1},d(e){e&&(r(Ce),r(we),r(ye),r(Te),r(I),r(Le),r(V),r(He),r(Ee),r(C),r(ke),r(y),r(Me),r(P),r(Oe),r(Se),r(m),r(Ae),r(D),r(Ie),r(w),r(Ve),r(x),r(We),r(qe),r(T),r(ze),r(je),r(Fe)),r(F),g(A,e),g(W,e),g(q),g(z),g(j),g(J,e),g(Q),g(U),g(N),g(R),g(B),g(Z),g(G),g(K),g(X),g(Y),g(ee,e),g(te),g(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(wt){return Rt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class or extends Bt{constructor(F){super(),Zt(this,F,er,Xt,Ut,{})}}export{or as component};
