Spaces:
Sleeping
Sleeping
arjunanand13
commited on
Commit
•
0981a93
1
Parent(s):
715be0e
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def create_db(splits, db_choice: str = "faiss"):
|
|
104 |
return db_creators[db_choice](splits, embeddings)
|
105 |
|
106 |
def load_evaluation_dataset():
|
107 |
-
dataset = load_dataset("explodinggradients/fiqa", split="test")
|
108 |
return dataset
|
109 |
|
110 |
def evaluate_rag_pipeline(qa_chain, dataset):
|
|
|
104 |
return db_creators[db_choice](splits, embeddings)
|
105 |
|
106 |
def load_evaluation_dataset():
|
107 |
+
dataset = load_dataset("explodinggradients/fiqa", split="test", trust_remote_code=True)
|
108 |
return dataset
|
109 |
|
110 |
def evaluate_rag_pipeline(qa_chain, dataset):
|