Skip to content

Commit 2af2d50

Browse files
committed
[version] Update to 4.1.0
1 parent c0e0d3b commit 2af2d50

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

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.1';
50+
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.1.0';
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.1/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.1.0/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.1';
10+
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.1.0';
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.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?library=transformers.js) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.1.0/dist/), which should work out-of-the-box. You can customize this as follows:
44

55
### Settings
66

packages/transformers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@huggingface/transformers",
3-
"version": "4.0.1",
3+
"version": "4.1.0",
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",

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.1';
29+
const VERSION = '4.1.0';
3030

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

0 commit comments

Comments
 (0)