Skip to content

Commit

Permalink
Fix id field (NVIDIA#250)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wolf <[email protected]>
Signed-off-by: Vinay Raman <[email protected]>
  • Loading branch information
ryantwolf authored and vinay-raman committed Nov 12, 2024
1 parent b0adda5 commit 092da34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo_curator/scripts/fuzzy_deduplication/minhash_lsh.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def main(args):
dask_cudf.read_parquet(data_path, blocksize="2GB", aggregate_files=True)
)
df = dask_cudf.concat(dfs, ignore_unknown_divisions=True)
df = df[~df.id_field.isna()]
df = df[~df[id_field].isna()]
df = df.map_partitions(
convert_str_id_to_int,
id_column=id_field,
Expand Down

0 comments on commit 092da34

Please sign in to comment.