Skip to content

Commit

Permalink
build(deps): bump tensorflow from 2.8.4 to 2.11.1 in /openfl-workspac…
Browse files Browse the repository at this point in the history
…e/keras_nlp (securefederatedai#773)

* build(deps): bump tensorflow in /openfl-workspace/keras_nlp

Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.8.4 to 2.11.1.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](tensorflow/tensorflow@v2.8.4...v2.11.1)

---
updated-dependencies:
- dependency-name: tensorflow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: Patrick Foley <psfoley@gmail.com>

* Update RMSProp optimizer import

Signed-off-by: Patrick Foley <psfoley@gmail.com>

* flake8

Signed-off-by: Patrick Foley <psfoley@gmail.com>

---------

Signed-off-by: Patrick Foley <psfoley@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Patrick Foley <psfoley@gmail.com>
Signed-off-by: Parth Mandaliya <parthx.mandaliya@intel.com>
  • Loading branch information
2 people authored and ParthM-GitHub committed Sep 28, 2023
1 parent f45fa04 commit ee05dfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openfl-workspace/keras_nlp/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tensorflow==2.8.4
tensorflow==2.11.1
3 changes: 2 additions & 1 deletion openfl-workspace/keras_nlp/src/nlp_taskrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def build_model(latent_dim, num_encoder_tokens, num_decoder_tokens, **kwargs):
model = keras.Model([encoder_inputs, decoder_inputs], decoder_outputs)

model.compile(
optimizer='rmsprop', loss='categorical_crossentropy', metrics=['accuracy']
optimizer=keras.optimizers.legacy.RMSprop(),
loss='categorical_crossentropy', metrics=['accuracy']
)

return model
Expand Down

0 comments on commit ee05dfb

Please sign in to comment.