Skip to content

Commit 330021c

Browse files
authored
[version] Update to 4.0.0-next.8
1 parent 3cfb8dd commit 330021c

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ npm i @huggingface/transformers
4747
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:
4848
```html
4949
<script type="module">
50-
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.0.0-next.7';
50+
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.0.0-next.8';
5151
</script>
5252
```
5353

@@ -134,7 +134,7 @@ Ready to dive in? Explore our wide variety of demo applications and templates [h
134134

135135

136136

137-
By default, Transformers.js uses [hosted pretrained models](https://huggingface.co/models?library=transformers.js) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.0.0-next.7/dist/), which should work out-of-the-box. You can customize this as follows:
137+
By default, Transformers.js uses [hosted pretrained models](https://huggingface.co/models?library=transformers.js) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.0.0-next.8/dist/), which should work out-of-the-box. You can customize this as follows:
138138

139139
### Settings
140140

packages/transformers/docs/snippets/2_installation.snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ npm i @huggingface/transformers
77
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:
88
```html
99
<script type="module">
10-
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.0.0-next.7';
10+
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.0.0-next.8';
1111
</script>
1212
```

packages/transformers/docs/snippets/3_custom-usage.snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
By default, Transformers.js uses [hosted pretrained models](https://huggingface.co/models?library=transformers.js) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.0.0-next.7/dist/), which should work out-of-the-box. You can customize this as follows:
3+
By default, Transformers.js uses [hosted pretrained models](https://huggingface.co/models?library=transformers.js) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.0.0-next.8/dist/), which should work out-of-the-box. You can customize this as follows:
44

55
### Settings
66

packages/transformers/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@huggingface/transformers",
3-
"version": "4.0.0-next.7",
3+
"version": "4.0.0-next.8",
44
"description": "State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!",
55
"main": "./dist/transformers.node.cjs",
66
"types": "./types/transformers.d.ts",
@@ -56,7 +56,7 @@
5656
"homepage": "https://github.com/huggingface/transformers.js#readme",
5757
"dependencies": {
5858
"@huggingface/jinja": "^0.5.6",
59-
"@huggingface/tokenizers": "^0.1.2",
59+
"@huggingface/tokenizers": "^0.1.3",
6060
"onnxruntime-node": "1.24.3",
6161
"onnxruntime-web": "1.25.0-dev.20260307-d626b568e0",
6262
"sharp": "^0.34.5"

packages/transformers/src/env.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import fs from 'node:fs';
2626
import path from 'node:path';
2727
import url from 'node:url';
2828

29-
const VERSION = '4.0.0-next.7';
29+
const VERSION = '4.0.0-next.8';
3030

3131
const HAS_SELF = typeof self !== 'undefined';
3232

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)