Skip to content

I cannot load "gemma_2b_en" model from my own notebook environment #1580

Closed Answered by davidshen84
davidshen84 asked this question in Q&A
Discussion options

You must be logged in to vote

OK, after digging the Internet for a while, I found the solution.

  1. Create a kaggle account
  2. Go to https://www.kaggle.com/models/google/gemma, then request access
  3. Go to https://www.kaggle.com/settings, and "Create New Token".
    This will download a json file to your system. It contains your kaggle account credentials
  4. Put the kaggle.json file to ~/.kaggle/kaggle.json (or %userprofile%\.kaggle\kaggle.json on Windows)

Then you should be able to download the model.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davidshen84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant