gloignon commited on
Commit
b97c1d1
·
verified ·
1 Parent(s): 76026d0

Trying paraphrase model instead

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from sklearn.decomposition import PCA
6
  from sentence_transformers import SentenceTransformer
7
 
8
  # Load pre-trained sentence transformer model
9
- model = SentenceTransformer('all-MiniLM-L6-v2')
10
 
11
  # Function to compute document embeddings and apply PCA
12
  # Modify the Gradio interface to accept a list of identifiers and texts
 
6
  from sentence_transformers import SentenceTransformer
7
 
8
  # Load pre-trained sentence transformer model
9
+ model = SentenceTransformer('paraphrase-multilingual-MiniLM-L12-v2')
10
 
11
  # Function to compute document embeddings and apply PCA
12
  # Modify the Gradio interface to accept a list of identifiers and texts