progress bar optional manual control#8021
progress bar optional manual control#8021AnkitAhlawat7742 wants to merge 3 commits intohuggingface:mainfrom
Conversation
|
Hi @lhoestq , |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
|
@lhoestq I have applied the required Ruff formatting changes in the |
|
HI @lhoestq , |
|
HI @julien-c , |
|
Hi @albertvillanova , |
|
I don't think we want to add more arguments to this method. from datasets.utils import disable_progress_bars
disable_progress_bars() |
|
Hey @lhoestq , |
Fix: #7939
Summary
The default behavior for the progress bar has been adjusted based on dataset size. It remains enabled for small datasets and is automatically disabled for larger datasets to improve performance. Users retain full control and can explicitly enable or disable the progress bar using the progress_bar parameter.
Changes
Modified the logic to disable the progress bar when the number of files exceeds 16.