Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ ST = SentenceTransformer("mixedbread-ai/mxbai-embed-large-v1")
|
|
16 |
dataset = load_dataset("jihye-moon/LawQA-Ko")
|
17 |
|
18 |
data = dataset["train"]
|
19 |
-
data = data.add_faiss_index("
|
20 |
|
21 |
|
22 |
model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
|
|
|
16 |
dataset = load_dataset("jihye-moon/LawQA-Ko")
|
17 |
|
18 |
data = dataset["train"]
|
19 |
+
data = data.add_faiss_index("question", "answer") # column name that has the embeddings of the dataset
|
20 |
|
21 |
|
22 |
model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
|