You are viewing main version, which requires installation from source. If you'd like
regular npm install, checkout the latest stable version (v3.0.0).
Installation
To install via NPM, run:
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, you can import the library with:
<script type="module">
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.0.2';
</script>