You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will use the same install line everywhere which will update
tensorflow to the latest version (useful for colab with old tf).
Also switch the optimizer from AdamW -> Adam in our quickstart, as
AdamW does not converge on tf 2.9, and the quickstart may be copied and
pasted into a lot of environments we don't control.
Copy file name to clipboardExpand all lines: templates/keras_nlp/index.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,21 +3,21 @@
3
3
<aclass="github-button"href="https://github.com/keras-team/keras-nlp"data-size="large"data-show-count="true"aria-label="Star keras-team/keras-nlp on GitHub">Star</a>
4
4
5
5
KerasNLP is a natural language processing library that supports users through
6
-
their entire development cycle. Our workflows are built from modular components
7
-
that have state-of-the-art preset weights and architectures when used
8
-
out-of-the-box and are easily customizable when more control is needed. We
9
-
emphasize in-graph computation for all workflows so that developers can expect
6
+
their entire development cycle. Our workflows are built from modular components
7
+
that have state-of-the-art preset weights and architectures when used
8
+
out-of-the-box and are easily customizable when more control is needed. We
9
+
emphasize in-graph computation for all workflows so that developers can expect
10
10
easy productionization using the TensorFlow ecosystem.
11
11
12
-
This library is an extension of the core Keras API; all high-level modules are
13
-
[`Layers`](/api/layers/) or [`Models`](/api/models/) that recieve that same
14
-
level of polish as core Keras. If you are familiar with Keras, congratulations!
12
+
This library is an extension of the core Keras API; all high-level modules are
13
+
[`Layers`](/api/layers/) or [`Models`](/api/models/) that recieve that same
14
+
level of polish as core Keras. If you are familiar with Keras, congratulations!
15
15
You already understand most of KerasNLP.
16
16
17
-
See our [Getting Started guide](/guides/keras_nlp/getting_started)
18
-
for example usage of our modular API starting with evaluating pretrained models
19
-
and building up to designing a novel transformer architecture and training a
20
-
tokenizer from scratch.
17
+
See our [Getting Started guide](/guides/keras_nlp/getting_started)
18
+
for example usage of our modular API starting with evaluating pretrained models
19
+
and building up to designing a novel transformer architecture and training a
20
+
tokenizer from scratch.
21
21
22
22
KerasNLP is new and growing! If you are interested in contributing, please
23
23
check out our
@@ -47,19 +47,19 @@ check out our
47
47
To install the latest official release:
48
48
49
49
```
50
-
pip install keras-nlp --upgrade
50
+
pip install --upgrade keras-nlp tensorflow
51
51
```
52
52
53
53
To install the latest unreleased changes to the library, we recommend using
54
54
pip to install directly from the master branch on github:
0 commit comments