Hi community,
I’m new here and just tried to access one of the text-generating models via my access token, but it hasn’t been successful so far. Anyone know how to solve this issue??
Thanks!
Hi community,
I’m new here and just tried to access one of the text-generating models via my access token, but it hasn’t been successful so far. Anyone know how to solve this issue??
Thanks!
It seems that the version of transformers is old.
pip install -U transformers numpy<2
maybe
!pip install transformers
Thanks for response! And yes, on the top, I wrote
!pip install --upgrade transformers huggingface_hub cohere
I think I’ve found the cause. It seems that it has been updated to cohere2 yesterday, and that is too new to be reflected in the pip version yet. Install the github version using the following method.
!pip install git+https://github.com/huggingface/transformers