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