Skip to content

Commit 6fdedd1

Browse files
authored
Update Transformers.js links (#1488)
1 parent 112c7f9 commit 6fdedd1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/hub/transformers-js.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ out = pipe('I love transformers!')
3535
<td>
3636

3737
```javascript
38-
import { pipeline } from '@xenova/transformers';
38+
import { pipeline } from '@huggingface/transformers';
3939

4040
// Allocate a pipeline for sentiment-analysis
4141
let pipe = await pipeline('sentiment-analysis');
@@ -59,16 +59,16 @@ Refer to the [documentation](https://huggingface.co/docs/transformers.js) for th
5959

6060
## Installation
6161

62-
To install via [NPM](https://www.npmjs.com/package/@xenova/transformers), run:
62+
To install via [NPM](https://www.npmjs.com/package/@huggingface/transformers), run:
6363
```bash
64-
npm i @xenova/transformers
64+
npm i @huggingface/transformers
6565
```
6666

67-
For more information, including how to use it in vanilla JS (without any bundler) via a CDN or static hosting, refer to the [README](https://github.com/xenova/transformers.js/blob/main/README.md#installation).
67+
For more information, including how to use it in vanilla JS (without any bundler) via a CDN or static hosting, refer to the [README](https://github.com/huggingface/transformers.js/blob/main/README.md#installation).
6868

6969

7070
## Additional resources
7171

72-
* Transformers.js [repository](https://github.com/xenova/transformers.js)
72+
* Transformers.js [repository](https://github.com/huggingface/transformers.js)
7373
* Transformers.js [docs](https://huggingface.co/docs/transformers.js)
74-
* Transformers.js [demo](https://xenova.github.io/transformers.js/)
74+
* Transformers.js [demo](https://huggingface.github.io/transformers.js/)

0 commit comments

Comments
 (0)