Xenova HF Staff commited on
Commit
4d6cd88
·
verified ·
1 Parent(s): 2e0d90d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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-small-en-v1.5');
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 = [