Skip to content

Commit

Permalink
Update Transformers.js links (#1488)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanGallen authored Nov 25, 2024
1 parent 112c7f9 commit 6fdedd1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/hub/transformers-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ out = pipe('I love transformers!')
<td>

```javascript
import { pipeline } from '@xenova/transformers';
import { pipeline } from '@huggingface/transformers';

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

## Installation

To install via [NPM](https://www.npmjs.com/package/@xenova/transformers), run:
To install via [NPM](https://www.npmjs.com/package/@huggingface/transformers), run:
```bash
npm i @xenova/transformers
npm i @huggingface/transformers
```

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).
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).


## Additional resources

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

0 comments on commit 6fdedd1

Please sign in to comment.