Add/update the quantized ONNX model files and README.md for Transformers.js v3 (#1)
Browse files- Add/update the quantized ONNX model files and README.md for Transformers.js v3 (6a9dcb62887883205ff7bab451bfe9bac65c09fe)
Co-authored-by: Yuichiro Tachibana <[email protected]>
- README.md +3 -3
- onnx/model_bnb4.onnx +3 -0
- onnx/model_q4.onnx +3 -0
- onnx/model_q4f16.onnx +3 -0
- onnx/model_uint8.onnx +3 -0
README.md
CHANGED
@@ -7,14 +7,14 @@ https://huggingface.co/facebook/hubert-large-ls960-ft with ONNX weights to be co
|
|
7 |
|
8 |
## Usage (Transformers.js)
|
9 |
|
10 |
-
If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@
|
11 |
```bash
|
12 |
-
npm i @
|
13 |
```
|
14 |
|
15 |
**Example:** Perform automatic speech recognition with `Xenova/hubert-large-ls960-ft`.
|
16 |
```javascript
|
17 |
-
import { pipeline } from '@
|
18 |
|
19 |
// Create automatic speech recognition pipeline
|
20 |
const transcriber = await pipeline('automatic-speech-recognition', 'Xenova/hubert-large-ls960-ft');
|
|
|
7 |
|
8 |
## Usage (Transformers.js)
|
9 |
|
10 |
+
If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@huggingface/transformers) using:
|
11 |
```bash
|
12 |
+
npm i @huggingface/transformers
|
13 |
```
|
14 |
|
15 |
**Example:** Perform automatic speech recognition with `Xenova/hubert-large-ls960-ft`.
|
16 |
```javascript
|
17 |
+
import { pipeline } from '@huggingface/transformers';
|
18 |
|
19 |
// Create automatic speech recognition pipeline
|
20 |
const transcriber = await pipeline('automatic-speech-recognition', 'Xenova/hubert-large-ls960-ft');
|
onnx/model_bnb4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d4fd496cb318b1e49bcdb1d6c081696b12ea48c8e211f3ca8b6202f7eb97874
|
3 |
+
size 222590357
|
onnx/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f60a1b1484d4fad080b76a3113eb6154157ba4846df72965f19841cc3730dcfd
|
3 |
+
size 241498349
|
onnx/model_q4f16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:206949113fd3b6218ef749d63e0e011ae56eec30ab4feb3dd38d8396c277fd22
|
3 |
+
size 196748458
|
onnx/model_uint8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:939054e8c79a2eb8aaf0130c230fd9ddaf7b4f2480c94c056c20a5d678b2428e
|
3 |
+
size 317376731
|