Buckets:

rtrm's picture
|
download
raw
633 Bytes
# Installation
To install via [NPM](https://www.npmjs.com/package/@huggingface/transformers), run:
```bash
npm i @huggingface/transformers
```
Alternatively, you can use it in vanilla JS, without any bundler, by using a CDN or static hosting. For example, using [ES Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), you can import the library with:
```html
<script type="module">
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.6';
</script>
```
<EditOnGithub source="https://github.com/huggingface/transformers.js/blob/main/docs/source/installation.md" />

Xet Storage Details

Size:
633 Bytes
·
Xet hash:
f57f41f08eea20d773eb5274c6ecd16c85ce5da55a296e5cd758ca1026b4e83c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.