Update index.html
Browse files- 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: "
|
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 |
}
|