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