hantech commited on
Commit
2c662eb
·
verified ·
1 Parent(s): 671f7c3

Update worker.js

Browse files
Files changed (1) hide show
  1. worker.js +1 -1
worker.js CHANGED
@@ -11,7 +11,7 @@ const EMBEDDING_MODEL_ID = 'onnx-community/embeddinggemma-300m-ONNX';
11
  // Lưu ý: Nếu phiên bản ONNX của Granite 4.0 chưa public dưới ID này,
12
  // bạn cần trỏ tới đúng repo onnx (ví dụ ibm-granite/granite-3.0-2b-instruct nếu 4.0 chưa có onnx).
13
  // Tuy nhiên, tôi giữ nguyên tham chiếu "Granite" như yêu cầu.
14
- const LLM_MODEL_ID = 'ibm-granite/granite-4.0-350m-instruct'; // Kiểm tra lại tên chính xác trên HF Hub nếu lỗi
15
 
16
  let extractor = null;
17
  let generator = null;
 
11
  // Lưu ý: Nếu phiên bản ONNX của Granite 4.0 chưa public dưới ID này,
12
  // bạn cần trỏ tới đúng repo onnx (ví dụ ibm-granite/granite-3.0-2b-instruct nếu 4.0 chưa có onnx).
13
  // Tuy nhiên, tôi giữ nguyên tham chiếu "Granite" như yêu cầu.
14
+ const LLM_MODEL_ID = 'onnx-community/granite-4.0-1b-ONNX-web'; // Kiểm tra lại tên chính xác trên HF Hub nếu lỗi
15
 
16
  let extractor = null;
17
  let generator = null;