Update README.md
Browse files
README.md
CHANGED
|
@@ -44,7 +44,7 @@ You can also use the model for retrieval. For example:
|
|
| 44 |
import { pipeline, cos_sim } from '@huggingface/transformers';
|
| 45 |
|
| 46 |
// Create a feature-extraction pipeline
|
| 47 |
-
const extractor = await pipeline('feature-extraction', 'Xenova/bge-
|
| 48 |
|
| 49 |
// List of documents you want to embed
|
| 50 |
const texts = [
|
|
|
|
| 44 |
import { pipeline, cos_sim } from '@huggingface/transformers';
|
| 45 |
|
| 46 |
// Create a feature-extraction pipeline
|
| 47 |
+
const extractor = await pipeline('feature-extraction', 'Xenova/bge-base-en-v1.5');
|
| 48 |
|
| 49 |
// List of documents you want to embed
|
| 50 |
const texts = [
|