Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

fixing embedding model search

Manan179523e5c1f972
diff --git a/studio/frontend/src/hooks/use-hf-model-search.ts b/studio/frontend/src/hooks/use-hf-model-search.ts
index 5f603a71e8d..330455e8190 100644
--- a/studio/frontend/src/hooks/use-hf-model-search.ts
+++ b/studio/frontend/src/hooks/use-hf-model-search.ts
@@ -25,6 +25,13 @@ const EXCLUDED_TAGS = new Set([
"ctranslate2",
]);
+// Embedding / sentence-transformer models ship with onnx/openvino as additional
+// export formats — they should not be excluded by the tag check above.
+const EMBEDDING_TAGS = new Set([
+ "sentence-transformers",
+ "feature-extraction",
+]);
+
function withPopularitySort(
input: Parameters<typeof fetch>[0],
init?: Parameters<typeof fetch>[1],
@@ -56,7 +63,8 @@ function makeMapModel(excludeGguf: boolean) {
safetensors?: { total: number };
tags?: string[];
};
- if (m.tags?.some((t) => EXCLUDED_TAGS.has(t))) {
+ const isEmbedding = m.tags?.some((t) => EMBEDDING_TAGS.has(t));
+ if (!isEmbedding && m.tags?.some((t) => EXCLUDED_TAGS.has(t))) {
return null;
}
if (excludeGguf && m.tags?.includes("gguf")) {