Spaces:
Sleeping
Sleeping
Trying paraphrase model instead
Browse files
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('
|
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
|