Buckets:

rtrm's picture
download
raw
22.8 kB
import{s as Qt,n as Nt,o as Rt}from"../chunks/scheduler.9bc65507.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.707bf1b6.js";import{D as _}from"../chunks/Docstring.570ddb64.js";import{H as Ye,E as Kt}from"../chunks/EditOnGithub.922df6ba.js";function Xt(wt){let F,Ce,we,ye,O,Te,S,Ft="このページには、ライブラリがパイプラインに提供するすべてのユーティリティ関数がリストされます。",Le,I,Ct="これらのほとんどは、ライブラリ内のモデルのコードを研究する場合にのみ役に立ちます。",He,V,Ee,C,W,et,ae,yt='Base interface for handling arguments for each <a href="/docs/transformers/pr_33576/ja/main_classes/pipelines#transformers.Pipeline">Pipeline</a>.',ke,y,q,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.`,je,z,Ae,m,U,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,Q,pt,me,jt='Creates an instance of the right subclass of <a href="/docs/transformers/pr_33576/ja/internal/pipelines_utils#transformers.PipelineDataFormat">PipelineDataFormat</a> depending on <code>format</code>.',lt,H,N,mt,de,At='Save the provided data object with the representation for the current <a href="/docs/transformers/pr_33576/ja/internal/pipelines_utils#transformers.PipelineDataFormat">PipelineDataFormat</a>.',dt,E,R,ct,ce,Ot="Save the provided data object as a pickle-formatted binary data on the disk.",Oe,D,B,ut,ue,St="Support for pipelines using CSV data format.",ft,k,Z,ht,fe,It='Save the provided data object with the representation for the current <a href="/docs/transformers/pr_33576/ja/internal/pipelines_utils#transformers.PipelineDataFormat">PipelineDataFormat</a>.',Se,w,G,gt,he,Vt="Support for pipelines using JSON file format.",vt,M,K,$t,ge,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,j,Y,Pt,be,zt="Print the data.",Ve,ee,We,T,te,Dt,_e,Ut='Raised by a <a href="/docs/transformers/pr_33576/ja/main_classes/pipelines#transformers.Pipeline">Pipeline</a> when handling <strong>call</strong>.',qe,re,Je,Fe,ze;return O=new Ye({props:{title:"パイプライン用のユーティリティ",local:"パイプライン用のユーティリティ",headingTag:"h1"}}),V=new Ye({props:{title:"Argument handling",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/vr_33576/src/transformers/pipelines/base.py#L444"}}),q=new _({props:{name:"class transformers.pipelines.ZeroShotClassificationArgumentHandler",anchor:"transformers.pipelines.ZeroShotClassificationArgumentHandler",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_33576/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_33576/src/transformers/pipelines/question_answering.py#L150"}}),z=new Ye({props:{title:"Data format",local:"transformers.PipelineDataFormat",headingTag:"h2"}}),U=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_33576/src/transformers/pipelines/base.py#L454"}}),Q=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_33576/src/transformers/pipelines/base.py#L531",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_33576/ja/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_33576/src/transformers/pipelines/base.py#L503"}}),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_33576/src/transformers/pipelines/base.py#L513",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_33576/src/transformers/pipelines/base.py#L567"}}),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_33576/src/transformers/pipelines/base.py#L597"}}),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_33576/src/transformers/pipelines/base.py#L611"}}),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_33576/src/transformers/pipelines/base.py#L642"}}),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_33576/src/transformers/pipelines/base.py#L653"}}),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_33576/src/transformers/pipelines/base.py#L682"}}),ee=new Ye({props:{title:"Utilities",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_33576/src/transformers/pipelines/base.py#L427"}}),re=new Kt({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/ja/internal/pipelines_utils.md"}}),{c(){F=s("meta"),Ce=a(),we=s("p"),ye=a(),d(O.$$.fragment),Te=a(),S=s("p"),S.textContent=Ft,Le=a(),I=s("p"),I.textContent=Ct,He=a(),d(V.$$.fragment),Ee=a(),C=s("div"),d(W.$$.fragment),et=a(),ae=s("p"),ae.innerHTML=yt,ke=a(),y=s("div"),d(q.$$.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,je=a(),d(z.$$.fragment),Ae=a(),m=s("div"),d(U.$$.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(Q.$$.fragment),pt=a(),me=s("p"),me.innerHTML=jt,lt=a(),H=s("div"),d(N.$$.fragment),mt=a(),de=s("p"),de.innerHTML=At,dt=a(),E=s("div"),d(R.$$.fragment),ct=a(),ce=s("p"),ce.textContent=Ot,Oe=a(),D=s("div"),d(B.$$.fragment),ut=a(),ue=s("p"),ue.textContent=St,ft=a(),k=s("div"),d(Z.$$.fragment),ht=a(),fe=s("p"),fe.innerHTML=It,Se=a(),w=s("div"),d(G.$$.fragment),gt=a(),he=s("p"),he.textContent=Vt,vt=a(),M=s("div"),d(K.$$.fragment),$t=a(),ge=s("p"),ge.textContent=Wt,Ie=a(),x=s("div"),d(X.$$.fragment),bt=a(),ve=s("p"),ve.textContent=qt,_t=a(),$e=s("p"),$e.textContent=Jt,xt=a(),j=s("div"),d(Y.$$.fragment),Pt=a(),be=s("p"),be.textContent=zt,Ve=a(),d(ee.$$.fragment),We=a(),T=s("div"),d(te.$$.fragment),Dt=a(),_e=s("p"),_e.innerHTML=Ut,qe=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(O.$$.fragment,e),Te=n(e),S=i(e,"P",{"data-svelte-h":!0}),l(S)!=="svelte-1r441x"&&(S.textContent=Ft),Le=n(e),I=i(e,"P",{"data-svelte-h":!0}),l(I)!=="svelte-icau0f"&&(I.textContent=Ct),He=n(e),c(V.$$.fragment,e),Ee=n(e),C=i(e,"DIV",{class:!0});var Ue=v(C);c(W.$$.fragment,Ue),et=n(Ue),ae=i(Ue,"P",{"data-svelte-h":!0}),l(ae)!=="svelte-8vmlzc"&&(ae.innerHTML=yt),Ue.forEach(r),ke=n(e),y=i(e,"DIV",{class:!0});var Qe=v(y);c(q.$$.fragment,Qe),tt=n(Qe),ne=i(Qe,"P",{"data-svelte-h":!0}),l(ne)!=="svelte-1hjf3sf"&&(ne.textContent=Tt),Qe.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),je=n(e),c(z.$$.fragment,e),Ae=n(e),m=i(e,"DIV",{class:!0});var b=v(m);c(U.$$.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(Q.$$.fragment,Ne),pt=n(Ne),me=i(Ne,"P",{"data-svelte-h":!0}),l(me)!=="svelte-nlta4"&&(me.innerHTML=jt),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-ijh6mw"&&(de.innerHTML=At),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=Ot),Be.forEach(r),b.forEach(r),Oe=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=St),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-ijh6mw"&&(fe.innerHTML=It),Ze.forEach(r),Pe.forEach(r),Se=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=Vt),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=Wt),Ge.forEach(r),De.forEach(r),Ie=n(e),x=i(e,"DIV",{class:!0});var A=v(x);c(X.$$.fragment,A),bt=n(A),ve=i(A,"P",{"data-svelte-h":!0}),l(ve)!=="svelte-vxtild"&&(ve.textContent=qt),_t=n(A),$e=i(A,"P",{"data-svelte-h":!0}),l($e)!=="svelte-83moxo"&&($e.textContent=Jt),xt=n(A),j=i(A,"DIV",{class:!0});var Ke=v(j);c(Y.$$.fragment,Ke),Pt=n(Ke),be=i(Ke,"P",{"data-svelte-h":!0}),l(be)!=="svelte-v6konq"&&(be.textContent=zt),Ke.forEach(r),A.forEach(r),Ve=n(e),c(ee.$$.fragment,e),We=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-ytftng"&&(_e.innerHTML=Ut),Xe.forEach(r),qe=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"),$(j,"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(O,e,o),p(e,Te,o),p(e,S,o),p(e,Le,o),p(e,I,o),p(e,He,o),u(V,e,o),p(e,Ee,o),p(e,C,o),u(W,C,null),t(C,et),t(C,ae),p(e,ke,o),p(e,y,o),u(q,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,je,o),u(z,e,o),p(e,Ae,o),p(e,m,o),u(U,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(Q,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,Oe,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,Se,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,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,j),u(Y,j,null),t(j,Pt),t(j,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,Fe,o),ze=!0},p:Nt,i(e){ze||(f(O.$$.fragment,e),f(V.$$.fragment,e),f(W.$$.fragment,e),f(q.$$.fragment,e),f(J.$$.fragment,e),f(z.$$.fragment,e),f(U.$$.fragment,e),f(Q.$$.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),ze=!0)},o(e){h(O.$$.fragment,e),h(V.$$.fragment,e),h(W.$$.fragment,e),h(q.$$.fragment,e),h(J.$$.fragment,e),h(z.$$.fragment,e),h(U.$$.fragment,e),h(Q.$$.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),ze=!1},d(e){e&&(r(Ce),r(we),r(ye),r(Te),r(S),r(Le),r(I),r(He),r(Ee),r(C),r(ke),r(y),r(Me),r(P),r(je),r(Ae),r(m),r(Oe),r(D),r(Se),r(w),r(Ie),r(x),r(Ve),r(We),r(T),r(qe),r(Je),r(Fe)),r(F),g(O,e),g(V,e),g(W),g(q),g(J),g(z,e),g(U),g(Q),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":"パイプライン用のユーティリティ","local":"パイプライン用のユーティリティ","sections":[{"title":"Argument handling","local":"transformers.pipelines.ArgumentHandler","sections":[],"depth":2},{"title":"Data format","local":"transformers.PipelineDataFormat","sections":[],"depth":2},{"title":"Utilities","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,Qt,{})}}export{or as component};

Xet Storage Details

Size:
22.8 kB
·
Xet hash:
4ef366d277af99737063e4b279656437fe95161dc45ff7c53422e7a740a5a8b7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.