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