import{s as $t,n as Bt,o as Rt}from"../chunks/scheduler.6efaaf90.js";import{S as Lt,i as Ct,e as l,s as a,c as _,h as _t,a as o,d as n,b as r,f as Et,g as k,j as i,k as Mt,l as kt,m as d,n as P,t as y,o as S,p as N}from"../chunks/index.eb3e1f0f.js";import{C as Pt,H as ot,E as yt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.bc356b46.js";function St(it){let s,I,Q,j,m,V,f,X,p,st="We are continually expanding our support for other model types and plan to include them in future updates.",U,h,q,g,mt=`Text Embeddings Inference currently supports Nomic, BERT, CamemBERT, XLM-RoBERTa models with absolute positions, JinaBERT
model with Alibi positions and Mistral, Alibaba GTE, Qwen2 models with Rope positions, MPNet, ModernBERT, Qwen3, and Gemma3.`,G,u,ft="Below are some examples of the currently supported models:",D,c,pt='<thead><tr><th>MTEB Rank</th> <th>Model Size</th> <th>Model Type</th> <th>Model ID</th></tr></thead> <tbody><tr><td>2</td> <td>7.57B (Very Expensive)</td> <td>Qwen3</td> <td><a href="https://hf.co/Qwen/Qwen3-Embedding-8B" rel="nofollow">Qwen/Qwen3-Embedding-8B</a></td></tr> <tr><td>3</td> <td>4.02B (Very Expensive)</td> <td>Qwen3</td> <td><a href="https://hf.co/Qwen/Qwen3-Embedding-4B" rel="nofollow">Qwen/Qwen3-Embedding-4B</a></td></tr> <tr><td>4</td> <td>509M</td> <td>Qwen3</td> <td><a href="https://hf.co/Qwen/Qwen3-Embedding-0.6B" rel="nofollow">Qwen/Qwen3-Embedding-0.6B</a></td></tr> <tr><td>6</td> <td>7.61B (Very Expensive)</td> <td>Qwen2</td> <td><a href="https://hf.co/Alibaba-NLP/gte-Qwen2-7B-instruct" rel="nofollow">Alibaba-NLP/gte-Qwen2-7B-instruct</a></td></tr> <tr><td>7</td> <td>560M</td> <td>XLM-RoBERTa</td> <td><a href="https://hf.co/intfloat/multilingual-e5-large-instruct" rel="nofollow">intfloat/multilingual-e5-large-instruct</a></td></tr> <tr><td>8</td> <td>308M</td> <td>Gemma3</td> <td><a href="https://hf.co/google/embeddinggemma-300m" rel="nofollow">google/embeddinggemma-300m</a> (gated)</td></tr> <tr><td>15</td> <td>1.78B (Expensive)</td> <td>Qwen2</td> <td><a href="https://hf.co/Alibaba-NLP/gte-Qwen2-1.5B-instruct" rel="nofollow">Alibaba-NLP/gte-Qwen2-1.5B-instruct</a></td></tr> <tr><td>18</td> <td>7.11B (Very Expensive)</td> <td>Mistral</td> <td><a href="https://hf.co/Salesforce/SFR-Embedding-2_R" rel="nofollow">Salesforce/SFR-Embedding-2_R</a></td></tr> <tr><td>35</td> <td>568M</td> <td>XLM-RoBERTa</td> <td><a href="https://hf.co/Snowflake/snowflake-arctic-embed-l-v2.0" rel="nofollow">Snowflake/snowflake-arctic-embed-l-v2.0</a></td></tr> <tr><td>41</td> <td>305M</td> <td>Alibaba GTE</td> <td><a href="https://hf.co/Snowflake/snowflake-arctic-embed-m-v2.0" rel="nofollow">Snowflake/snowflake-arctic-embed-m-v2.0</a></td></tr> <tr><td>52</td> <td>335M</td> <td>BERT</td> <td><a href="https://hf.co/WhereIsAI/UAE-Large-V1" rel="nofollow">WhereIsAI/UAE-Large-V1</a></td></tr> <tr><td>58</td> <td>137M</td> <td>NomicBERT</td> <td><a href="https://hf.co/nomic-ai/nomic-embed-text-v1" rel="nofollow">nomic-ai/nomic-embed-text-v1</a></td></tr> <tr><td>79</td> <td>137M</td> <td>NomicBERT</td> <td><a href="https://hf.co/nomic-ai/nomic-embed-text-v1.5" rel="nofollow">nomic-ai/nomic-embed-text-v1.5</a></td></tr> <tr><td>103</td> <td>109M</td> <td>MPNet</td> <td><a href="https://hf.co/sentence-transformers/all-mpnet-base-v2" rel="nofollow">sentence-transformers/all-mpnet-base-v2</a></td></tr> <tr><td>N/A</td> <td>475M-A305M</td> <td>NomicBERT</td> <td><a href="https://hf.co/nomic-ai/nomic-embed-text-v2-moe" rel="nofollow">nomic-ai/nomic-embed-text-v2-moe</a></td></tr> <tr><td>N/A</td> <td>434M</td> <td>Alibaba GTE</td> <td><a href="https://hf.co/Alibaba-NLP/gte-large-en-v1.5" rel="nofollow">Alibaba-NLP/gte-large-en-v1.5</a></td></tr> <tr><td>N/A</td> <td>396M</td> <td>ModernBERT</td> <td><a href="https://hf.co/answerdotai/ModernBERT-large" rel="nofollow">answerdotai/ModernBERT-large</a></td></tr> <tr><td>N/A</td> <td>137M</td> <td>JinaBERT</td> <td><a href="https://hf.co/jinaai/jina-embeddings-v2-base-en" rel="nofollow">jinaai/jina-embeddings-v2-base-en</a></td></tr> <tr><td>N/A</td> <td>137M</td> <td>JinaBERT</td> <td><a href="https://hf.co/jinaai/jina-embeddings-v2-base-code" rel="nofollow">jinaai/jina-embeddings-v2-base-code</a></td></tr></tbody>',F,b,ht=`To explore the list of best performing text embeddings models, visit the
<a href="https://huggingface.co/spaces/mteb/leaderboard" rel="nofollow">Massive Text Embedding Benchmark (MTEB) Leaderboard</a>.`,z,w,O,T,gt="Text Embeddings Inference currently supports CamemBERT, and XLM-RoBERTa Sequence Classification models with absolute positions.",W,v,ut="Below are some examples of the currently supported models:",J,x,ct='<thead><tr><th>Task</th> <th>Model Type</th> <th>Model ID</th></tr></thead> <tbody><tr><td>Re-Ranking</td> <td>XLM-RoBERTa</td> <td><a href="https://huggingface.co/BAAI/bge-reranker-large" rel="nofollow">BAAI/bge-reranker-large</a></td></tr> <tr><td>Re-Ranking</td> <td>XLM-RoBERTa</td> <td><a href="https://huggingface.co/BAAI/bge-reranker-base" rel="nofollow">BAAI/bge-reranker-base</a></td></tr> <tr><td>Re-Ranking</td> <td>GTE</td> <td><a href="https://huggingface.co/Alibaba-NLP/gte-multilingual-reranker-base" rel="nofollow">Alibaba-NLP/gte-multilingual-reranker-base</a></td></tr> <tr><td>Re-Ranking</td> <td>ModernBert</td> <td><a href="https://huggingface.co/Alibaba-NLP/gte-reranker-modernbert-base" rel="nofollow">Alibaba-NLP/gte-reranker-modernbert-base</a></td></tr> <tr><td>Sentiment Analysis</td> <td>RoBERTa</td> <td><a href="https://huggingface.co/SamLowe/roberta-base-go_emotions" rel="nofollow">SamLowe/roberta-base-go_emotions</a></td></tr></tbody>',Y,A,K,E,bt=`Text Embeddings Inference supports can be used on CPU, Turing (T4, RTX 2000 series, …), Ampere 80 (A100, A30),
Ampere 86 (A10, A40, …), Ada Lovelace (RTX 4000 series, …), and Hopper (H100) architectures.`,Z,M,wt="The library does <strong>not</strong> support CUDA compute capabilities &lt; 7.5, which means V100, Titan V, GTX 1000 series, etc. are not supported.",tt,$,Tt=`To leverage your GPUs, make sure to install the
<a href="https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html" rel="nofollow">NVIDIA Container Toolkit</a>, and use
NVIDIA drivers with CUDA version 12.2 or higher.`,et,B,vt="Find the appropriate Docker image for your hardware in the following table:",nt,R,xt="<thead><tr><th>Architecture</th> <th>Image</th></tr></thead> <tbody><tr><td>CPU</td> <td>ghcr.io/huggingface/text-embeddings-inference:cpu-1.8</td></tr> <tr><td>Volta</td> <td>NOT SUPPORTED</td></tr> <tr><td>Turing (T4, RTX 2000 series, …)</td> <td>ghcr.io/huggingface/text-embeddings-inference:turing-1.8 (experimental)</td></tr> <tr><td>Ampere 80 (A100, A30)</td> <td>ghcr.io/huggingface/text-embeddings-inference:1.8</td></tr> <tr><td>Ampere 86 (A10, A40, …)</td> <td>ghcr.io/huggingface/text-embeddings-inference:86-1.8</td></tr> <tr><td>Ada Lovelace (RTX 4000 series, …)</td> <td>ghcr.io/huggingface/text-embeddings-inference:89-1.8</td></tr> <tr><td>Hopper (H100)</td> <td>ghcr.io/huggingface/text-embeddings-inference:hopper-1.8 (experimental)</td></tr></tbody>",dt,L,At=`<strong>Warning</strong>: Flash Attention is turned off by default for the Turing image as it suffers from precision issues.
You can turn Flash Attention v1 ON by using the <code>USE_FLASH_ATTENTION=True</code> environment variable.`,at,C,rt,H,lt;return m=new Pt({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),f=new ot({props:{title:"Supported models and hardware",local:"supported-models-and-hardware",headingTag:"h1"}}),h=new ot({props:{title:"Supported embeddings models",local:"supported-embeddings-models",headingTag:"h2"}}),w=new ot({props:{title:"Supported re-rankers and sequence classification models",local:"supported-re-rankers-and-sequence-classification-models",headingTag:"h2"}}),A=new ot({props:{title:"Supported hardware",local:"supported-hardware",headingTag:"h2"}}),C=new yt({props:{source:"https://github.com/huggingface/text-embeddings-inference/blob/main/docs/source/en/supported_models.md"}}),{c(){s=l("meta"),I=a(),Q=l("p"),j=a(),_(m.$$.fragment),V=a(),_(f.$$.fragment),X=a(),p=l("p"),p.textContent=st,U=a(),_(h.$$.fragment),q=a(),g=l("p"),g.textContent=mt,G=a(),u=l("p"),u.textContent=ft,D=a(),c=l("table"),c.innerHTML=pt,F=a(),b=l("p"),b.innerHTML=ht,z=a(),_(w.$$.fragment),O=a(),T=l("p"),T.textContent=gt,W=a(),v=l("p"),v.textContent=ut,J=a(),x=l("table"),x.innerHTML=ct,Y=a(),_(A.$$.fragment),K=a(),E=l("p"),E.textContent=bt,Z=a(),M=l("p"),M.innerHTML=wt,tt=a(),$=l("p"),$.innerHTML=Tt,et=a(),B=l("p"),B.textContent=vt,nt=a(),R=l("table"),R.innerHTML=xt,dt=a(),L=l("p"),L.innerHTML=At,at=a(),_(C.$$.fragment),rt=a(),H=l("p"),this.h()},l(t){const e=_t("svelte-u9bgzb",document.head);s=o(e,"META",{name:!0,content:!0}),e.forEach(n),I=r(t),Q=o(t,"P",{}),Et(Q).forEach(n),j=r(t),k(m.$$.fragment,t),V=r(t),k(f.$$.fragment,t),X=r(t),p=o(t,"P",{"data-svelte-h":!0}),i(p)!=="svelte-1k6m0ht"&&(p.textContent=st),U=r(t),k(h.$$.fragment,t),q=r(t),g=o(t,"P",{"data-svelte-h":!0}),i(g)!=="svelte-aoav01"&&(g.textContent=mt),G=r(t),u=o(t,"P",{"data-svelte-h":!0}),i(u)!=="svelte-vskdni"&&(u.textContent=ft),D=r(t),c=o(t,"TABLE",{"data-svelte-h":!0}),i(c)!=="svelte-mfaojg"&&(c.innerHTML=pt),F=r(t),b=o(t,"P",{"data-svelte-h":!0}),i(b)!=="svelte-1fz6qfa"&&(b.innerHTML=ht),z=r(t),k(w.$$.fragment,t),O=r(t),T=o(t,"P",{"data-svelte-h":!0}),i(T)!=="svelte-17enjvk"&&(T.textContent=gt),W=r(t),v=o(t,"P",{"data-svelte-h":!0}),i(v)!=="svelte-vskdni"&&(v.textContent=ut),J=r(t),x=o(t,"TABLE",{"data-svelte-h":!0}),i(x)!=="svelte-1lqpwl"&&(x.innerHTML=ct),Y=r(t),k(A.$$.fragment,t),K=r(t),E=o(t,"P",{"data-svelte-h":!0}),i(E)!=="svelte-58o6ad"&&(E.textContent=bt),Z=r(t),M=o(t,"P",{"data-svelte-h":!0}),i(M)!=="svelte-1l2nroq"&&(M.innerHTML=wt),tt=r(t),$=o(t,"P",{"data-svelte-h":!0}),i($)!=="svelte-j76380"&&($.innerHTML=Tt),et=r(t),B=o(t,"P",{"data-svelte-h":!0}),i(B)!=="svelte-16dfo8x"&&(B.textContent=vt),nt=r(t),R=o(t,"TABLE",{"data-svelte-h":!0}),i(R)!=="svelte-105y9zb"&&(R.innerHTML=xt),dt=r(t),L=o(t,"P",{"data-svelte-h":!0}),i(L)!=="svelte-173bv05"&&(L.innerHTML=At),at=r(t),k(C.$$.fragment,t),rt=r(t),H=o(t,"P",{}),Et(H).forEach(n),this.h()},h(){Mt(s,"name","hf:doc:metadata"),Mt(s,"content",Nt)},m(t,e){kt(document.head,s),d(t,I,e),d(t,Q,e),d(t,j,e),P(m,t,e),d(t,V,e),P(f,t,e),d(t,X,e),d(t,p,e),d(t,U,e),P(h,t,e),d(t,q,e),d(t,g,e),d(t,G,e),d(t,u,e),d(t,D,e),d(t,c,e),d(t,F,e),d(t,b,e),d(t,z,e),P(w,t,e),d(t,O,e),d(t,T,e),d(t,W,e),d(t,v,e),d(t,J,e),d(t,x,e),d(t,Y,e),P(A,t,e),d(t,K,e),d(t,E,e),d(t,Z,e),d(t,M,e),d(t,tt,e),d(t,$,e),d(t,et,e),d(t,B,e),d(t,nt,e),d(t,R,e),d(t,dt,e),d(t,L,e),d(t,at,e),P(C,t,e),d(t,rt,e),d(t,H,e),lt=!0},p:Bt,i(t){lt||(y(m.$$.fragment,t),y(f.$$.fragment,t),y(h.$$.fragment,t),y(w.$$.fragment,t),y(A.$$.fragment,t),y(C.$$.fragment,t),lt=!0)},o(t){S(m.$$.fragment,t),S(f.$$.fragment,t),S(h.$$.fragment,t),S(w.$$.fragment,t),S(A.$$.fragment,t),S(C.$$.fragment,t),lt=!1},d(t){t&&(n(I),n(Q),n(j),n(V),n(X),n(p),n(U),n(q),n(g),n(G),n(u),n(D),n(c),n(F),n(b),n(z),n(O),n(T),n(W),n(v),n(J),n(x),n(Y),n(K),n(E),n(Z),n(M),n(tt),n($),n(et),n(B),n(nt),n(R),n(dt),n(L),n(at),n(rt),n(H)),n(s),N(m,t),N(f,t),N(h,t),N(w,t),N(A,t),N(C,t)}}}const Nt='{"title":"Supported models and hardware","local":"supported-models-and-hardware","sections":[{"title":"Supported embeddings models","local":"supported-embeddings-models","sections":[],"depth":2},{"title":"Supported re-rankers and sequence classification models","local":"supported-re-rankers-and-sequence-classification-models","sections":[],"depth":2},{"title":"Supported hardware","local":"supported-hardware","sections":[],"depth":2}],"depth":1}';function Qt(it){return Rt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Vt extends Lt{constructor(s){super(),Ct(this,s,Qt,St,$t,{})}}export{Vt as component};
