worldbank / REaLTabFormer

A suite of auto-regressive and Seq2Seq (sequence-to-sequence) transformer models for tabular and relational synthetic data generation.
https://worldbank.github.io/REaLTabFormer/
MIT License
203 stars 23 forks source link

Control transformers verbosity #3

Open avsolatorio opened 1 year ago

avsolatorio commented 1 year ago

Add a flag that will set the verbosity of transformers only for errors to reduce clutter in the output.

from transformers import logging as hf_logging
hf_logging.set_verbosity_error()