Model access denied after access granted

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!

1 Like

It seems that the version of transformers is old.

in normal environment

pip install -U transformers numpy<2

in Google Colab

maybe

!pip install transformers

Thanks for response! And yes, on the top, I wrote

!pip install --upgrade transformers huggingface_hub cohere

1 Like

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