Bloojay98 commited on
Commit
13207ac
1 Parent(s): b1179e9

Create Feature extraction

Browse files
Files changed (1) hide show
  1. assets/Feature extraction +7 -0
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