Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry picks 0.3 #454

Merged
merged 7 commits into from
Nov 10, 2022
Merged

Cherry picks 0.3 #454

merged 7 commits into from
Nov 10, 2022

Conversation

mattdangerw
Copy link
Member

This bring in a few cherry picks for a 0.3.1 point release:

  • Add the BPE tokenizer.
  • Don't require tf-text on macos (because there is no suitable target).

chenmoneygithub and others added 6 commits November 10, 2022 12:07
Add more test cases.

Co-authored-by: jessechancy <[email protected]>

add merge file

Make cache a tf module

Delete testdata

address comments

address comments

fix docstring

fix docstring
Before this fix, the detokenize function would squish everything
down into a single string. So it would not preserve the structure of
what was passed in.
* Support string output for BytePairTokenizer

* Add unit test

* Minor edit
Windows nightlies have been broken for a few days now.

Probably related, core Tensorflow is dropping native Windows support
for anything but tensorflow-cpu (which we don't install by default) as
of the upcoming tf release (2.11).

Both core tensorflow and our development guide recommend WSL2.

I think the simplest solution here is to stop running windows CI and
continue recommending WSL2 for running on windows.
…s-team#383)

* Improve MacOS support

* Conditionally import tensorflow_text everywhere

* Use requirements files for continuous testing

* Fix logs

* Bug fixes and improvement for linux testing

* Typo fix

* Address review comments
In keeping with other layers, we should not rely on tf text being
installed to import the library (this is useful for building keras.io
for example).
@mattdangerw mattdangerw merged commit 9659340 into keras-team:r0.3 Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants