Skip to content

Commit 7023339

Browse files
authored
Update distributed_tuning.ipynb (google#355)
Add pip install tf-text; otherwise it errors out when loading Gemma
1 parent 70b34b1 commit 7023339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/gemma/docs/distributed_tuning.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
"# Work around an import error with tensorflow-hub. The library is not used.\n",
205205
"!pip install -q -U tensorflow-hub\n",
206206
"# Install tensorflow-cpu so tensorflow does not attempt to access the TPU.\n",
207-
"!pip install -q -U tensorflow-cpu\n",
207+
"!pip install -q -U tensorflow-cpu tensorflow-text\n",
208208
"# Install keras 3 last. See https://keras.io/getting_started for details.\n",
209209
"!pip install -q -U keras"
210210
]

0 commit comments

Comments
 (0)