whitphx HF Staff commited on
Commit
63d300a
·
verified ·
1 Parent(s): 2bf5f1f

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

Browse files

## Applied Quantizations

### ✅ Based on `model.onnx` *without* slimming

Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -8,15 +8,15 @@ https://huggingface.co/nvidia/segformer-b0-finetuned-ade-512-512 with ONNX weigh
8
 
9
  ## Usage (Transformers.js)
10
 
11
- 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:
12
  ```bash
13
- npm i @xenova/transformers
14
  ```
15
 
16
  **Example:** Image segmentation with `Xenova/segformer-b0-finetuned-ade-512-512`.
17
 
18
  ```js
19
- import { pipeline } from '@xenova/transformers';
20
 
21
  // Create an image segmentation pipeline
22
  const segmenter = await pipeline('image-segmentation', 'Xenova/segformer-b0-finetuned-ade-512-512');
 
8
 
9
  ## Usage (Transformers.js)
10
 
11
+ 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:
12
  ```bash
13
+ npm i @huggingface/transformers
14
  ```
15
 
16
  **Example:** Image segmentation with `Xenova/segformer-b0-finetuned-ade-512-512`.
17
 
18
  ```js
19
+ import { pipeline } from '@huggingface/transformers';
20
 
21
  // Create an image segmentation pipeline
22
  const segmenter = await pipeline('image-segmentation', 'Xenova/segformer-b0-finetuned-ade-512-512');