tensorflow / tensorflow/text

Recommendation: GemmaTokenizer requires tensorflow-text package (Python 3.12)

Open
#1,274 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.