import{s as D,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 P,h as V,a as s,d as o,b as a,f as W,g as A,j as k,k as B,l as X,m as i,n as E,t as S,o as j,p as q}from"../chunks/index.b7be2227.js";import{C as Y,H as Z,E as ee}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.2ea40076.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 Azure AI Foundry Hub:",L,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></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>image-to-text</code></li>",M,u,G="With upcoming support for some of the following tasks:",T,f,I="<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>",z,g,O='More information about all the supported tasks at <a href="https://huggingface.co/tasks" rel="nofollow">Hugging Face - Tasks</a>.',C,x,y,$,H;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/azure-ai/tasks.mdx"}}),{c(){n=c("meta"),w=l(),h=c("p"),v=l(),P(d.$$.fragment),_=l(),P(r.$$.fragment),b=l(),m=c("p"),m.textContent=U,L=l(),p=c("ul"),p.innerHTML=R,M=l(),u=c("p"),u.textContent=G,T=l(),f=c("ul"),f.innerHTML=I,z=l(),g=c("p"),g.innerHTML=O,C=l(),P(x.$$.fragment),y=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",{}),W(h).forEach(o),v=a(e),A(d.$$.fragment,e),_=a(e),A(r.$$.fragment,e),b=a(e),m=s(e,"P",{"data-svelte-h":!0}),k(m)!=="svelte-e4j5od"&&(m.textContent=U),L=a(e),p=s(e,"UL",{"data-svelte-h":!0}),k(p)!=="svelte-1utjtze"&&(p.innerHTML=R),M=a(e),u=s(e,"P",{"data-svelte-h":!0}),k(u)!=="svelte-8jge5b"&&(u.textContent=G),T=a(e),f=s(e,"UL",{"data-svelte-h":!0}),k(f)!=="svelte-vbltvb"&&(f.innerHTML=I),z=a(e),g=s(e,"P",{"data-svelte-h":!0}),k(g)!=="svelte-eq0b9z"&&(g.innerHTML=O),C=a(e),A(x.$$.fragment,e),y=a(e),$=s(e,"P",{}),W($).forEach(o),this.h()},h(){B(n,"name","hf:doc:metadata"),B(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,L,t),i(e,p,t),i(e,M,t),i(e,u,t),i(e,T,t),i(e,f,t),i(e,z,t),i(e,g,t),i(e,C,t),E(x,e,t),i(e,y,t),i(e,$,t),H=!0},p:J,i(e){H||(S(d.$$.fragment,e),S(r.$$.fragment,e),S(x.$$.fragment,e),H=!0)},o(e){j(d.$$.fragment,e),j(r.$$.fragment,e),j(x.$$.fragment,e),H=!1},d(e){e&&(o(w),o(h),o(v),o(_),o(b),o(m),o(L),o(p),o(M),o(u),o(T),o(f),o(z),o(g),o(C),o(y),o($)),o(n),q(d,e),q(r,e),q(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,D,{})}}export{ce as component};
