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 modules.json from Supabase/bge-small-en: direct link, hf CLI and curl.
- Browser
- Download file 229 Bytes
-
https://huggingface.co/Supabase/bge-small-en/resolve/refs%2Fpr%2F2/modules.json
- Command line
-
hf download hf://Supabase/bge-small-en@refs/pr/2/modules.json
-
curl -L -o modules.json https://huggingface.co/Supabase/bge-small-en/resolve/refs%2Fpr%2F2/modules.json
229 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "", | |
| "type": "sentence_transformers.models.Transformer" | |
| }, | |
| { | |
| "idx": 1, | |
| "name": "1", | |
| "path": "1_Pooling", | |
| "type": "sentence_transformers.models.Pooling" | |
| } | |
| ] |