Xenova HF Staff whitphx commited on
Commit
e039a36
·
verified ·
1 Parent(s): 696325d

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 (0f56c78c3e59142d2c5b39c05cb8b6892de4c8d9)


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

README.md CHANGED
@@ -6,14 +6,14 @@ library_name: transformers.js
6
  https://huggingface.co/dima806/facial_emotions_image_detection with ONNX weights to be compatible with Transformers.js.
7
  ## Usage (Transformers.js)
8
 
9
- 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:
10
  ```bash
11
- npm i @xenova/transformers
12
  ```
13
 
14
  **Example:** Perform emotion detection with `Xenova/facial_emotions_image_detection`:
15
  ```js
16
- import { pipeline } from '@xenova/transformers';
17
 
18
  // Create image classification pipeline
19
  const classifier = await pipeline('image-classification', 'Xenova/facial_emotions_image_detection');
 
6
  https://huggingface.co/dima806/facial_emotions_image_detection with ONNX weights to be compatible with Transformers.js.
7
  ## Usage (Transformers.js)
8
 
9
+ 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:
10
  ```bash
11
+ npm i @huggingface/transformers
12
  ```
13
 
14
  **Example:** Perform emotion detection with `Xenova/facial_emotions_image_detection`:
15
  ```js
16
+ import { pipeline } from '@huggingface/transformers';
17
 
18
  // Create image classification pipeline
19
  const classifier = await pipeline('image-classification', 'Xenova/facial_emotions_image_detection');
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6e668efb6858c1d19f4c747cf796f94d6755a2611005d0f2d888b43ff253dcb
3
+ size 51460563
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:004361d47c900c0eaea2b1ee521aaedaf2c556b6b5bf506e06a8beb1c1c43cd9
3
+ size 56768451
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:433bdb3f56ced1cd9c11f750d9975068c967a21772b890c956c10fa7aa380a13
3
+ size 49721446
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff820e85a2e356e79744dda24cff9e900bf77d62319fac1abd31ede805f73875
3
+ size 86917608