Update index.html
Browse files- index.html +3 -3
index.html
CHANGED
@@ -106,7 +106,7 @@
|
|
106 |
<script type="module">
|
107 |
import "https://cdn.jsdelivr.net/npm/[email protected]/dist/plotly-basic.min.js";
|
108 |
import { UMAP } from "https://cdn.jsdelivr.net/npm/[email protected]/+esm";
|
109 |
-
import { pipeline } from "https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.
|
110 |
const sentences = [
|
111 |
// Weather
|
112 |
"The sun peeked through the clouds after a drizzly morning.",
|
@@ -245,8 +245,8 @@
|
|
245 |
const statusEl = document.getElementById("status");
|
246 |
const embed = await pipeline(
|
247 |
"feature-extraction",
|
248 |
-
"
|
249 |
-
{ device: "webgpu", dtype: "
|
250 |
);
|
251 |
statusEl.textContent = "Ready!";
|
252 |
|
|
|
106 |
<script type="module">
|
107 |
import "https://cdn.jsdelivr.net/npm/[email protected]/dist/plotly-basic.min.js";
|
108 |
import { UMAP } from "https://cdn.jsdelivr.net/npm/[email protected]/+esm";
|
109 |
+
import { pipeline } from "https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.6.1";
|
110 |
const sentences = [
|
111 |
// Weather
|
112 |
"The sun peeked through the clouds after a drizzly morning.",
|
|
|
245 |
const statusEl = document.getElementById("status");
|
246 |
const embed = await pipeline(
|
247 |
"feature-extraction",
|
248 |
+
"jhu-clsp/ettin-encoder-17m",
|
249 |
+
{ device: "webgpu", dtype: "fp32", revision: "refs/pr/2" },
|
250 |
);
|
251 |
statusEl.textContent = "Ready!";
|
252 |
|