📝 Update README.md samples for Transformers.js v3

#1
by whitphx HF Staff - opened
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -9,8 +9,7 @@ https://huggingface.co/jinaai/jina-embeddings-v2-small-en with ONNX weights to b
9
  ## Usage with 🤗 Transformers.js
10
 
11
  ```js
12
- // npm i @xenova/transformers
13
- import { pipeline, cos_sim } from '@xenova/transformers';
14
 
15
  // Create feature extraction pipeline
16
  const extractor = await pipeline('feature-extraction', 'Xenova/jina-embeddings-v2-small-en',
 
9
  ## Usage with 🤗 Transformers.js
10
 
11
  ```js
12
+ import { pipeline, cos_sim } from '@huggingface/transformers';
 
13
 
14
  // Create feature extraction pipeline
15
  const extractor = await pipeline('feature-extraction', 'Xenova/jina-embeddings-v2-small-en',