Buckets:

rtrm's picture
download
raw
10.3 kB
import{s as L,n as O,o as Q}from"../chunks/scheduler.f6b352c8.js";import{S as D,i as F,g as p,s,r as A,A as V,h as u,f as a,c as d,j as z,u as I,x as G,k as S,y as Z,a as o,v as C,d as P,t as q,w as M}from"../chunks/index.6149cea3.js";import{H as j,E as U}from"../chunks/index.f7afb948.js";function B(E){let i,b,f,x,l,w,g,v,r,H=`<div class="w-full flex flex-col space-y-4 md:space-y-0 md:grid md:grid-cols-3 md:gap-y-4 md:gap-x-5"><a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./chat-completion"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Chat Completion
</div><p class="text-gray-700">Generate a response given a list of messages in a conversational context.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./feature-extraction"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Feature Extraction
</div><p class="text-gray-700">Converting a text into a vector often called &quot;embedding&quot;.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./text-to-image"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Text to Image
</div><p class="text-gray-700">Generate an image based on a given text prompt.</p></a></div>`,y,c,k,n,R=`<div class="w-full flex flex-col space-y-4 md:space-y-0 md:grid md:grid-cols-3 md:gap-y-4 md:gap-x-5"><a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./audio-classification"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Audio Classification
</div><p class="text-gray-700">Audio classification is the task of assigning a label or class to a given audio.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./automatic-speech-recognition"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Automatic Speech Recognition
</div><p class="text-gray-700">Automatic Speech Recognition (ASR), also known as Speech to Text (STT), is the task of transcribing a given audio to text.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./fill-mask"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Fill Mask
</div><p class="text-gray-700">Mask filling is the task of predicting the right word (token to be precise) in the middle of a sequence.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./image-classification"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Image Classification
</div><p class="text-gray-700">Image classification is the task of assigning a label or class to an entire image. Images are expected to have only one class for each image.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./image-segmentation"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Image Segmentation
</div><p class="text-gray-700">Image Segmentation divides an image into segments where each pixel in the image is mapped to an object.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./image-to-image"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Image to Image
</div><p class="text-gray-700">Image-to-image is the task of transforming a source image to match the characteristics of a target image or a target image domain.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./object-detection"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Object Detection
</div><p class="text-gray-700">Object Detection models allow users to identify objects of certain defined classes.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./question-answering"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Question Answering
</div><p class="text-gray-700">Question Answering models can retrieve the answer to a question from a given text, which is useful for searching for an answer in a document.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./summarization"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Summarization
</div><p class="text-gray-700">Summarization is the task of producing a shorter version of a document while preserving its important information.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./table-question-answering"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Table Question Answering
</div><p class="text-gray-700">Table Question Answering (Table QA) is the answering a question about an information on a given table.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./text-classification"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Text Classification
</div><p class="text-gray-700">Text Classification is the task of assigning a label or class to a given text.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./text-generation"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Text Generation
</div><p class="text-gray-700">Generate text based on a prompt.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./token-classification"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Token Classification
</div><p class="text-gray-700">Token classification is a task in which a label is assigned to some tokens in a text.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./translation"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Translation
</div><p class="text-gray-700">Translation is the task of converting text from one language to another.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./zero-shot-classification"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Zero Shot Classification
</div><p class="text-gray-700">Zero shot classification is the task to classify text without specific training for the task.</p></a></div>`,$,m,T,h,_;return l=new j({props:{title:"API Reference",local:"api-reference",headingTag:"h1"}}),g=new j({props:{title:"Popular tasks",local:"popular-tasks",headingTag:"h2"}}),c=new j({props:{title:"Other tasks",local:"other-tasks",headingTag:"h2"}}),m=new U({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/inference-providers/tasks/index.md"}}),{c(){i=p("meta"),b=s(),f=p("p"),x=s(),A(l.$$.fragment),w=s(),A(g.$$.fragment),v=s(),r=p("div"),r.innerHTML=H,y=s(),A(c.$$.fragment),k=s(),n=p("div"),n.innerHTML=R,$=s(),A(m.$$.fragment),T=s(),h=p("p"),this.h()},l(e){const t=V("svelte-u9bgzb",document.head);i=u(t,"META",{name:!0,content:!0}),t.forEach(a),b=d(e),f=u(e,"P",{}),z(f).forEach(a),x=d(e),I(l.$$.fragment,e),w=d(e),I(g.$$.fragment,e),v=d(e),r=u(e,"DIV",{class:!0,"data-svelte-h":!0}),G(r)!=="svelte-1ecqnj3"&&(r.innerHTML=H),y=d(e),I(c.$$.fragment,e),k=d(e),n=u(e,"DIV",{class:!0,"data-svelte-h":!0}),G(n)!=="svelte-1goliir"&&(n.innerHTML=R),$=d(e),I(m.$$.fragment,e),T=d(e),h=u(e,"P",{}),z(h).forEach(a),this.h()},h(){S(i,"name","hf:doc:metadata"),S(i,"content",J),S(r,"class","mt-10"),S(n,"class","mt-10")},m(e,t){Z(document.head,i),o(e,b,t),o(e,f,t),o(e,x,t),C(l,e,t),o(e,w,t),C(g,e,t),o(e,v,t),o(e,r,t),o(e,y,t),C(c,e,t),o(e,k,t),o(e,n,t),o(e,$,t),C(m,e,t),o(e,T,t),o(e,h,t),_=!0},p:O,i(e){_||(P(l.$$.fragment,e),P(g.$$.fragment,e),P(c.$$.fragment,e),P(m.$$.fragment,e),_=!0)},o(e){q(l.$$.fragment,e),q(g.$$.fragment,e),q(c.$$.fragment,e),q(m.$$.fragment,e),_=!1},d(e){e&&(a(b),a(f),a(x),a(w),a(v),a(r),a(y),a(k),a(n),a($),a(T),a(h)),a(i),M(l,e),M(g,e),M(c,e),M(m,e)}}}const J='{"title":"API Reference","local":"api-reference","sections":[{"title":"Popular tasks","local":"popular-tasks","sections":[],"depth":2},{"title":"Other tasks","local":"other-tasks","sections":[],"depth":2}],"depth":1}';function K(E){return Q(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Y extends D{constructor(i){super(),F(this,i,K,B,L,{})}}export{Y as component};

Xet Storage Details

Size:
10.3 kB
·
Xet hash:
f7454b50a7fba35a1fdb49c202af1a81d4ac0b33fa9876452c3f834419f0e424

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