vamseelatha2002 commited on
Commit
1dac252
·
verified ·
1 Parent(s): 54dd74b

Update evaluation.py

Browse files
Files changed (1) hide show
  1. evaluation.py +1 -1
evaluation.py CHANGED
@@ -153,7 +153,7 @@ def calculate_metrics(question, q_dataset, response, docs, time_taken):
153
 
154
  # Convert ground truth to numeric form (e.g., using cosine similarity or some metric)
155
  # Here, let's assume completeness is based on cosine similarity between the response and the ground truth
156
- ground_truth_completeness = compute_cosine_similarity(response, ground_truth_answer)
157
 
158
  # Predicted metrics
159
 
 
153
 
154
  # Convert ground truth to numeric form (e.g., using cosine similarity or some metric)
155
  # Here, let's assume completeness is based on cosine similarity between the response and the ground truth
156
+ # ground_truth_completeness = compute_cosine_similarity(response, ground_truth_answer)
157
 
158
  # Predicted metrics
159