Xenova HF Staff whitphx HF Staff commited on
Commit
e72de92
·
verified ·
1 Parent(s): 92a2b33

Add/update the quantized ONNX model files and README.md for Transformers.js v3 (#2)

Browse files

- Add/update the quantized ONNX model files and README.md for Transformers.js v3 (55f36f98225bd0f2758864c12e9238471cf00637)


Co-authored-by: Yuichiro Tachibana <whitphx@users.noreply.huggingface.co>

README.md CHANGED
@@ -7,14 +7,14 @@ https://huggingface.co/apple/mobilevit-small with ONNX weights to be compatible
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/@xenova/transformers) using:
11
  ```bash
12
- npm i @xenova/transformers
13
  ```
14
 
15
  **Example:** Perform image classification with `Xenova/mobilevit-small`
16
  ```js
17
- import { pipeline } from '@xenova/transformers';
18
 
19
  // Create an image classification pipeline
20
  const classifier = await pipeline('image-classification', 'Xenova/mobilevit-small', {
 
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 image classification with `Xenova/mobilevit-small`
16
  ```js
17
+ import { pipeline } from '@huggingface/transformers';
18
 
19
  // Create an image classification pipeline
20
  const classifier = await pipeline('image-classification', 'Xenova/mobilevit-small', {
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc9c02e0948cc104ae65c664254c5d1d703a0d93097d41223788a2ad50776022
3
+ size 12592898
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a76335d22418911ed1c16d2adb255866e4d7079ce8d8e10be1a42f8e8eac28fe
3
+ size 12833818
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b16a4df0e2454d05379941691f8c546c7f22821c7fea35f6bee097c5cd6f3f2f
3
+ size 7289715
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:363865a989b563df81f63188db8f207ca6af054b1f207602d5ecc831c31805d4
3
+ size 6063282