Xenova HF Staff whitphx commited on
Commit
cd965c9
·
verified ·
1 Parent(s): d4439ed

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 (8b75786e33bd9495544f888a7e6b4cf5cc1dc2c0)


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

Files changed (2) hide show
  1. README.md +3 -3
  2. onnx/model_q4f16.onnx +3 -0
README.md CHANGED
@@ -9,14 +9,14 @@ https://huggingface.co/timm/fastvit_sa24.apple_in1k with ONNX weights to be comp
9
 
10
  ## Usage (Transformers.js)
11
 
12
- 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:
13
  ```bash
14
- npm i @xenova/transformers
15
  ```
16
 
17
  **Example:** Perform image classification with `Xenova/fastvit_sa24.apple_in1k`.
18
  ```js
19
- import { pipeline } from '@xenova/transformers';
20
 
21
  // Create an image classification pipeline
22
  const classifier = await pipeline('image-classification', 'Xenova/fastvit_sa24.apple_in1k');
 
9
 
10
  ## Usage (Transformers.js)
11
 
12
+ 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:
13
  ```bash
14
+ npm i @huggingface/transformers
15
  ```
16
 
17
  **Example:** Perform image classification with `Xenova/fastvit_sa24.apple_in1k`.
18
  ```js
19
+ import { pipeline } from '@huggingface/transformers';
20
 
21
  // Create an image classification pipeline
22
  const classifier = await pipeline('image-classification', 'Xenova/fastvit_sa24.apple_in1k');
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7958f7a9b5c7531d70f954a186cb279aa9067b10ecd2af145be1cea4ccdbd11
3
+ size 37294428