Skip to content

Commit 73489b7

Browse files
authored
fixed minor bug (#709)
Signed-off-by: viraman <[email protected]>
1 parent c006da8 commit 73489b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/nemo-retriever-synthetic-data-generation/retriever_evalset_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def _process_on_partition(self, df: pd.DataFrame) -> pd.DataFrame:
128128
df["question"] = df["qa_pairs"].apply(lambda x: x["question"])
129129
df["question-id"] = df["question"].apply(self._get_random_hash)
130130
df["answer"] = df["qa_pairs"].apply(lambda x: x["answer"])
131-
df["score"] = df["question"].apply(lambda: 1)
131+
df["score"] = 1
132132

133133
return df
134134

0 commit comments

Comments
 (0)