Getting EnvironmentError

#107
by Ninad0109 - opened

raise EnvironmentError(
OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like google/gemma-7b is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
P.S : I also got the access to use this model
Screenshot 2024-08-02 190952.png

Google org

Hi @Ninad0109 ,

Could you please re-check the access token you have assigned and ensure that you are using the access token for the Gemma-7b model.

Thank you.

I invalidate and refresh the key but still getting the error.
raise EnvironmentError(
OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like google/gemma-7b is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

P.S : I am trying to run this model locally

Google org

Hi @Ninad0109 , Please refer to this similar issue here which might be helpful. Thank you.

Sign up or log in to comment