in generate_predictions(),
for query_dict, query_web_search_results in tqdm(zip(qa, web_results), total=len(qa), desc="Generating Predictions"):
prediction = participant_model.generate_answer(
query, query_web_search_results
)
calling dummy_model by (query, query_web_search_results) arguments, and query_web_search_results is a dict type element.
but in models/dummy_model.py:
def generate_answer(self, query: str, search_results: List[str]) -> str:
search_results is a list of str