Spaces:
Running
Running
Try Snowflake/snowflake-arctic-embed-s
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ all_datasets = prep_data()
|
|
115 |
all_datasets_df = pd.DataFrame.from_dict(all_datasets)
|
116 |
print(all_datasets_df.head())
|
117 |
text = all_datasets_df['text']
|
118 |
-
encoder = SentenceTransformer("
|
119 |
vectors = encoder.encode(text)
|
120 |
vector_dimension = vectors.shape[1]
|
121 |
print("Start indexing")
|
|
|
115 |
all_datasets_df = pd.DataFrame.from_dict(all_datasets)
|
116 |
print(all_datasets_df.head())
|
117 |
text = all_datasets_df['text']
|
118 |
+
encoder = SentenceTransformer("Snowflake/snowflake-arctic-embed-s")
|
119 |
vectors = encoder.encode(text)
|
120 |
vector_dimension = vectors.shape[1]
|
121 |
print("Start indexing")
|