asoria HF staff commited on
Commit
6db2521
1 Parent(s): 2a80b42

Try Snowflake/snowflake-arctic-embed-s

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("sentence-transformers/all-MiniLM-L6-v2")
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")