You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Ignore the writer's error for no examples written to the file if this error was caused by the error in _generate_examples before the first example was yielded
explanation_message+=f"\n\nThis happened while the {builder_name} dataset builder was generating data using\n\n{', '.join(formatted_tracked_gen_kwargs)}"
84
+
help_message="\n\nPlease either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)"
85
+
returncls("An error occurred while generating the dataset"+explanation_message+help_message)
returnf"there are {len(new_columns)} new columns ({', '.join(new_columns)}) and {len(missing_columns)} missing columns ({', '.join(missing_columns)})."
2232
+
elifnew_columns:
2233
+
returnf"there are {len(new_columns)} new columns ({new_columns})"
2234
+
else:
2235
+
returnf"there are {len(missing_columns)} missing columns ({missing_columns})"
0 commit comments