Skip to content

Commit

Permalink
Update distributed_tuning.ipynb (#355)
Browse files Browse the repository at this point in the history
Add pip install tf-text; otherwise it errors out when loading Gemma
  • Loading branch information
windmaple authored Jun 11, 2024
1 parent 70b34b1 commit 7023339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/en/gemma/docs/distributed_tuning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
"# 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",
"!pip install -q -U tensorflow-cpu tensorflow-text\n",
"# Install keras 3 last. See https://keras.io/getting_started for details.\n",
"!pip install -q -U keras"
]
Expand Down

0 comments on commit 7023339

Please sign in to comment.