Alternatively, you can use it in vanilla JS, without any bundler, by using a CDN or static hosting. For example, using , you can import the library with:
Copied
<script type="module">
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.7.0';
</script>