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 1_Pooling/config.json from Supabase/bge-small-en: direct link, hf CLI and curl.
- Browser
- Download file 190 Bytes
-
https://huggingface.co/Supabase/bge-small-en/resolve/refs%2Fpr%2F2/1_Pooling/config.json
- Command line
-
hf download hf://Supabase/bge-small-en@refs/pr/2/1_Pooling/config.json
-
curl -L -o config.json https://huggingface.co/Supabase/bge-small-en/resolve/refs%2Fpr%2F2/1_Pooling/config.json
190 Bytes
| { | |
| "word_embedding_dimension": 384, | |
| "pooling_mode_cls_token": true, | |
| "pooling_mode_mean_tokens": false, | |
| "pooling_mode_max_tokens": false, | |
| "pooling_mode_mean_sqrt_len_tokens": false | |
| } |