Ajaykanth Maddi commited on
Commit
b95dbac
·
1 Parent(s): a1ab622

Changes to use RAG26-Demo as dataset

Browse files
Files changed (1) hide show
  1. ragbench.py +1 -1
ragbench.py CHANGED
@@ -178,7 +178,7 @@ class RAGSystem:
178
  print(f"Chunk directory: {chunkDir}")
179
 
180
  # Load langchain_docs for BM25
181
- docs_path = os.path.join(chunkDir, f"chunks_{self.strategy}.pkl")
182
  print(f"Chunk strategy {self.strategy} pickle path : {docs_path}")
183
 
184
  if os.path.exists(docs_path):
 
178
  print(f"Chunk directory: {chunkDir}")
179
 
180
  # Load langchain_docs for BM25
181
+ docs_path = os.path.join(f"{HF_DATASET_REPO_NAME}", chunkDir, f"chunks_{self.strategy}.pkl")
182
  print(f"Chunk strategy {self.strategy} pickle path : {docs_path}")
183
 
184
  if os.path.exists(docs_path):