Skip to content

Commit ffff5c3

Browse files
Update readme (#1949)
* Update README.md * Update README.md
1 parent 55da400 commit ffff5c3

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

README.md

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/keras-team/keras-hub/issues)
55

66
> [!IMPORTANT]
7-
> 📢 KerasNLP is becoming KerasHub! 📢 Read
7+
> 📢 KerasNLP is now KerasHub! 📢 Read
88
> [the announcement](https://github.com/keras-team/keras-hub/issues/1831).
99
>
1010
> We have renamed the repo to KerasHub in preparation for the release, but have not yet
@@ -26,7 +26,7 @@ All models support JAX, TensorFlow, and PyTorch from a single model
2626
definition and can be fine-tuned on GPUs and TPUs out of the box. Models can
2727
be trained on individual accelerators with built-in PEFT techniques, or
2828
fine-tuned at scale with model and data parallel training. See our
29-
[Getting Started guide](https://keras.io/guides/keras_nlp/getting_started)
29+
[Getting Started guide](https://keras.io/guides/keras_hub/getting_started)
3030
to start learning our API. Browse our models on
3131
[Kaggle](https://www.kaggle.com/organizations/keras/models).
3232
We welcome contributions.
@@ -35,9 +35,9 @@ We welcome contributions.
3535

3636
### For everyone
3737

38-
- [Home Page](https://keras.io/keras_nlp)
39-
- [Developer Guides](https://keras.io/guides/keras_nlp)
40-
- [API Reference](https://keras.io/api/keras_nlp)
38+
- [Home Page](https://keras.io/keras_hub)
39+
- [Developer Guides](https://keras.io/guides/keras_hub)
40+
- [API Reference](https://keras.io/api/keras_hub)
4141
- [Pre-trained Models](https://www.kaggle.com/organizations/keras/models)
4242

4343
### For contributors
@@ -56,7 +56,7 @@ Fine-tune a BERT classifier on IMDb movie reviews:
5656
import os
5757
os.environ["KERAS_BACKEND"] = "jax" # Or "tensorflow" or "torch"!
5858

59-
import keras_nlp
59+
import keras_hub
6060
import tensorflow_datasets as tfds
6161

6262
imdb_train, imdb_test = tfds.load(
@@ -67,7 +67,7 @@ imdb_train, imdb_test = tfds.load(
6767
)
6868

6969
# Load a BERT model.
70-
classifier = keras_nlp.models.Classifier.from_preset(
70+
classifier = keras_hub.models.Classifier.from_preset(
7171
"bert_base_en",
7272
num_classes=2,
7373
activation="softmax",
@@ -79,25 +79,17 @@ classifier.fit(imdb_train, validation_data=imdb_test)
7979
classifier.predict(["What an amazing movie!", "A total waste of my time."])
8080
```
8181

82-
Try it out [in a colab](https://colab.research.google.com/gist/mattdangerw/e457e42d5ea827110c8d5cb4eb9d9a07/kerasnlp-quickstart.ipynb).
82+
Try it out [in a colab](https://colab.research.google.com/drive/1gSWkh3yOLwmKAaNh2dQQ6kQIlnGte7P2?usp=sharing).
8383
For more in depth guides and examples, visit
84-
[keras.io/keras_nlp](https://keras.io/keras_nlp/).
84+
[keras.io/keras_hub](https://keras.io/keras_hub/).
8585

8686
## Installation
8787

88-
KerasHub is currently in pre-release. Note that pre-release versions may
89-
introduce breaking changes to the API in future versions. For a stable and
90-
supported experience, we recommend installing `keras-nlp` version 0.15.1:
91-
92-
```bash
93-
pip install keras-nlp==0.15.1
94-
```
95-
96-
To try out the latest pre-release version of KerasHub, you can use
88+
To try out the latest version of KerasHub, you can use
9789
our nightly package:
9890

9991
```bash
100-
pip install keras-hub-nightly
92+
pip install keras-hub
10193
```
10294

10395
KerasHub currently requires TensorFlow to be installed for use of the

0 commit comments

Comments
 (0)