Skip to content

Commit 5b31129

Browse files
committed
[version] Update to 2.6.2
1 parent 09cbb0c commit 5b31129

6 files changed

+8
-8
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ npm i @xenova/transformers
9898
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:
9999
```html
100100
<script type="module">
101-
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/[email protected].1';
101+
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/[email protected].2';
102102
</script>
103103
```
104104

@@ -127,7 +127,7 @@ Want to jump straight in? Get started with one of our sample applications/templa
127127

128128

129129

130-
By default, Transformers.js uses [hosted pretrained models](https://huggingface.co/models) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@xenova/[email protected].1/dist/), which should work out-of-the-box. You can customize this as follows:
130+
By default, Transformers.js uses [hosted pretrained models](https://huggingface.co/models) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@xenova/[email protected].2/dist/), which should work out-of-the-box. You can customize this as follows:
131131

132132

133133
### Settings

docs/snippets/2_installation.snippet

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ npm i @xenova/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/@xenova/[email protected].1';
10+
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/[email protected].2';
1111
</script>
1212
```

docs/snippets/4_custom-usage.snippet

+1-1
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) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@xenova/[email protected].1/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) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@xenova/[email protected].2/dist/), which should work out-of-the-box. You can customize this as follows:
44

55

66
### Settings

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@xenova/transformers",
3-
"version": "2.6.1",
3+
"version": "2.6.2",
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": "./src/transformers.js",
66
"types": "./types/transformers.d.ts",

src/env.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import url from 'url';
2929
import { ONNX } from './backends/onnx.js';
3030
const { env: onnx_env } = ONNX;
3131

32-
const VERSION = '2.6.1';
32+
const VERSION = '2.6.2';
3333

3434
// Check if various APIs are available (depends on environment)
3535
const WEB_CACHE_AVAILABLE = typeof self !== 'undefined' && 'caches' in self;

0 commit comments

Comments
 (0)