Update README.md
Browse files
README.md
CHANGED
|
@@ -19,7 +19,7 @@ import { pipeline } from '@huggingface/transformers';
|
|
| 19 |
|
| 20 |
// Create a feature-extraction pipeline
|
| 21 |
const extractor = await pipeline('feature-extraction', 'Xenova/UAE-Large-V1', {
|
| 22 |
-
|
| 23 |
});
|
| 24 |
|
| 25 |
// Compute sentence embeddings
|
|
|
|
| 19 |
|
| 20 |
// Create a feature-extraction pipeline
|
| 21 |
const extractor = await pipeline('feature-extraction', 'Xenova/UAE-Large-V1', {
|
| 22 |
+
dtype: "fp32" // Options: "fp32", "fp16", "q8", "q4"
|
| 23 |
});
|
| 24 |
|
| 25 |
// Compute sentence embeddings
|