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
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ To install the latest KerasHub release with Keras 3, simply run:
pip install --upgrade keras-hub
```

Our text tokenizers are based on TensorFlow Text. Hence, if you are using any
model which has language as a modality, you will have to run:

```
pip install --upgrade keras-hub[nlp]
```

To install the latest nightly changes for both KerasHub and Keras, you can use
our nightly package.

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ def get_version(rel_path):
"regex",
"rich",
"kagglehub",
"tensorflow-text",
],
extras_require={
"extras": [
"rouge-score",
"sentencepiece",
],
"nlp": ["tensorflow-text"],
},
# Supported Python versions
python_requires=">=3.9",
Expand Down
Loading