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

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +3 -5
index.html CHANGED
@@ -2,7 +2,7 @@
2
  <html lang="en">
3
  <head>
4
  <meta charset="UTF-8" />
5
- <title>Qwen3 Embedding Scatterplot</title>
6
  <style>
7
  * {
8
  margin: 0;
@@ -271,11 +271,9 @@
271
  }
272
 
273
  statusEl.textContent = `Embedding ${sentences.length} sentence(s)...`;
274
- const task =
275
- "Given a textual input sentence, retrieve relevant categories that best describe it.";
276
  const output = await embed(
277
- sentences.map((s) => `Instruct: ${task}\nQuery:${s}`),
278
- { pooling: "mean", normalize: true },
279
  );
280
  const embeddings = output.tolist();
281
 
 
2
  <html lang="en">
3
  <head>
4
  <meta charset="UTF-8" />
5
+ <title>Ettin Embedding Scatterplot</title>
6
  <style>
7
  * {
8
  margin: 0;
 
271
  }
272
 
273
  statusEl.textContent = `Embedding ${sentences.length} sentence(s)...`;
 
 
274
  const output = await embed(
275
+ sentences,
276
+ { pooling: "cls", normalize: true },
277
  );
278
  const embeddings = output.tolist();
279