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 (91c84d0afdc63329472f7269ea89e7b09a0680b8)
Co-authored-by: Yuichiro Tachibana <[email protected]>
README.md
CHANGED
@@ -9,15 +9,15 @@ YOLOv8n-pose with ONNX weights to be compatible with Transformers.js.
|
|
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/@
|
13 |
```bash
|
14 |
-
npm i @
|
15 |
```
|
16 |
|
17 |
**Example:** Perform pose-estimation w/ `Xenova/yolov8n-pose`.
|
18 |
|
19 |
```js
|
20 |
-
import { AutoModel, AutoProcessor, RawImage } from '@
|
21 |
|
22 |
// Load model and processor
|
23 |
const model_id = 'Xenova/yolov8n-pose';
|
|
|
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 pose-estimation w/ `Xenova/yolov8n-pose`.
|
18 |
|
19 |
```js
|
20 |
+
import { AutoModel, AutoProcessor, RawImage } from '@huggingface/transformers';
|
21 |
|
22 |
// Load model and processor
|
23 |
const model_id = 'Xenova/yolov8n-pose';
|