Xenova HF Staff whitphx commited on
Commit
547b315
·
verified ·
1 Parent(s): b551a27

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 (80e4114f899342053112addd7e7c73730e26dd91)


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

README.md CHANGED
@@ -7,14 +7,14 @@ https://huggingface.co/apple/mobilevit-xx-small with ONNX weights to be compatib
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-xx-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-xx-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-xx-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-xx-small', {
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:814f73ab0f5bd6d73224d610db9bd43d1f0a419173a76e9bd14d16091fda65d0
3
+ size 3640247
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f841cbe84aa968ae4bd873a8cf2501655ef11ef560144790993f80c4e738136f
3
+ size 3689768
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2e93362ee0365c9fb265ef48c34fa5afd310b21a94ce9cb2ff8d62322c52b25
3
+ size 2100369
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2ee4f8deba3afca4aaee9a31975ba3f793ac92129d6786a15403867561e17aa
3
+ size 1711622