Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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("
|
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 |
|