Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ data = dataset["train"]
|
|
27 |
# Apply the function to ensure embeddings are 2-dimensional
|
28 |
#data = data.map(lambda example: {'Abstract_Embeddings': ensure_2d_embeddings(example['Abstract_Embeddings'])})
|
29 |
|
30 |
-
data = data.add_faiss_index("
|
31 |
|
32 |
model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
|
33 |
|
|
|
27 |
# Apply the function to ensure embeddings are 2-dimensional
|
28 |
#data = data.map(lambda example: {'Abstract_Embeddings': ensure_2d_embeddings(example['Abstract_Embeddings'])})
|
29 |
|
30 |
+
data = data.add_faiss_index("embedding")
|
31 |
|
32 |
model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
|
33 |
|