We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Everytime I call ai.generate() I get these lines:
ai.generate()
Generate config GenerationConfig { "bos_token_id": 0, "eos_token_id": 0, "transformers_version": "4.26.1" }
Is it possible to suppress this output?
The text was updated successfully, but these errors were encountered:
I don't get that message. But, you could probably suppress it by doing something like:
import logging logging.getLogger("transformers").setLevel(logging.ERROR) completion = ai.generate() logging.getLogger("transformers").setLevel(logging.INFO)
Sorry, something went wrong.
I had the same problem with transformers==4.26.0; just upgrading to 4.27.2 solved it.
transformers==4.26.0
4.27.2
No branches or pull requests
Everytime I call
ai.generate()
I get these lines:Is it possible to suppress this output?
The text was updated successfully, but these errors were encountered: