Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging format #31405

Closed
wwwbq opened this issue Jun 13, 2024 · 1 comment
Closed

logging format #31405

wwwbq opened this issue Jun 13, 2024 · 1 comment

Comments

@wwwbq
Copy link

wwwbq commented Jun 13, 2024

Hello, I would like to change the format of the logger in the transformers when using AutoTokenizer. from_pretrained(). May I ask where the enable_explicit_format function in the logging.py file was called?

@amyeroberts
Copy link
Collaborator

Hi @wwwbq, thanks for raising an issue!

This is a question best placed in our forums. We try to reserve the github issues for feature requests and bug reports.

You can find examples of how to use enable_explicit_format in some of our examples e.g. here:

transformers.utils.logging.enable_explicit_format()

@wwwbq wwwbq closed this as completed Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants