Add option to disable the progress bar
See original GitHub issueHi,
unless I missed something, it is currently not possible to disable the progress bar when training a SetFit model using SetFitTrainer
. I suggest adding an option for this.
Motivation: I am using SetFit in a Jupyter Notebook (not sure why it seems to print more than in the SetFit example notebook) and the output makes it rather ugly. Moreover, one might want not to display progress bars regardless of the notebook setting.
Problematic calls: https://github.com/huggingface/setfit/blob/fa1021d2355f0cb3a2c85732ee7ffe44b0cef0d1/src/setfit/trainer.py#L374 https://github.com/huggingface/setfit/blob/fa1021d2355f0cb3a2c85732ee7ffe44b0cef0d1/src/setfit/trainer.py#L388
Issue Analytics
- State:
- Created 10 months ago
- Comments:5
Top Results From Across the Web
Add an option to disable progress bar #1 - tqdm/tqdm - GitHub
Sometime it's convenient to not have progress bar. So it would be really nice to add an option to disable tqdm so the...
Read more >[psplash][PATCH] Add configure options to disable progress bar
[psplash][PATCH] Add configure options to disable progress bar ... Default behaviour is to show progress bar Signed-off-by: Pavel Zhukov ...
Read more >How to remove progressbar in tqdm once the iteration is ...
You can pass parameter disable=True. Source: https://pypi.org/project/tqdm/.
Read more >Disable the Progress Bar in Adobe Captivate - YouTube
In this Adobe Captivate tutorial, I show you a solution initially created by Michael Barshinger to disable the progress bar in your Adobe ......
Read more >Disable the Progress Bar in Adobe Captivate - eLearning
This option needs to go in the feature request category. Like. Reply. Add ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Agreed. I’ve made a PR to handle the SetFit side of this issue, i.e. with
show_progress_bar
.I get the pretty progress bars with the current version of SetFit, all I need to do is make sure
ipywidgets
is up-to-date and I usefrom tqdm.auto import tqdm
.However, not being able to turn off all progress bars is an issue.