Xenova HF Staff commited on
Commit
178f609
·
verified ·
1 Parent(s): 2aa4daa

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -299,7 +299,7 @@
299
  statusEl.textContent = "Embedding labels...";
300
  const lblOut = await embed(
301
  labelTexts.map((x) => `Category: ${x}`),
302
- { pooling: "mean", normalize: true },
303
  );
304
  labelEmbeddings = lblOut.tolist();
305
  }
 
299
  statusEl.textContent = "Embedding labels...";
300
  const lblOut = await embed(
301
  labelTexts.map((x) => `Category: ${x}`),
302
+ { pooling: "cls", normalize: true },
303
  );
304
  labelEmbeddings = lblOut.tolist();
305
  }