Closed bilgeyucel closed 8 months ago
Under the hood, AmazonBedrockGenerator
is using transformers
for tokenization.
Lately, you always get this warning when using transformers
in Colab, unless you have set the HF_TOKEN
.
An unrelated example that raises the same warning:
So I would say there is nothing we can do to prevent this warning...
Thanks for the explanation @anakin87. Closing this now!
Describe the bug I get a warning related to Hugging Face when using the AmazonBedrockGenerator on Colab. Everything works as expected
Warning:
There's an issue here that might be related: https://github.com/huggingface/huggingface_hub/issues/1929
To Reproduce Run the code below after installing
pip install amazon-bedrock-haystack
Describe your environment (please complete the following information):