Skip to content

Commit

Permalink
Sync docs from Google3 to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
markmcd committed Feb 28, 2024
1 parent f28d6d3 commit 4a775b3
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 61 deletions.
5 changes: 3 additions & 2 deletions site/en/gemma/docs/agile_classifiers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@
},
"outputs": [],
"source": [
"!pip install keras keras-nlp"
"!pip install -q -U keras-nlp\n",
"!pip install -q -U keras"
]
},
{
Expand Down Expand Up @@ -1089,7 +1090,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {
"id": "fMSDQtyTgeP0"
},
Expand Down
11 changes: 7 additions & 4 deletions site/en/gemma/docs/distributed_tuning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,13 @@
}
],
"source": [
"# Install Keras 3 last. See https://keras.io/getting_started/ for more details.\n",
"!pip install -q tensorflow-cpu\n",
"!pip install -q -U keras-nlp tensorflow-hub\n",
"!pip install -q -U keras>=3"
"!pip install -q -U keras-nlp\n",
"# Work around an import error with tensorflow-hub. The library is not used.\n",
"!pip install -q -U tensorflow-hub\n",
"# Install tensorflow-cpu so tensorflow does not attempt to access the TPU.\n",
"!pip install -q -U tensorflow-cpu\n",
"# Install keras 3 last. See https://keras.io/getting_started for details.\n",
"!pip install -q -U keras"
]
},
{
Expand Down
Loading

0 comments on commit 4a775b3

Please sign in to comment.