Update README.md
Browse files
README.md
CHANGED
@@ -2688,6 +2688,7 @@ print(cos_sim(embeddings[0], embeddings[1]))
|
|
2688 |
Use with `transformers.js`:
|
2689 |
|
2690 |
```js
|
|
|
2691 |
import { pipeline, dot } from '@xenova/transformers';
|
2692 |
|
2693 |
// Create feature extraction pipeline
|
|
|
2688 |
Use with `transformers.js`:
|
2689 |
|
2690 |
```js
|
2691 |
+
// npm i @xenova/transformers
|
2692 |
import { pipeline, dot } from '@xenova/transformers';
|
2693 |
|
2694 |
// Create feature extraction pipeline
|