Spaces:
Running
Running
Create Feature extraction
Browse files
assets/Feature extraction
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// npm i @xenova/transformers
|
2 |
+
import { pipeline } from '@xenova/transformers';
|
3 |
+
|
4 |
+
// Allocate pipeline
|
5 |
+
const pipe = await pipeline('feature-extraction', 'Xenova/xlm-r-100langs-bert-base-nli-stsb-mean-tokens')
|
6 |
+
git lfs install
|
7 |
+
git clone https://huggingface.co/mixedbread-ai/mxbai-embed-large-v1
|