Xenova HF Staff commited on
Commit
66ee836
·
verified ·
1 Parent(s): 2eb9cca

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +3 -3
index.html CHANGED
@@ -245,8 +245,8 @@
245
  const statusEl = document.getElementById("status");
246
  const embed = await pipeline(
247
  "feature-extraction",
248
- "onnx-community/Qwen3-Embedding-0.6B-ONNX",
249
- { device: "webgpu", dtype: "q4f16" },
250
  );
251
  statusEl.textContent = "Ready!";
252
 
@@ -291,7 +291,7 @@
291
  .value.trim();
292
  const labelTexts = labelInput
293
  .split("\n")
294
- .map((s) => s.trim())
295
  .filter((s) => s);
296
 
297
  let labelEmbeddings = [];
 
245
  const statusEl = document.getElementById("status");
246
  const embed = await pipeline(
247
  "feature-extraction",
248
+ "MongoDB/mdbr-leaf-mt",
249
+ { device: "webgpu", dtype: "q4" },
250
  );
251
  statusEl.textContent = "Ready!";
252
 
 
291
  .value.trim();
292
  const labelTexts = labelInput
293
  .split("\n")
294
+ .map((s) => "Represent this sentence for searching relevant passages: " + s.trim())
295
  .filter((s) => s);
296
 
297
  let labelEmbeddings = [];