Recommendation: GemmaTokenizer requires tensorflow-text package (Python 3.12)
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 379
- Avg merge
- 3h 30m
- Merged PRs (30d)
- 8
Description
I would like to recommend adding support for Python 3.12 to the TensorFlow Text library. As Python 3.12 is a relatively new release, it would be beneficial to ensure compatibility with this version.
I am encountering an error when using the GemmaTokenizer. The error message states:
Exception encountered: GemmaTokenizer requires the tensorflow-text package. Please install with pip install tensorflow-text.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names GemmaTokenizer and Python 3.12 but no file or test. Start by reproducing the reported error with Python 3.12 and inspect the GemmaTokenizer support path; done means Python 3.12 compatibility is verified and the reported failure is addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100