Sarah Ciston
commited on
Commit
·
a0c3a93
1
Parent(s):
bf21364
back up to old version of transformers again
Browse files
sketch.js
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
// connect to API via module
|
2 |
|
3 |
// import { AutoTokenizer, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers';
|
4 |
-
import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@
|
|
|
|
|
5 |
|
6 |
// Since we will download the model from the Hugging Face Hub, we can skip the local model check
|
7 |
env.allowLocalModels = false;
|
|
|
1 |
// connect to API via module
|
2 |
|
3 |
// import { AutoTokenizer, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers';
|
4 |
+
// import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@latest';
|
5 |
+
// import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.17.2';
|
6 |
+
import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.10.1';
|
7 |
|
8 |
// Since we will download the model from the Hugging Face Hub, we can skip the local model check
|
9 |
env.allowLocalModels = false;
|