Skip to content

Commit 18817ac

Browse files
Corrected URL path to access the Kaggle Gemma model weights dir (#526)
I have corrected incorrect URL for accessing the Kaggle Gemma-2 model checkpoint and weight directory from "google/gemma-2-2b/pyTorch/gemma-2-{VARIANT}" to "google/gemma-2/pyTorch/gemma-2-{VARIANT}". I have updated the URL after verifying on the Kaggle platform and also have successfully implemented and tested in a Colab environment. Please find the replicated [gist](https://colab.sandbox.google.com/gist/RenuPatelGoogle/711a744401b32b30048c2f100d0ab7d2/kaggle_gemma2.ipynb) here for the same.
1 parent 99f815f commit 18817ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/gemma/docs/pytorch_gemma.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
"import kagglehub\n",
187187
"\n",
188188
"# Load model weights\n",
189-
"weights_dir = kagglehub.model_download(f'google/gemma-2-2b/pyTorch/gemma-2-{VARIANT}')"
189+
"weights_dir = kagglehub.model_download(f'google/gemma-2/pyTorch/gemma-2-{VARIANT}')"
190190
]
191191
},
192192
{

0 commit comments

Comments
 (0)