Buckets:

rtrm's picture
download
raw
21.3 kB
import{s as pt,n as ct,o as ut}from"../chunks/scheduler.389d799c.js";import{S as Mt,i as rt,g as o,s as e,r as c,A as jt,h as i,f as l,c as a,j as ot,u,x as p,k as it,y as Tt,a as n,v as M,d as r,t as j,w as T}from"../chunks/index.8f81d18f.js";import{C as h}from"../chunks/CodeBlock.c0898180.js";import{H as Ns,E as ht}from"../chunks/getInferenceSnippets.5b4abd98.js";function dt(_s){let d,ss,O,ts,J,ls,m,ns,y,Vs='The <a href="https://github.com/aws/sagemaker-huggingface-inference-toolkit/tree/main" rel="nofollow">Sagemaker Hugging Face Inference Toolkit</a> accepts inputs in the <code>inputs</code> key, and supports additional <a href="https://huggingface.co/docs/transformers/main_classes/pipelines" rel="nofollow"><code>pipelines</code></a> parameters in the <code>parameters</code> key. You can provide any of the supported <code>kwargs</code> from <code>pipelines</code> as <code>parameters</code>.',es,I,Ss="Tasks supported by the Inference Toolkit API include:",as,w,As="<li><strong><code>text-classification</code></strong></li> <li><strong><code>sentiment-analysis</code></strong></li> <li><strong><code>token-classification</code></strong></li> <li><strong><code>feature-extraction</code></strong></li> <li><strong><code>fill-mask</code></strong></li> <li><strong><code>summarization</code></strong></li> <li><strong><code>translation_xx_to_yy</code></strong></li> <li><strong><code>text2text-generation</code></strong></li> <li><strong><code>text-generation</code></strong></li> <li><strong><code>audio-classificatin</code></strong></li> <li><strong><code>automatic-speech-recognition</code></strong></li> <li><strong><code>conversational</code></strong></li> <li><strong><code>image-classification</code></strong></li> <li><strong><code>image-segmentation</code></strong></li> <li><strong><code>object-detection</code></strong></li> <li><strong><code>table-question-answering</code></strong></li> <li><strong><code>zero-shot-classification</code></strong></li> <li><strong><code>zero-shot-image-classification</code></strong></li>",os,f,Qs="See the following request examples for some of the tasks:",is,g,xs="<strong><code>text-classification</code></strong>",ps,U,cs,b,Ys="<strong><code>sentiment-analysis</code></strong>",us,$,Ms,B,Fs="<strong><code>token-classification</code></strong>",rs,q,js,v,Ls="<strong><code>question-answering</code></strong>",Ts,k,hs,E,zs="<strong><code>zero-shot-classification</code></strong>",ds,X,Js,W,Rs="<strong><code>table-question-answering</code></strong>",ms,H,ys,Z,Ps="<strong><code>parameterized-request</code></strong>",Is,C,ws,G,fs,N,Ds="The Inference Toolkit implements various additional environment variables to simplify deployment. A complete list of Hugging Face specific environment variables is shown below:",gs,_,Os="<strong><code>HF_TASK</code></strong>",Us,V,Ks='<code>HF_TASK</code> defines the task for the 🤗 Transformers pipeline used . See <a href="https://huggingface.co/docs/transformers/main_classes/pipelines" rel="nofollow">here</a> for a complete list of tasks.',bs,S,$s,A,st="<strong><code>HF_MODEL_ID</code></strong>",Bs,Q,tt='<code>HF_MODEL_ID</code> defines the model ID which is automatically loaded from <a href="https://huggingface.co/models" rel="nofollow">hf.co/models</a> when creating a SageMaker endpoint. All of the 🤗 Hub’s 10,000+ models are available through this environment variable.',qs,x,vs,Y,lt="<strong><code>HF_MODEL_REVISION</code></strong>",ks,F,nt="<code>HF_MODEL_REVISION</code> is an extension to <code>HF_MODEL_ID</code> and allows you to define or pin a model revision to make sure you always load the same model on your SageMaker endpoint.",Es,L,Xs,z,et="<strong><code>HF_API_TOKEN</code></strong>",Ws,R,at='<code>HF_API_TOKEN</code> defines your Hugging Face authorization token. The <code>HF_API_TOKEN</code> is used as a HTTP bearer authorization for remote files like private models. You can find your token under <a href="https://huggingface.co/settings/tokens" rel="nofollow">Settings</a> of your Hugging Face account.',Hs,P,Zs,D,Cs,K,Gs;return J=new Ns({props:{title:"Inference Toolkit API",local:"inference-toolkit-api",headingTag:"h1"}}),m=new Ns({props:{title:"Supported tasks",local:"supported-tasks",headingTag:"h2"}}),U=new h({props:{code:"JTdCJTBBJTIwJTIwJTIyaW5wdXRzJTIyJTNBJTIwJTIyVGhpcyUyMHNvdW5kJTIwdHJhY2slMjB3YXMlMjBiZWF1dGlmdWwhJTIwSXQlMjBwYWludHMlMjB0aGUlMjBzZW5lcnklMjBpbiUyMHlvdXIlMjBtaW5kJTIwc28lMjB3ZWxsJTIwSSUyMHdvdWxkJTIwcmVjb21tZW5kJTIwaXQlMEElMjAlMjBldmVuJTIwdG8lMjBwZW9wbGUlMjB3aG8lMjBoYXRlJTIwdmlkLiUyMGdhbWUlMjBtdXNpYyElMjIlMEElN0Q=",highlighted:`<span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;inputs&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;This sound track was beautiful! It paints the senery in your mind so well I would recommend it
even to people who hate vid. game music!&quot;</span>
<span class="hljs-punctuation">}</span>`,wrap:!1}}),$=new h({props:{code:"JTdCJTBBJTIwJTIwJTIyaW5wdXRzJTIyJTNBJTIwJTIyRG9uJ3QlMjB3YXN0ZSUyMHlvdXIlMjB0aW1lLiUyMCUyMFdlJTIwaGFkJTIwdHdvJTIwZGlmZmVyZW50JTIwcGVvcGxlJTIwY29tZSUyMHRvJTIwb3VyJTIwaG91c2UlMjB0byUyMGdpdmUlMjB1cyUyMGVzdGltYXRlcyUyMGZvciUwQWElMjBkZWNrJTIwKG9uZSUyMG9mJTIwdGhlbSUyMHRoZSUyME9XTkVSKS4lMjAlMjBCb3RoJTIwdGltZXMlMkMlMjB3ZSUyMG5ldmVyJTIwaGVhcmQlMjBmcm9tJTIwdGhlbS4lMjAlMjBOb3QlMjBhJTIwY2FsbCUyQyUyMG5vdCUyMHRoZSUyMGVzdGltYXRlJTJDJTIwbm90aGluZy4lMjIlMEElN0Q=",highlighted:`<span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;inputs&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;Don&#x27;t waste your time. We had two different people come to our house to give us estimates for
a deck (one of them the OWNER). Both times, we never heard from them. Not a call, not the estimate, nothing.&quot;</span>
<span class="hljs-punctuation">}</span>`,wrap:!1}}),q=new h({props:{code:"JTdCJTBBJTIwJTIwJTIyaW5wdXRzJTIyJTNBJTIwJTIyTXklMjBuYW1lJTIwaXMlMjBTeWx2YWluJTIwYW5kJTIwSSUyMHdvcmslMjBhdCUyMEh1Z2dpbmclMjBGYWNlJTIwaW4lMjBCcm9va2x5bi4lMjIlMEElN0Q=",highlighted:`<span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;inputs&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;My name is Sylvain and I work at Hugging Face in Brooklyn.&quot;</span>
<span class="hljs-punctuation">}</span>`,wrap:!1}}),k=new h({props:{code:"JTdCJTBBJTIwJTIwJTIyaW5wdXRzJTIyJTNBJTIwJTdCJTBBJTIwJTIwJTIwJTIwJTIycXVlc3Rpb24lMjIlM0ElMjAlMjJXaGF0JTIwaXMlMjB1c2VkJTIwZm9yJTIwaW5mZXJlbmNlJTNGJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIyY29udGV4dCUyMiUzQSUyMCUyMk15JTIwTmFtZSUyMGlzJTIwUGhpbGlwcCUyMGFuZCUyMEklMjBsaXZlJTIwaW4lMjBOdXJlbWJlcmcuJTIwVGhpcyUyMG1vZGVsJTIwaXMlMjB1c2VkJTIwd2l0aCUyMHNhZ2VtYWtlciUyMGZvciUyMGluZmVyZW5jZS4lMjIlMEElMjAlMjAlN0QlMEElN0Q=",highlighted:`<span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;inputs&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;question&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;What is used for inference?&quot;</span><span class="hljs-punctuation">,</span>
<span class="hljs-attr">&quot;context&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;My Name is Philipp and I live in Nuremberg. This model is used with sagemaker for inference.&quot;</span>
<span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>`,wrap:!1}}),X=new h({props:{code:"JTdCJTBBJTIwJTIwJTIyaW5wdXRzJTIyJTNBJTIwJTIySGklMkMlMjBJJTIwcmVjZW50bHklMjBib3VnaHQlMjBhJTIwZGV2aWNlJTIwZnJvbSUyMHlvdXIlMjBjb21wYW55JTIwYnV0JTIwaXQlMjBpcyUyMG5vdCUyMHdvcmtpbmclMjBhcyUyMGFkdmVydGlzZWQlMjBhbmQlMjBJJTIwd291bGQlMjBsaWtlJTIwdG8lMjBnZXQlMjByZWltYnVyc2VkISUyMiUyQyUwQSUyMCUyMCUyMnBhcmFtZXRlcnMlMjIlM0ElMjAlN0IlMEElMjAlMjAlMjAlMjAlMjJjYW5kaWRhdGVfbGFiZWxzJTIyJTNBJTIwJTVCJTIycmVmdW5kJTIyJTJDJTIwJTIybGVnYWwlMjIlMkMlMjAlMjJmYXElMjIlNUQlMEElMjAlMjAlN0QlMEElN0Q=",highlighted:`<span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;inputs&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;Hi, I recently bought a device from your company but it is not working as advertised and I would like to get reimbursed!&quot;</span><span class="hljs-punctuation">,</span>
<span class="hljs-attr">&quot;parameters&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;candidate_labels&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="hljs-string">&quot;refund&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;legal&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;faq&quot;</span><span class="hljs-punctuation">]</span>
<span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>`,wrap:!1}}),H=new h({props:{code:"JTdCJTBBJTIwJTIwJTIyaW5wdXRzJTIyJTNBJTIwJTdCJTBBJTIwJTIwJTIwJTIwJTIycXVlcnklMjIlM0ElMjAlMjJIb3clMjBtYW55JTIwc3RhcnMlMjBkb2VzJTIwdGhlJTIwdHJhbnNmb3JtZXJzJTIwcmVwb3NpdG9yeSUyMGhhdmUlM0YlMjIlMkMlMEElMjAlMjAlMjAlMjAlMjJ0YWJsZSUyMiUzQSUyMCU3QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMlJlcG9zaXRvcnklMjIlM0ElMjAlNUIlMjJUcmFuc2Zvcm1lcnMlMjIlMkMlMjAlMjJEYXRhc2V0cyUyMiUyQyUyMCUyMlRva2VuaXplcnMlMjIlNUQlMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjJTdGFycyUyMiUzQSUyMCU1QiUyMjM2NTQyJTIyJTJDJTIwJTIyNDUxMiUyMiUyQyUyMCUyMjM5MzQlMjIlNUQlMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjJDb250cmlidXRvcnMlMjIlM0ElMjAlNUIlMjI2NTElMjIlMkMlMjAlMjI3NyUyMiUyQyUyMCUyMjM0JTIyJTVEJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIyUHJvZ3JhbW1pbmclMjBsYW5ndWFnZSUyMiUzQSUyMCU1QiUyMlB5dGhvbiUyMiUyQyUyMCUyMlB5dGhvbiUyMiUyQyUyMCUyMlJ1c3QlMkMlMjBQeXRob24lMjBhbmQlMjBOb2RlSlMlMjIlNUQlMEElMjAlMjAlMjAlMjAlN0QlMEElMjAlMjAlN0QlMEElN0Q=",highlighted:`<span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;inputs&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;query&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;How many stars does the transformers repository have?&quot;</span><span class="hljs-punctuation">,</span>
<span class="hljs-attr">&quot;table&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;Repository&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="hljs-string">&quot;Transformers&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;Datasets&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;Tokenizers&quot;</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
<span class="hljs-attr">&quot;Stars&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="hljs-string">&quot;36542&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;4512&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;3934&quot;</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
<span class="hljs-attr">&quot;Contributors&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="hljs-string">&quot;651&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;77&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;34&quot;</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
<span class="hljs-attr">&quot;Programming language&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="hljs-string">&quot;Python&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;Python&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;Rust, Python and NodeJS&quot;</span><span class="hljs-punctuation">]</span>
<span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>`,wrap:!1}}),C=new h({props:{code:"JTdCJTBBJTIwJTIwJTIyaW5wdXRzJTIyJTNBJTIwJTIySHVnZ2luZyUyMEZhY2UlMkMlMjB0aGUlMjB3aW5uZXIlMjBvZiUyMFZlbnR1cmVCZWF0JUUyJTgwJTk5cyUyMElubm92YXRpb24lMjBpbiUyME5hdHVyYWwlMjBMYW5ndWFnZSUyMFByb2Nlc3MlMkZVbmRlcnN0YW5kaW5nJTIwQXdhcmQlMjBmb3IlMjAyMDIxJTJDJTIwaXMlMjBsb29raW5nJTIwdG8lMjBsZXZlbCUyMHRoZSUyMHBsYXlpbmclMjBmaWVsZC4lMjBUaGUlMjB0ZWFtJTJDJTIwbGF1bmNoZWQlMjBieSUyMENsJUMzJUE5bWVudCUyMERlbGFuZ3VlJTIwYW5kJTIwSnVsaWVuJTIwQ2hhdW1vbmQlMjBpbiUyMDIwMTYlMkMlMjB3YXMlMjByZWNvZ25pemVkJTIwZm9yJTIwaXRzJTIwd29yayUyMGluJTIwZGVtb2NyYXRpemluZyUyME5MUCUyQyUyMHRoZSUyMGdsb2JhbCUyMG1hcmtldCUyMHZhbHVlJTIwZm9yJTIwd2hpY2glMjBpcyUyMGV4cGVjdGVkJTIwdG8lMjBoaXQlMjAlMjQzNS4xJTIwYmlsbGlvbiUyMGJ5JTIwMjAyNi4lMjBUaGlzJTIwd2VlayUyQyUyMEdvb2dsZSVFMiU4MCU5OXMlMjBmb3JtZXIlMjBoZWFkJTIwb2YlMjBFdGhpY2FsJTIwQUklMjBNYXJnYXJldCUyME1pdGNoZWxsJTIwam9pbmVkJTIwdGhlJTIwdGVhbS4lMjIlMkMlMEElMjAlMjAlMjJwYXJhbWV0ZXJzJTIyJTNBJTIwJTdCJTBBJTIwJTIwJTIwJTIwJTIycmVwZXRpdGlvbl9wZW5hbHR5JTIyJTNBJTIwNC4wJTJDJTBBJTIwJTIwJTIwJTIwJTIybGVuZ3RoX3BlbmFsdHklMjIlM0ElMjAxLjUlMEElMjAlMjAlN0QlMEElN0Q=",highlighted:`<span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;inputs&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;Hugging Face, the winner of VentureBeat’s Innovation in Natural Language Process/Understanding Award for 2021, is looking to level the playing field. The team, launched by Clément Delangue and Julien Chaumond in 2016, was recognized for its work in democratizing NLP, the global market value for which is expected to hit $35.1 billion by 2026. This week, Google’s former head of Ethical AI Margaret Mitchell joined the team.&quot;</span><span class="hljs-punctuation">,</span>
<span class="hljs-attr">&quot;parameters&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;repetition_penalty&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">4.0</span><span class="hljs-punctuation">,</span>
<span class="hljs-attr">&quot;length_penalty&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1.5</span>
<span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>`,wrap:!1}}),G=new Ns({props:{title:"Environment variables",local:"environment-variables",headingTag:"h2"}}),S=new h({props:{code:"SEZfVEFTSyUzRCUyMnF1ZXN0aW9uLWFuc3dlcmluZyUyMg==",highlighted:'HF_TASK=<span class="hljs-string">&quot;question-answering&quot;</span>',wrap:!1}}),x=new h({props:{code:"SEZfTU9ERUxfSUQlM0QlMjJkaXN0aWxiZXJ0LWJhc2UtdW5jYXNlZC1maW5ldHVuZWQtc3N0LTItZW5nbGlzaCUyMg==",highlighted:'HF_MODEL_ID=<span class="hljs-string">&quot;distilbert-base-uncased-finetuned-sst-2-english&quot;</span>',wrap:!1}}),L=new h({props:{code:"SEZfTU9ERUxfUkVWSVNJT04lM0QlMjIwM2I0ZDE5NmMxOWQwYTczYzdlMDMyMjY4NGU5N2RiMWVjMzk3NjEzJTIy",highlighted:'HF_MODEL_REVISION=<span class="hljs-string">&quot;03b4d196c19d0a73c7e0322684e97db1ec397613&quot;</span>',wrap:!1}}),P=new h({props:{code:"SEZfQVBJX1RPS0VOJTNEJTIyYXBpX1hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYJTIy",highlighted:'HF_API_TOKEN=<span class="hljs-string">&quot;api_XXXXXXXXXXXXXXXXXXXXXXXXXXXXX&quot;</span>',wrap:!1}}),D=new ht({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/sagemaker/source/reference/inference-toolkit.md"}}),{c(){d=o("meta"),ss=e(),O=o("p"),ts=e(),c(J.$$.fragment),ls=e(),c(m.$$.fragment),ns=e(),y=o("p"),y.innerHTML=Vs,es=e(),I=o("p"),I.textContent=Ss,as=e(),w=o("ul"),w.innerHTML=As,os=e(),f=o("p"),f.textContent=Qs,is=e(),g=o("p"),g.innerHTML=xs,ps=e(),c(U.$$.fragment),cs=e(),b=o("p"),b.innerHTML=Ys,us=e(),c($.$$.fragment),Ms=e(),B=o("p"),B.innerHTML=Fs,rs=e(),c(q.$$.fragment),js=e(),v=o("p"),v.innerHTML=Ls,Ts=e(),c(k.$$.fragment),hs=e(),E=o("p"),E.innerHTML=zs,ds=e(),c(X.$$.fragment),Js=e(),W=o("p"),W.innerHTML=Rs,ms=e(),c(H.$$.fragment),ys=e(),Z=o("p"),Z.innerHTML=Ps,Is=e(),c(C.$$.fragment),ws=e(),c(G.$$.fragment),fs=e(),N=o("p"),N.textContent=Ds,gs=e(),_=o("p"),_.innerHTML=Os,Us=e(),V=o("p"),V.innerHTML=Ks,bs=e(),c(S.$$.fragment),$s=e(),A=o("p"),A.innerHTML=st,Bs=e(),Q=o("p"),Q.innerHTML=tt,qs=e(),c(x.$$.fragment),vs=e(),Y=o("p"),Y.innerHTML=lt,ks=e(),F=o("p"),F.innerHTML=nt,Es=e(),c(L.$$.fragment),Xs=e(),z=o("p"),z.innerHTML=et,Ws=e(),R=o("p"),R.innerHTML=at,Hs=e(),c(P.$$.fragment),Zs=e(),c(D.$$.fragment),Cs=e(),K=o("p"),this.h()},l(s){const t=jt("svelte-u9bgzb",document.head);d=i(t,"META",{name:!0,content:!0}),t.forEach(l),ss=a(s),O=i(s,"P",{}),ot(O).forEach(l),ts=a(s),u(J.$$.fragment,s),ls=a(s),u(m.$$.fragment,s),ns=a(s),y=i(s,"P",{"data-svelte-h":!0}),p(y)!=="svelte-1cez5ze"&&(y.innerHTML=Vs),es=a(s),I=i(s,"P",{"data-svelte-h":!0}),p(I)!=="svelte-14avis7"&&(I.textContent=Ss),as=a(s),w=i(s,"UL",{"data-svelte-h":!0}),p(w)!=="svelte-1swzyw"&&(w.innerHTML=As),os=a(s),f=i(s,"P",{"data-svelte-h":!0}),p(f)!=="svelte-fqnqo8"&&(f.textContent=Qs),is=a(s),g=i(s,"P",{"data-svelte-h":!0}),p(g)!=="svelte-zp6pme"&&(g.innerHTML=xs),ps=a(s),u(U.$$.fragment,s),cs=a(s),b=i(s,"P",{"data-svelte-h":!0}),p(b)!=="svelte-zfr1l6"&&(b.innerHTML=Ys),us=a(s),u($.$$.fragment,s),Ms=a(s),B=i(s,"P",{"data-svelte-h":!0}),p(B)!=="svelte-1a5sljg"&&(B.innerHTML=Fs),rs=a(s),u(q.$$.fragment,s),js=a(s),v=i(s,"P",{"data-svelte-h":!0}),p(v)!=="svelte-7ht279"&&(v.innerHTML=Ls),Ts=a(s),u(k.$$.fragment,s),hs=a(s),E=i(s,"P",{"data-svelte-h":!0}),p(E)!=="svelte-455rcs"&&(E.innerHTML=zs),ds=a(s),u(X.$$.fragment,s),Js=a(s),W=i(s,"P",{"data-svelte-h":!0}),p(W)!=="svelte-w6paxw"&&(W.innerHTML=Rs),ms=a(s),u(H.$$.fragment,s),ys=a(s),Z=i(s,"P",{"data-svelte-h":!0}),p(Z)!=="svelte-17c454l"&&(Z.innerHTML=Ps),Is=a(s),u(C.$$.fragment,s),ws=a(s),u(G.$$.fragment,s),fs=a(s),N=i(s,"P",{"data-svelte-h":!0}),p(N)!=="svelte-1hi83ly"&&(N.textContent=Ds),gs=a(s),_=i(s,"P",{"data-svelte-h":!0}),p(_)!=="svelte-op5ire"&&(_.innerHTML=Os),Us=a(s),V=i(s,"P",{"data-svelte-h":!0}),p(V)!=="svelte-x44ycw"&&(V.innerHTML=Ks),bs=a(s),u(S.$$.fragment,s),$s=a(s),A=i(s,"P",{"data-svelte-h":!0}),p(A)!=="svelte-at3940"&&(A.innerHTML=st),Bs=a(s),Q=i(s,"P",{"data-svelte-h":!0}),p(Q)!=="svelte-7pv5qy"&&(Q.innerHTML=tt),qs=a(s),u(x.$$.fragment,s),vs=a(s),Y=i(s,"P",{"data-svelte-h":!0}),p(Y)!=="svelte-1cqzoxg"&&(Y.innerHTML=lt),ks=a(s),F=i(s,"P",{"data-svelte-h":!0}),p(F)!=="svelte-1xh4jnx"&&(F.innerHTML=nt),Es=a(s),u(L.$$.fragment,s),Xs=a(s),z=i(s,"P",{"data-svelte-h":!0}),p(z)!=="svelte-y1zqs5"&&(z.innerHTML=et),Ws=a(s),R=i(s,"P",{"data-svelte-h":!0}),p(R)!=="svelte-wfdtbd"&&(R.innerHTML=at),Hs=a(s),u(P.$$.fragment,s),Zs=a(s),u(D.$$.fragment,s),Cs=a(s),K=i(s,"P",{}),ot(K).forEach(l),this.h()},h(){it(d,"name","hf:doc:metadata"),it(d,"content",Jt)},m(s,t){Tt(document.head,d),n(s,ss,t),n(s,O,t),n(s,ts,t),M(J,s,t),n(s,ls,t),M(m,s,t),n(s,ns,t),n(s,y,t),n(s,es,t),n(s,I,t),n(s,as,t),n(s,w,t),n(s,os,t),n(s,f,t),n(s,is,t),n(s,g,t),n(s,ps,t),M(U,s,t),n(s,cs,t),n(s,b,t),n(s,us,t),M($,s,t),n(s,Ms,t),n(s,B,t),n(s,rs,t),M(q,s,t),n(s,js,t),n(s,v,t),n(s,Ts,t),M(k,s,t),n(s,hs,t),n(s,E,t),n(s,ds,t),M(X,s,t),n(s,Js,t),n(s,W,t),n(s,ms,t),M(H,s,t),n(s,ys,t),n(s,Z,t),n(s,Is,t),M(C,s,t),n(s,ws,t),M(G,s,t),n(s,fs,t),n(s,N,t),n(s,gs,t),n(s,_,t),n(s,Us,t),n(s,V,t),n(s,bs,t),M(S,s,t),n(s,$s,t),n(s,A,t),n(s,Bs,t),n(s,Q,t),n(s,qs,t),M(x,s,t),n(s,vs,t),n(s,Y,t),n(s,ks,t),n(s,F,t),n(s,Es,t),M(L,s,t),n(s,Xs,t),n(s,z,t),n(s,Ws,t),n(s,R,t),n(s,Hs,t),M(P,s,t),n(s,Zs,t),M(D,s,t),n(s,Cs,t),n(s,K,t),Gs=!0},p:ct,i(s){Gs||(r(J.$$.fragment,s),r(m.$$.fragment,s),r(U.$$.fragment,s),r($.$$.fragment,s),r(q.$$.fragment,s),r(k.$$.fragment,s),r(X.$$.fragment,s),r(H.$$.fragment,s),r(C.$$.fragment,s),r(G.$$.fragment,s),r(S.$$.fragment,s),r(x.$$.fragment,s),r(L.$$.fragment,s),r(P.$$.fragment,s),r(D.$$.fragment,s),Gs=!0)},o(s){j(J.$$.fragment,s),j(m.$$.fragment,s),j(U.$$.fragment,s),j($.$$.fragment,s),j(q.$$.fragment,s),j(k.$$.fragment,s),j(X.$$.fragment,s),j(H.$$.fragment,s),j(C.$$.fragment,s),j(G.$$.fragment,s),j(S.$$.fragment,s),j(x.$$.fragment,s),j(L.$$.fragment,s),j(P.$$.fragment,s),j(D.$$.fragment,s),Gs=!1},d(s){s&&(l(ss),l(O),l(ts),l(ls),l(ns),l(y),l(es),l(I),l(as),l(w),l(os),l(f),l(is),l(g),l(ps),l(cs),l(b),l(us),l(Ms),l(B),l(rs),l(js),l(v),l(Ts),l(hs),l(E),l(ds),l(Js),l(W),l(ms),l(ys),l(Z),l(Is),l(ws),l(fs),l(N),l(gs),l(_),l(Us),l(V),l(bs),l($s),l(A),l(Bs),l(Q),l(qs),l(vs),l(Y),l(ks),l(F),l(Es),l(Xs),l(z),l(Ws),l(R),l(Hs),l(Zs),l(Cs),l(K)),l(d),T(J,s),T(m,s),T(U,s),T($,s),T(q,s),T(k,s),T(X,s),T(H,s),T(C,s),T(G,s),T(S,s),T(x,s),T(L,s),T(P,s),T(D,s)}}}const Jt='{"title":"Inference Toolkit API","local":"inference-toolkit-api","sections":[{"title":"Supported tasks","local":"supported-tasks","sections":[],"depth":2},{"title":"Environment variables","local":"environment-variables","sections":[],"depth":2}],"depth":1}';function mt(_s){return ut(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class gt extends Mt{constructor(d){super(),rt(this,d,mt,dt,pt,{})}}export{gt as component};

Xet Storage Details

Size:
21.3 kB
·
Xet hash:
f6f2cdab96799d6eed67bd2e67311428fad3db28346f3d9e0f36a6e0df47561a

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