Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ch05/12_gemma3/standalone-gemma3-plus-kvcache.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@
},
"outputs": [],
"source": [
"def load_weights_into_gemma(Gemma3Model, param_config, params):\n",
"def load_weights_into_gemma(model, param_config, params):\n",
"\n",
" def assign(left, right, tensor_name=\"unknown\"):\n",
" if left.shape != right.shape:\n",
Expand Down Expand Up @@ -987,7 +987,7 @@
"id": "430340f2-78b9-4983-b74e-8395bbd7e574",
"metadata": {},
"source": [
"- Please note that Google requires that you accept the Gemma 3 licensing terms before you can download the files; to do this, you have to create a Hugging Face Hub account and visit the [google/gemma-3-270m]https://huggingface.co/google/gemma-3-270m) repository to accept the terms\n",
"- Please note that Google requires that you accept the Gemma 3 licensing terms before you can download the files; to do this, you have to create a Hugging Face Hub account and visit the [google/gemma-3-270m](https://huggingface.co/google/gemma-3-270m) repository to accept the terms\n",
"- Next, you will need to create an access token; to generate an access token with READ permissions, click on the profile picture in the upper right and click on \"Settings\"\n",
"\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions ch05/12_gemma3/standalone-gemma3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@
},
"outputs": [],
"source": [
"def load_weights_into_gemma(Gemma3Model, param_config, params):\n",
"def load_weights_into_gemma(model, param_config, params):\n",
"\n",
" def assign(left, right, tensor_name=\"unknown\"):\n",
" if left.shape != right.shape:\n",
Expand Down Expand Up @@ -887,7 +887,7 @@
"id": "430340f2-78b9-4983-b74e-8395bbd7e574",
"metadata": {},
"source": [
"- Please note that Google requires that you accept the Gemma 3 licensing terms before you can download the files; to do this, you have to create a Hugging Face Hub account and visit the [google/gemma-3-270m]https://huggingface.co/google/gemma-3-270m) repository to accept the terms\n",
"- Please note that Google requires that you accept the Gemma 3 licensing terms before you can download the files; to do this, you have to create a Hugging Face Hub account and visit the [google/gemma-3-270m](https://huggingface.co/google/gemma-3-270m) repository to accept the terms\n",
"- Next, you will need to create an access token; to generate an access token with READ permissions, click on the profile picture in the upper right and click on \"Settings\"\n",
"\n",
"\n",
Expand Down
Loading