Skip to content

Commit 10c9b5f

Browse files
committed
clean up rag
1 parent 5b7a2ed commit 10c9b5f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,9 @@ This is a list of TODOs for the repository. If you are interested in contributin
841841
- [x] Add option for data mixing.
842842
- [x] Adjust feature selection for RAG.
843843
- [x] Apply normalization to RAG database.
844-
- [x] Cross Dataset Ablation.
845-
- [x] Add "Only feature" retrieval option for RAG
844+
- [ ] Cross Dataset Ablation.
845+
- [ ] Apply RAG with encoder methods
846+
- [ ] Add "Only feature" retrieval option for RAG
846847
- [x] For preprocessing, stratify based on patient, such that no overlapping patients between train and test.
847848
- [x] Add official splits for benchmarking.
848849
- [x] Upload to huggingface datasets and use huggingface datasets data loading in main.

ecg_bench/utils/rag_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ def format_search(self, results, retrieved_information='combined'):
369369
# Include diagnosis information based on retrieved_information
370370
if retrieved_information in ["report", "combined"]:
371371
output += "Diagnosis Information:\n"
372-
output +="--------------------------"
373-
# output += f"{res['report']}\n\n"
372+
# output +="--------------------------"
373+
output += f"{res['report']}\n\n"
374374
return output
375375

376376
def convert_features_to_structured(self, feature_array):

0 commit comments

Comments
 (0)