Instructions to use Xenova/mobilevit-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/mobilevit-small with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-classification', 'Xenova/mobilevit-small');
Download quant_config.json from Xenova/mobilevit-small: direct link, hf CLI and curl.
- Browser
- Download file 678 Bytes
-
https://huggingface.co/Xenova/mobilevit-small/resolve/refs%2Fpr%2F2/quant_config.json
- Command line
-
hf download hf://Xenova/mobilevit-small@refs/pr/2/quant_config.json
-
curl -L -o quant_config.json https://huggingface.co/Xenova/mobilevit-small/resolve/refs%2Fpr%2F2/quant_config.json
678 Bytes
| { | |
| "per_channel": true, | |
| "reduce_range": true, | |
| "per_model_config": { | |
| "model": { | |
| "op_types": [ | |
| "Softmax", | |
| "Div", | |
| "Sigmoid", | |
| "Conv", | |
| "Mul", | |
| "Sqrt", | |
| "ReduceMean", | |
| "Gather", | |
| "Gemm", | |
| "Add", | |
| "MatMul", | |
| "Sub", | |
| "Reshape", | |
| "Transpose", | |
| "Shape", | |
| "Constant", | |
| "Concat", | |
| "Unsqueeze", | |
| "Pow" | |
| ], | |
| "weight_type": "QUInt8" | |
| } | |
| } | |
| } |