diff --git a/llama-3.2-webgpu/package-lock.json b/llama-3.2-webgpu/package-lock.json
index 6d223b0..aec5be7 100644
--- a/llama-3.2-webgpu/package-lock.json
+++ b/llama-3.2-webgpu/package-lock.json
@@ -8,7 +8,7 @@
"name": "llama-3.2-webgpu",
"version": "0.0.0",
"dependencies": {
- "@huggingface/transformers": "3.0.0",
+ "@huggingface/transformers": "3.0.1",
"dompurify": "^3.1.2",
"marked": "^12.0.2",
"react": "^18.3.1",
@@ -835,13 +835,13 @@
}
},
"node_modules/@huggingface/transformers": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@huggingface/transformers/-/transformers-3.0.0.tgz",
- "integrity": "sha512-OWIPnTijAw4DQ+IFHBOrej2SDdYyykYlTtpTLCEt5MZq/e9Cb65RS2YVhdGcgbaW/6JAL3i8ZA5UhDeWGm4iRQ==",
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/@huggingface/transformers/-/transformers-3.0.1.tgz",
+ "integrity": "sha512-lXmF0/p+ZdQX0NKTybLUCzIKr0sKD6BfqtjL7olaLx2JHAM3HKVrvFjWeFe2lQRkhL6cEcFw2WXs7o8nZU/WGg==",
"dependencies": {
"@huggingface/jinja": "^0.3.0",
"onnxruntime-node": "1.19.2",
- "onnxruntime-web": "1.20.0-dev.20241016-2b8fc5529b",
+ "onnxruntime-web": "1.21.0-dev.20241024-d9ca84ef96",
"sharp": "^0.33.5"
}
},
@@ -4260,9 +4260,9 @@
}
},
"node_modules/onnxruntime-web": {
- "version": "1.20.0-dev.20241016-2b8fc5529b",
- "resolved": "https://registry.npmjs.org/onnxruntime-web/-/onnxruntime-web-1.20.0-dev.20241016-2b8fc5529b.tgz",
- "integrity": "sha512-1XovqtgqeEFtupuyzdDQo7Tqj4GRyNHzOoXjapCEo4rfH3JrXok5VtqucWfRXHPsOI5qoNxMQ9VE+drDIp6woQ==",
+ "version": "1.21.0-dev.20241024-d9ca84ef96",
+ "resolved": "https://registry.npmjs.org/onnxruntime-web/-/onnxruntime-web-1.21.0-dev.20241024-d9ca84ef96.tgz",
+ "integrity": "sha512-ANSQfMALvCviN3Y4tvTViKofKToV1WUb2r2VjZVCi3uUBPaK15oNJyIxhsNyEckBr/Num3JmSXlkHOD8HfVzSQ==",
"dependencies": {
"flatbuffers": "^1.12.0",
"guid-typescript": "^1.0.9",
diff --git a/llama-3.2-webgpu/package.json b/llama-3.2-webgpu/package.json
index d786987..b610fe5 100644
--- a/llama-3.2-webgpu/package.json
+++ b/llama-3.2-webgpu/package.json
@@ -10,7 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
- "@huggingface/transformers": "3.0.0",
+ "@huggingface/transformers": "3.0.1",
"dompurify": "^3.1.2",
"marked": "^12.0.2",
"react": "^18.3.1",
diff --git a/llama-3.2-webgpu/src/App.jsx b/llama-3.2-webgpu/src/App.jsx
index e818f80..a4ba733 100644
--- a/llama-3.2-webgpu/src/App.jsx
+++ b/llama-3.2-webgpu/src/App.jsx
@@ -10,7 +10,7 @@ const STICKY_SCROLL_THRESHOLD = 120;
const EXAMPLES = [
"Give me some tips to improve my time management skills.",
"What is the difference between AI and ML?",
- "Write python code to compute the nth fibonacci number.",
+ "Write Python code to perform merge sort.",
];
function App() {
@@ -209,7 +209,7 @@ function App() {
You are about to load{" "}
{
break;
case "reset":
- // past_key_values_cache = null;
+ past_key_values_cache = null;
stopping_criteria.reset();
break;
}