derek-thomas HF staff commited on
Commit
8ba4837
1 Parent(s): a5a27a1

Updating logging

Browse files
Files changed (2) hide show
  1. src/build_nomic.py +1 -1
  2. src/utilities.py +0 -1
src/build_nomic.py CHANGED
@@ -63,4 +63,4 @@ def build_nomic(dataset):
63
  id_field='id',
64
  identifier='BORU Subreddit Neural Search',
65
  )
66
- logger.info(f"Succeeded in creating new version of nomic Atlas.")
 
63
  id_field='id',
64
  identifier='BORU Subreddit Neural Search',
65
  )
66
+ logger.info(f"Succeeded in creating new version of nomic Atlas: {project.slug}")
src/utilities.py CHANGED
@@ -53,7 +53,6 @@ def merge_and_update_datasets(dataset, original_dataset):
53
  # Iterate over the DataFrame rows where 'embedding' is None
54
  for index, row in merged_df[merged_df['embedding'].isnull()].iterrows():
55
  # Update 'embedding' for the current row using our function
56
- logger.info(f"Updating index: {index}")
57
  merged_df.at[index, 'embedding'] = update_embeddings(content=row['content'], client=client)
58
 
59
  dataset['train'] = Dataset.from_pandas(merged_df)
 
53
  # Iterate over the DataFrame rows where 'embedding' is None
54
  for index, row in merged_df[merged_df['embedding'].isnull()].iterrows():
55
  # Update 'embedding' for the current row using our function
 
56
  merged_df.at[index, 'embedding'] = update_embeddings(content=row['content'], client=client)
57
 
58
  dataset['train'] = Dataset.from_pandas(merged_df)