[version] Update to 2.12.1
This commit is contained in:
parent
1427125dc3
commit
0bf6e6712f
|
@ -101,7 +101,7 @@ npm i @xenova/transformers
|
|||
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:
|
||||
```html
|
||||
<script type="module">
|
||||
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.12.0';
|
||||
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.12.1';
|
||||
</script>
|
||||
```
|
||||
|
||||
|
@ -133,7 +133,7 @@ Want to jump straight in? Get started with one of our sample applications/templa
|
|||
|
||||
|
||||
|
||||
By default, Transformers.js uses [hosted pretrained models](https://huggingface.co/models?library=transformers.js) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@xenova/transformers@2.12.0/dist/), which should work out-of-the-box. You can customize this as follows:
|
||||
By default, Transformers.js uses [hosted pretrained models](https://huggingface.co/models?library=transformers.js) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@xenova/transformers@2.12.1/dist/), which should work out-of-the-box. You can customize this as follows:
|
||||
|
||||
|
||||
### Settings
|
||||
|
|
|
@ -7,6 +7,6 @@ npm i @xenova/transformers
|
|||
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:
|
||||
```html
|
||||
<script type="module">
|
||||
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.12.0';
|
||||
import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.12.1';
|
||||
</script>
|
||||
```
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
|
||||
By default, Transformers.js uses [hosted pretrained models](https://huggingface.co/models?library=transformers.js) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@xenova/transformers@2.12.0/dist/), which should work out-of-the-box. You can customize this as follows:
|
||||
By default, Transformers.js uses [hosted pretrained models](https://huggingface.co/models?library=transformers.js) and [precompiled WASM binaries](https://cdn.jsdelivr.net/npm/@xenova/transformers@2.12.1/dist/), which should work out-of-the-box. You can customize this as follows:
|
||||
|
||||
|
||||
### Settings
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@xenova/transformers",
|
||||
"version": "2.12.0",
|
||||
"version": "2.12.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@xenova/transformers",
|
||||
"version": "2.12.0",
|
||||
"version": "2.12.1",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@huggingface/jinja": "^0.1.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@xenova/transformers",
|
||||
"version": "2.12.0",
|
||||
"version": "2.12.1",
|
||||
"description": "State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!",
|
||||
"main": "./src/transformers.js",
|
||||
"types": "./types/transformers.d.ts",
|
||||
|
|
|
@ -29,7 +29,7 @@ import url from 'url';
|
|||
import { ONNX } from './backends/onnx.js';
|
||||
const { env: onnx_env } = ONNX;
|
||||
|
||||
const VERSION = '2.12.0';
|
||||
const VERSION = '2.12.1';
|
||||
|
||||
// Check if various APIs are available (depends on environment)
|
||||
const WEB_CACHE_AVAILABLE = typeof self !== 'undefined' && 'caches' in self;
|
||||
|
|
Loading…
Reference in New Issue