Yoxas commited on
Commit
2e13b19
·
verified ·
1 Parent(s): 200204a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def ensure_2d_embeddings(embeddings):
29
  # Apply the function to ensure embeddings are 2-dimensional and of type float32
30
  data = data.map(lambda example: {'embedding': ensure_2d_embeddings(example['embedding'])})
31
 
32
- data = data.add_faiss_index("embedding")
33
 
34
  model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
35
 
 
29
  # Apply the function to ensure embeddings are 2-dimensional and of type float32
30
  data = data.map(lambda example: {'embedding': ensure_2d_embeddings(example['embedding'])})
31
 
32
+ data = data.add_faiss_index("Abstract")
33
 
34
  model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
35