import{s as I,n as J,o as K}from"../chunks/scheduler.35aab934.js";import{S as N,i as Q,e as c,s as l,c as z,h as V,a as s,d as o,b as a,f as B,g as q,j as k,k as D,l as X,m as i,n as E,t as S,o as j,p as A}from"../chunks/index.b7be2227.js";import{C as Y,H as Z,E as ee}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.f8f96fb8.js";function te(F){let n,w,h,v,d,_,r,b,m,U="The following Hugging Face tasks are natively supported on Azure Machine Learning and, so on, on Microsoft Foundry:",y,p,R="<li><code>embeddings</code> (also known as <code>feature-extraction</code>)</li> <li><code>sentence-similarity</code></li> <li><code>text-ranking</code> (also formerly known as <code>sentence-ranking</code>)</li> <li><code>automatic-speech-recognition</code></li> <li><code>text-to-speech</code> (also formerly known as <code>text-to-audio</code>)</li> <li><code>speech-to-text</code></li> <li><code>translation</code></li> <li><code>text-translation</code></li> <li><code>question-answering</code></li> <li><code>text-classification</code></li> <li><code>fill-mask</code></li> <li><code>token-classification</code></li> <li><code>summarization</code> (also known as <code>text-summarization</code>)</li> <li><code>text-generation</code> (also know as either <code>completions</code>, <code>chat-completion</code>, <code>text2text-generation</code> or <code>conversational</code>)</li> <li><code>image-text-to-text</code> (also know as <code>chat-completion</code> with vision-capabilities)</li> <li><code>image-classification</code></li> <li><code>image-segmentation</code></li> <li><code>object-detection</code></li> <li><code>text-to-image</code></li> <li><code>zero-shot-image-classification</code></li> <li><code>table-question-answering</code></li> <li><code>zero-shot-classification</code></li> <li><code>visual-question-answering</code></li> <li><code>mask-generation</code></li>",M,u,G="With upcoming support for some of the following tasks:",L,f,O="<li><code>image-to-image</code></li> <li><code>text-to-image</code> with LoRA</li> <li><code>image-feature-extraction</code></li> <li><code>image-to-text</code> (also known as <code>image-captioning</code>)</li> <li><code>text-to-speech</code></li> <li><code>image-to-3d</code></li> <li><code>audio-to-audio</code> (also known as <code>speech-to-speech</code>)</li> <li><code>text-to-video</code></li>",T,g,W='More information about all the supported tasks at <a href="https://huggingface.co/tasks" rel="nofollow">Hugging Face Tasks</a>.',C,x,H,$,P;return d=new Y({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),r=new Z({props:{title:"Supported Tasks",local:"supported-tasks",headingTag:"h1"}}),x=new ee({props:{source:"https://github.com/huggingface/Microsoft-Azure/blob/main/docs/source/foundry/tasks.mdx"}}),{c(){n=c("meta"),w=l(),h=c("p"),v=l(),z(d.$$.fragment),_=l(),z(r.$$.fragment),b=l(),m=c("p"),m.textContent=U,y=l(),p=c("ul"),p.innerHTML=R,M=l(),u=c("p"),u.textContent=G,L=l(),f=c("ul"),f.innerHTML=O,T=l(),g=c("p"),g.innerHTML=W,C=l(),z(x.$$.fragment),H=l(),$=c("p"),this.h()},l(e){const t=V("svelte-u9bgzb",document.head);n=s(t,"META",{name:!0,content:!0}),t.forEach(o),w=a(e),h=s(e,"P",{}),B(h).forEach(o),v=a(e),q(d.$$.fragment,e),_=a(e),q(r.$$.fragment,e),b=a(e),m=s(e,"P",{"data-svelte-h":!0}),k(m)!=="svelte-12ic55j"&&(m.textContent=U),y=a(e),p=s(e,"UL",{"data-svelte-h":!0}),k(p)!=="svelte-rt5qoq"&&(p.innerHTML=R),M=a(e),u=s(e,"P",{"data-svelte-h":!0}),k(u)!=="svelte-8jge5b"&&(u.textContent=G),L=a(e),f=s(e,"UL",{"data-svelte-h":!0}),k(f)!=="svelte-vbltvb"&&(f.innerHTML=O),T=a(e),g=s(e,"P",{"data-svelte-h":!0}),k(g)!=="svelte-objry0"&&(g.innerHTML=W),C=a(e),q(x.$$.fragment,e),H=a(e),$=s(e,"P",{}),B($).forEach(o),this.h()},h(){D(n,"name","hf:doc:metadata"),D(n,"content",oe)},m(e,t){X(document.head,n),i(e,w,t),i(e,h,t),i(e,v,t),E(d,e,t),i(e,_,t),E(r,e,t),i(e,b,t),i(e,m,t),i(e,y,t),i(e,p,t),i(e,M,t),i(e,u,t),i(e,L,t),i(e,f,t),i(e,T,t),i(e,g,t),i(e,C,t),E(x,e,t),i(e,H,t),i(e,$,t),P=!0},p:J,i(e){P||(S(d.$$.fragment,e),S(r.$$.fragment,e),S(x.$$.fragment,e),P=!0)},o(e){j(d.$$.fragment,e),j(r.$$.fragment,e),j(x.$$.fragment,e),P=!1},d(e){e&&(o(w),o(h),o(v),o(_),o(b),o(m),o(y),o(p),o(M),o(u),o(L),o(f),o(T),o(g),o(C),o(H),o($)),o(n),A(d,e),A(r,e),A(x,e)}}}const oe='{"title":"Supported Tasks","local":"supported-tasks","sections":[],"depth":1}';function ie(F){return K(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ce extends N{constructor(n){super(),Q(this,n,ie,te,I,{})}}export{ce as component};
