Buckets:
| import{s as Je,o as Te,n as se}from"../chunks/scheduler.f6b352c8.js";import{S as ye,i as we,g as y,s as p,r as f,A as be,h as w,f as a,c as d,j as ge,u as h,x as b,k as Me,y as $e,a as o,v as m,d as g,t as M,w as J}from"../chunks/index.6149cea3.js";import{T as je}from"../chunks/Tip.25311665.js";import{C as ae}from"../chunks/CodeBlock.6f146ba5.js";import{I as Ue,M as ne}from"../chunks/InferenceApi.5035f7e4.js";import{H as S,E as Ie}from"../chunks/index.f7afb948.js";function ke(T){let l,n='For more details about the <code>zero-shot-classification</code> task, check out its <a href="https://huggingface.co/tasks/zero-shot-classification" rel="nofollow">dedicated page</a>! You will find examples and related materials.';return{c(){l=y("p"),l.innerHTML=n},l(t){l=w(t,"P",{"data-svelte-h":!0}),b(l)!=="svelte-1agxruo"&&(l.innerHTML=n)},m(t,r){o(t,l,r)},p:se,d(t){t&&a(l)}}}function Be(T){let l,n,t,r='To use the Python client, see <code>huggingface_hub</code>’s <a href="https://huggingface.co/docs/huggingface_hub/package_reference/inference_client#huggingface_hub.InferenceClient.zero_shot_classification" rel="nofollow">package reference</a>.',c;return l=new ae({props:{code:"aW1wb3J0JTIwcmVxdWVzdHMlMEElMEFBUElfVVJMJTIwJTNEJTIwJTIyaHR0cHMlM0ElMkYlMkZyb3V0ZXIuaHVnZ2luZ2ZhY2UuY28lMkZoZi1pbmZlcmVuY2UlMkZ2MSUyMiUwQWhlYWRlcnMlMjAlM0QlMjAlN0IlMjJBdXRob3JpemF0aW9uJTIyJTNBJTIwJTIyQmVhcmVyJTIwaGZfKioqJTIyJTdEJTBBJTBBZGVmJTIwcXVlcnkocGF5bG9hZCklM0ElMEElMDlyZXNwb25zZSUyMCUzRCUyMHJlcXVlc3RzLnBvc3QoQVBJX1VSTCUyQyUyMGhlYWRlcnMlM0RoZWFkZXJzJTJDJTIwanNvbiUzRHBheWxvYWQpJTBBJTA5cmV0dXJuJTIwcmVzcG9uc2UuanNvbigpJTBBJTBBb3V0cHV0JTIwJTNEJTIwcXVlcnkoJTdCJTBBJTIwJTIwJTIwJTIwJTIyaW5wdXRzJTIyJTNBJTIwJTIySGklMkMlMjBJJTIwcmVjZW50bHklMjBib3VnaHQlMjBhJTIwZGV2aWNlJTIwZnJvbSUyMHlvdXIlMjBjb21wYW55JTIwYnV0JTIwaXQlMjBpcyUyMG5vdCUyMHdvcmtpbmclMjBhcyUyMGFkdmVydGlzZWQlMjBhbmQlMjBJJTIwd291bGQlMjBsaWtlJTIwdG8lMjBnZXQlMjByZWltYnVyc2VkISUyMiUyQyUwQSUyMCUyMCUyMCUyMCUyMnBhcmFtZXRlcnMlMjIlM0ElMjAlN0IlMjJjYW5kaWRhdGVfbGFiZWxzJTIyJTNBJTIwJTVCJTIycmVmdW5kJTIyJTJDJTIwJTIybGVnYWwlMjIlMkMlMjAlMjJmYXElMjIlNUQlN0QlMkMlMEElN0Qp",highlighted:`<span class="hljs-keyword">import</span> requests | |
| API_URL = <span class="hljs-string">"https://router.huggingface.co/hf-inference/v1"</span> | |
| headers = {<span class="hljs-string">"Authorization"</span>: <span class="hljs-string">"Bearer hf_***"</span>} | |
| <span class="hljs-keyword">def</span> <span class="hljs-title function_">query</span>(<span class="hljs-params">payload</span>): | |
| response = requests.post(API_URL, headers=headers, json=payload) | |
| <span class="hljs-keyword">return</span> response.json() | |
| output = query({ | |
| <span class="hljs-string">"inputs"</span>: <span class="hljs-string">"Hi, I recently bought a device from your company but it is not working as advertised and I would like to get reimbursed!"</span>, | |
| <span class="hljs-string">"parameters"</span>: {<span class="hljs-string">"candidate_labels"</span>: [<span class="hljs-string">"refund"</span>, <span class="hljs-string">"legal"</span>, <span class="hljs-string">"faq"</span>]}, | |
| })`,wrap:!1}}),{c(){f(l.$$.fragment),n=p(),t=y("p"),t.innerHTML=r},l(i){h(l.$$.fragment,i),n=d(i),t=w(i,"P",{"data-svelte-h":!0}),b(t)!=="svelte-tp1kpo"&&(t.innerHTML=r)},m(i,u){m(l,i,u),o(i,n,u),o(i,t,u),c=!0},p:se,i(i){c||(g(l.$$.fragment,i),c=!0)},o(i){M(l.$$.fragment,i),c=!1},d(i){i&&(a(n),a(t)),J(l,i)}}}function qe(T){let l,n;return l=new ne({props:{$$slots:{default:[Be]},$$scope:{ctx:T}}}),{c(){f(l.$$.fragment)},l(t){h(l.$$.fragment,t)},m(t,r){m(l,t,r),n=!0},p(t,r){const c={};r&2&&(c.$$scope={dirty:r,ctx:t}),l.$set(c)},i(t){n||(g(l.$$.fragment,t),n=!0)},o(t){M(l.$$.fragment,t),n=!1},d(t){J(l,t)}}}function _e(T){let l,n,t,r='To use the JavaScript client, see <code>huggingface.js</code>’s <a href="https://huggingface.co/docs/huggingface.js/inference/classes/HfInference#zeroshotclassification" rel="nofollow">package reference</a>.',c;return l=new ae({props:{code:"YXN5bmMlMjBmdW5jdGlvbiUyMHF1ZXJ5KGRhdGEpJTIwJTdCJTBBJTA5JTA5JTA5Y29uc3QlMjByZXNwb25zZSUyMCUzRCUyMGF3YWl0JTIwZmV0Y2goJTBBJTA5JTA5JTA5JTA5JTIyaHR0cHMlM0ElMkYlMkZyb3V0ZXIuaHVnZ2luZ2ZhY2UuY28lMkZoZi1pbmZlcmVuY2UlMkZtb2RlbHMlMkZmYWNlYm9vayUyRmJhcnQtbGFyZ2UtbW5saSUyMiUyQyUwQSUwOSUwOSUwOSUwOSU3QiUwQSUwOSUwOSUwOSUwOSUwOWhlYWRlcnMlM0ElMjAlN0IlMEElMDklMDklMDklMDklMDklMDlBdXRob3JpemF0aW9uJTNBJTIwJTIyQmVhcmVyJTIwaGZfKioqJTIyJTJDJTBBJTA5JTA5JTA5JTA5JTA5JTA5JTIyQ29udGVudC1UeXBlJTIyJTNBJTIwJTIyYXBwbGljYXRpb24lMkZqc29uJTIyJTJDJTBBJTA5JTA5JTA5JTA5JTA5JTdEJTJDJTBBJTA5JTA5JTA5JTA5JTA5bWV0aG9kJTNBJTIwJTIyUE9TVCUyMiUyQyUwQSUwOSUwOSUwOSUwOSUwOWJvZHklM0ElMjBKU09OLnN0cmluZ2lmeShkYXRhKSUyQyUwQSUwOSUwOSUwOSUwOSU3RCUwQSUwOSUwOSUwOSklM0IlMEElMDklMDklMDljb25zdCUyMHJlc3VsdCUyMCUzRCUyMGF3YWl0JTIwcmVzcG9uc2UuanNvbigpJTNCJTBBJTA5JTA5JTA5cmV0dXJuJTIwcmVzdWx0JTNCJTBBJTA5JTA5JTdEJTBBJTA5JTA5JTBBJTA5JTA5cXVlcnkoJTdCJTIyaW5wdXRzJTIyJTNBJTIwJTIySGklMkMlMjBJJTIwcmVjZW50bHklMjBib3VnaHQlMjBhJTIwZGV2aWNlJTIwZnJvbSUyMHlvdXIlMjBjb21wYW55JTIwYnV0JTIwaXQlMjBpcyUyMG5vdCUyMHdvcmtpbmclMjBhcyUyMGFkdmVydGlzZWQlMjBhbmQlMjBJJTIwd291bGQlMjBsaWtlJTIwdG8lMjBnZXQlMjByZWltYnVyc2VkISUyMiUyQyUyMCUyMnBhcmFtZXRlcnMlMjIlM0ElMjAlN0IlMjJjYW5kaWRhdGVfbGFiZWxzJTIyJTNBJTIwJTVCJTIycmVmdW5kJTIyJTJDJTIwJTIybGVnYWwlMjIlMkMlMjAlMjJmYXElMjIlNUQlN0QlN0QpLnRoZW4oKHJlc3BvbnNlKSUyMCUzRCUzRSUyMCU3QiUwQSUwOSUwOSUwOWNvbnNvbGUubG9nKEpTT04uc3RyaW5naWZ5KHJlc3BvbnNlKSklM0IlMEElMDklMDklN0QpJTNC",highlighted:`<span class="hljs-keyword">async</span> <span class="hljs-keyword">function</span> <span class="hljs-title function_">query</span>(<span class="hljs-params">data</span>) { | |
| <span class="hljs-keyword">const</span> response = <span class="hljs-keyword">await</span> <span class="hljs-title function_">fetch</span>( | |
| <span class="hljs-string">"https://router.huggingface.co/hf-inference/models/facebook/bart-large-mnli"</span>, | |
| { | |
| <span class="hljs-attr">headers</span>: { | |
| <span class="hljs-title class_">Authorization</span>: <span class="hljs-string">"Bearer hf_***"</span>, | |
| <span class="hljs-string">"Content-Type"</span>: <span class="hljs-string">"application/json"</span>, | |
| }, | |
| <span class="hljs-attr">method</span>: <span class="hljs-string">"POST"</span>, | |
| <span class="hljs-attr">body</span>: <span class="hljs-title class_">JSON</span>.<span class="hljs-title function_">stringify</span>(data), | |
| } | |
| ); | |
| <span class="hljs-keyword">const</span> result = <span class="hljs-keyword">await</span> response.<span class="hljs-title function_">json</span>(); | |
| <span class="hljs-keyword">return</span> result; | |
| } | |
| <span class="hljs-title function_">query</span>({<span class="hljs-string">"inputs"</span>: <span class="hljs-string">"Hi, I recently bought a device from your company but it is not working as advertised and I would like to get reimbursed!"</span>, <span class="hljs-string">"parameters"</span>: {<span class="hljs-string">"candidate_labels"</span>: [<span class="hljs-string">"refund"</span>, <span class="hljs-string">"legal"</span>, <span class="hljs-string">"faq"</span>]}}).<span class="hljs-title function_">then</span>(<span class="hljs-function">(<span class="hljs-params">response</span>) =></span> { | |
| <span class="hljs-variable language_">console</span>.<span class="hljs-title function_">log</span>(<span class="hljs-title class_">JSON</span>.<span class="hljs-title function_">stringify</span>(response)); | |
| });`,wrap:!1}}),{c(){f(l.$$.fragment),n=p(),t=y("p"),t.innerHTML=r},l(i){h(l.$$.fragment,i),n=d(i),t=w(i,"P",{"data-svelte-h":!0}),b(t)!=="svelte-6m1h0r"&&(t.innerHTML=r)},m(i,u){m(l,i,u),o(i,n,u),o(i,t,u),c=!0},p:se,i(i){c||(g(l.$$.fragment,i),c=!0)},o(i){M(l.$$.fragment,i),c=!1},d(i){i&&(a(n),a(t)),J(l,i)}}}function Ze(T){let l,n;return l=new ne({props:{$$slots:{default:[_e]},$$scope:{ctx:T}}}),{c(){f(l.$$.fragment)},l(t){h(l.$$.fragment,t)},m(t,r){m(l,t,r),n=!0},p(t,r){const c={};r&2&&(c.$$scope={dirty:r,ctx:t}),l.$set(c)},i(t){n||(g(l.$$.fragment,t),n=!0)},o(t){M(l.$$.fragment,t),n=!1},d(t){J(l,t)}}}function ve(T){let l,n;return l=new ae({props:{code:"Y3VybCUyMGh0dHBzJTNBJTJGJTJGcm91dGVyLmh1Z2dpbmdmYWNlLmNvJTJGaGYtaW5mZXJlbmNlJTJGbW9kZWxzJTJGZmFjZWJvb2slMkZiYXJ0LWxhcmdlLW1ubGklMjAlNUMlMEElMDktWCUyMFBPU1QlMjAlNUMlMEElMDktZCUyMCclN0IlMjJpbnB1dHMlMjIlM0ElMjAlMjJIaSUyQyUyMEklMjByZWNlbnRseSUyMGJvdWdodCUyMGElMjBkZXZpY2UlMjBmcm9tJTIweW91ciUyMGNvbXBhbnklMjBidXQlMjBpdCUyMGlzJTIwbm90JTIwd29ya2luZyUyMGFzJTIwYWR2ZXJ0aXNlZCUyMGFuZCUyMEklMjB3b3VsZCUyMGxpa2UlMjB0byUyMGdldCUyMHJlaW1idXJzZWQhJTIyJTJDJTIwJTIycGFyYW1ldGVycyUyMiUzQSUyMCU3QiUyMmNhbmRpZGF0ZV9sYWJlbHMlMjIlM0ElMjAlNUIlMjJyZWZ1bmQlMjIlMkMlMjAlMjJsZWdhbCUyMiUyQyUyMCUyMmZhcSUyMiU1RCU3RCU3RCclMjAlNUMlMEElMDktSCUyMCdDb250ZW50LVR5cGUlM0ElMjBhcHBsaWNhdGlvbiUyRmpzb24nJTIwJTVDJTBBJTA5LUglMjAnQXV0aG9yaXphdGlvbiUzQSUyMEJlYXJlciUyMGhmXyoqKic=",highlighted:`curl https://router.huggingface.co/hf-inference/models/facebook/bart-large-mnli \\ | |
| -X POST \\ | |
| -d <span class="hljs-string">'{"inputs": "Hi, I recently bought a device from your company but it is not working as advertised and I would like to get reimbursed!", "parameters": {"candidate_labels": ["refund", "legal", "faq"]}}'</span> \\ | |
| -H <span class="hljs-string">'Content-Type: application/json'</span> \\ | |
| -H <span class="hljs-string">'Authorization: Bearer hf_***'</span>`,wrap:!1}}),{c(){f(l.$$.fragment)},l(t){h(l.$$.fragment,t)},m(t,r){m(l,t,r),n=!0},p:se,i(t){n||(g(l.$$.fragment,t),n=!0)},o(t){M(l.$$.fragment,t),n=!1},d(t){J(l,t)}}}function Ce(T){let l,n;return l=new ne({props:{$$slots:{default:[ve]},$$scope:{ctx:T}}}),{c(){f(l.$$.fragment)},l(t){h(l.$$.fragment,t)},m(t,r){m(l,t,r),n=!0},p(t,r){const c={};r&2&&(c.$$scope={dirty:r,ctx:t}),l.$set(c)},i(t){n||(g(l.$$.fragment,t),n=!0)},o(t){M(l.$$.fragment,t),n=!1},d(t){J(l,t)}}}function We(T){let l,n,t,r,c,i,u,ie="Zero-shot text classification is super useful to try out classification with zero code, you simply pass a sentence/paragraph and the possible labels for that sentence, and you get a result. The model has not been necessarily trained on the labels you provide, but it can still predict the correct label.",E,$,N,U,Q,I,oe='<li><a href="https://huggingface.co/facebook/bart-large-mnli" rel="nofollow">facebook/bart-large-mnli</a>: Powerful zero-shot text classification model.</li>',R,k,re='Explore all available models and find the one that suits you best <a href="https://huggingface.co/models?inference=warm&pipeline_tag=zero-shot-classification&sort=trending" rel="nofollow">here</a>.',z,B,x,j,X,q,Y,_,L,Z,ce='<thead><tr><th align="left">Payload</th> <th align="left"></th> <th align="left"></th></tr></thead> <tbody><tr><td align="left"><strong>inputs*</strong></td> <td align="left"><em>string</em></td> <td align="left">The text to classify</td></tr> <tr><td align="left"><strong>parameters*</strong></td> <td align="left"><em>object</em></td> <td align="left"></td></tr> <tr><td align="left"><strong> candidate_labels*</strong></td> <td align="left"><em>string[]</em></td> <td align="left">The set of possible class labels to classify the text into.</td></tr> <tr><td align="left"><strong> hypothesis_template</strong></td> <td align="left"><em>string</em></td> <td align="left">The sentence used in conjunction with <code>candidate_labels</code> to attempt the text classification by replacing the placeholder with the candidate labels.</td></tr> <tr><td align="left"><strong> multi_label</strong></td> <td align="left"><em>boolean</em></td> <td align="left">Whether multiple candidate labels can be true. If false, the scores are normalized such that the sum of the label likelihoods for each sequence is 1. If true, the labels are considered independent and probabilities are normalized for each candidate.</td></tr></tbody>',O,v,pe="Some options can be configured by passing headers to the Inference API. Here are the available headers:",P,C,de='<thead><tr><th align="left">Headers</th> <th align="left"></th> <th align="left"></th></tr></thead> <tbody><tr><td align="left"><strong>authorization</strong></td> <td align="left"><em>string</em></td> <td align="left">Authentication header in the form <code>'Bearer: hf_****'</code> when <code>hf_****</code> is a personal user access token with Inference API permission. You can generate one from <a href="https://huggingface.co/settings/tokens" rel="nofollow">your settings page</a>.</td></tr> <tr><td align="left"><strong>x-use-cache</strong></td> <td align="left"><em>boolean, default to <code>true</code></em></td> <td align="left">There is a cache layer on the inference API to speed up requests we have already seen. Most models can use those results as they are deterministic (meaning the outputs will be the same anyway). However, if you use a nondeterministic model, you can set this parameter to prevent the caching mechanism from being used, resulting in a real new query. Read more about caching <a href="../parameters#caching%5D">here</a>.</td></tr> <tr><td align="left"><strong>x-wait-for-model</strong></td> <td align="left"><em>boolean, default to <code>false</code></em></td> <td align="left">If the model is not ready, wait for it instead of receiving 503. It limits the number of requests required to get your inference done. It is advised to only set this flag to true after receiving a 503 error, as it will limit hanging in your application to known places. Read more about model availability <a href="../overview#eligibility%5D">here</a>.</td></tr></tbody>',D,W,ue='For more information about Inference API headers, check out the parameters <a href="../parameters">guide</a>.',F,A,K,G,fe='<thead><tr><th align="left">Body</th> <th align="left"></th> <th align="left"></th></tr></thead> <tbody><tr><td align="left"><strong>(array)</strong></td> <td align="left"><em>object[]</em></td> <td align="left">Output is an array of objects.</td></tr> <tr><td align="left"><strong> label</strong></td> <td align="left"><em>string</em></td> <td align="left">The predicted class label.</td></tr> <tr><td align="left"><strong> score</strong></td> <td align="left"><em>number</em></td> <td align="left">The corresponding probability.</td></tr></tbody>',ee,V,te,H,le;return c=new S({props:{title:"Zero-Shot Classification",local:"zero-shot-classification",headingTag:"h2"}}),$=new je({props:{$$slots:{default:[ke]},$$scope:{ctx:T}}}),U=new S({props:{title:"Recommended models",local:"recommended-models",headingTag:"h3"}}),B=new S({props:{title:"Using the API",local:"using-the-api",headingTag:"h3"}}),j=new Ue({props:{python:!0,js:!0,curl:!0,$$slots:{curl:[Ce],js:[Ze],python:[qe]},$$scope:{ctx:T}}}),q=new S({props:{title:"API specification",local:"api-specification",headingTag:"h3"}}),_=new S({props:{title:"Request",local:"request",headingTag:"h4"}}),A=new S({props:{title:"Response",local:"response",headingTag:"h4"}}),V=new Ie({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/inference-providers/tasks/zero-shot-classification.md"}}),{c(){l=y("meta"),n=p(),t=y("p"),r=p(),f(c.$$.fragment),i=p(),u=y("p"),u.textContent=ie,E=p(),f($.$$.fragment),N=p(),f(U.$$.fragment),Q=p(),I=y("ul"),I.innerHTML=oe,R=p(),k=y("p"),k.innerHTML=re,z=p(),f(B.$$.fragment),x=p(),f(j.$$.fragment),X=p(),f(q.$$.fragment),Y=p(),f(_.$$.fragment),L=p(),Z=y("table"),Z.innerHTML=ce,O=p(),v=y("p"),v.textContent=pe,P=p(),C=y("table"),C.innerHTML=de,D=p(),W=y("p"),W.innerHTML=ue,F=p(),f(A.$$.fragment),K=p(),G=y("table"),G.innerHTML=fe,ee=p(),f(V.$$.fragment),te=p(),H=y("p"),this.h()},l(e){const s=be("svelte-u9bgzb",document.head);l=w(s,"META",{name:!0,content:!0}),s.forEach(a),n=d(e),t=w(e,"P",{}),ge(t).forEach(a),r=d(e),h(c.$$.fragment,e),i=d(e),u=w(e,"P",{"data-svelte-h":!0}),b(u)!=="svelte-1ml27g3"&&(u.textContent=ie),E=d(e),h($.$$.fragment,e),N=d(e),h(U.$$.fragment,e),Q=d(e),I=w(e,"UL",{"data-svelte-h":!0}),b(I)!=="svelte-75aekr"&&(I.innerHTML=oe),R=d(e),k=w(e,"P",{"data-svelte-h":!0}),b(k)!=="svelte-qwdbd3"&&(k.innerHTML=re),z=d(e),h(B.$$.fragment,e),x=d(e),h(j.$$.fragment,e),X=d(e),h(q.$$.fragment,e),Y=d(e),h(_.$$.fragment,e),L=d(e),Z=w(e,"TABLE",{"data-svelte-h":!0}),b(Z)!=="svelte-1fd8w4d"&&(Z.innerHTML=ce),O=d(e),v=w(e,"P",{"data-svelte-h":!0}),b(v)!=="svelte-xa4wks"&&(v.textContent=pe),P=d(e),C=w(e,"TABLE",{"data-svelte-h":!0}),b(C)!=="svelte-2rfiu7"&&(C.innerHTML=de),D=d(e),W=w(e,"P",{"data-svelte-h":!0}),b(W)!=="svelte-1ps9cb1"&&(W.innerHTML=ue),F=d(e),h(A.$$.fragment,e),K=d(e),G=w(e,"TABLE",{"data-svelte-h":!0}),b(G)!=="svelte-1mk6wu5"&&(G.innerHTML=fe),ee=d(e),h(V.$$.fragment,e),te=d(e),H=w(e,"P",{}),ge(H).forEach(a),this.h()},h(){Me(l,"name","hf:doc:metadata"),Me(l,"content",Ae)},m(e,s){$e(document.head,l),o(e,n,s),o(e,t,s),o(e,r,s),m(c,e,s),o(e,i,s),o(e,u,s),o(e,E,s),m($,e,s),o(e,N,s),m(U,e,s),o(e,Q,s),o(e,I,s),o(e,R,s),o(e,k,s),o(e,z,s),m(B,e,s),o(e,x,s),m(j,e,s),o(e,X,s),m(q,e,s),o(e,Y,s),m(_,e,s),o(e,L,s),o(e,Z,s),o(e,O,s),o(e,v,s),o(e,P,s),o(e,C,s),o(e,D,s),o(e,W,s),o(e,F,s),m(A,e,s),o(e,K,s),o(e,G,s),o(e,ee,s),m(V,e,s),o(e,te,s),o(e,H,s),le=!0},p(e,[s]){const he={};s&2&&(he.$$scope={dirty:s,ctx:e}),$.$set(he);const me={};s&2&&(me.$$scope={dirty:s,ctx:e}),j.$set(me)},i(e){le||(g(c.$$.fragment,e),g($.$$.fragment,e),g(U.$$.fragment,e),g(B.$$.fragment,e),g(j.$$.fragment,e),g(q.$$.fragment,e),g(_.$$.fragment,e),g(A.$$.fragment,e),g(V.$$.fragment,e),le=!0)},o(e){M(c.$$.fragment,e),M($.$$.fragment,e),M(U.$$.fragment,e),M(B.$$.fragment,e),M(j.$$.fragment,e),M(q.$$.fragment,e),M(_.$$.fragment,e),M(A.$$.fragment,e),M(V.$$.fragment,e),le=!1},d(e){e&&(a(n),a(t),a(r),a(i),a(u),a(E),a(N),a(Q),a(I),a(R),a(k),a(z),a(x),a(X),a(Y),a(L),a(Z),a(O),a(v),a(P),a(C),a(D),a(W),a(F),a(K),a(G),a(ee),a(te),a(H)),a(l),J(c,e),J($,e),J(U,e),J(B,e),J(j,e),J(q,e),J(_,e),J(A,e),J(V,e)}}}const Ae='{"title":"Zero-Shot Classification","local":"zero-shot-classification","sections":[{"title":"Recommended models","local":"recommended-models","sections":[],"depth":3},{"title":"Using the API","local":"using-the-api","sections":[],"depth":3},{"title":"API specification","local":"api-specification","sections":[{"title":"Request","local":"request","sections":[],"depth":4},{"title":"Response","local":"response","sections":[],"depth":4}],"depth":3}],"depth":2}';function Ge(T){return Te(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Re extends ye{constructor(l){super(),we(this,l,Ge,We,Je,{})}}export{Re as component}; | |
Xet Storage Details
- Size:
- 18.7 kB
- Xet hash:
- b9500985251eb01782e9d17a8574e9d1d6ee8cba004ee091910a462b01bae4d6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.