tensorflow/text
Making text a first-class citizen in TensorFlow. observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 99
- Release rhythm 74
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 108
- age_days: 2653
- days_rel: 12
- days_push: 8
- n_releases_24m: 6
Adoption not part of the score
1293 stars · 378 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TensorFlow Text is a library of text-processing classes and ops for TensorFlow 2.x, providing tokenization, Unicode normalization, n-grams, and other sequence-modeling preprocessing that runs inside the TensorFlow graph. It ensures preprocessing is identical between training and inference and underpins higher-level libraries like KerasNLP.
Use cases
- tokenize text for tensorflow models
- unicode normalization and script segmentation in a tf graph
- preprocess text for bert fine-tuning
- build n-grams and sliding windows for sequence models
- avoid train/inference tokenization mismatch
- wordshape feature extraction in tensorflow
When to choose
- you need low-level text ops inside the TensorFlow graph
- you must guarantee identical preprocessing at training and serving time
- KerasNLP abstractions are too high-level for your needs
When to avoid
- you use PyTorch or JAX instead of TensorFlow
- you just want pretrained NLP models - use KerasNLP or Hugging Face instead
- you need general-purpose NLP outside a TensorFlow pipeline
Facets
library · maturity maintenance
nlp machine-learning parser serialization machine-learning deep-learning python windows tokenization unicode tensorflow text-preprocessing keras natural-language-processing linux macos gpu
8 sources
- readme: https://github.com/tensorflow/text · fetched 2026-08-28 · 105ad0c17888
- homepage: https://www.tensorflow.org/beta/tutorials/tensorflow_text/intro · fetched 2026-08-29 · 7759392282fc
- site_page: https://www.tensorflow.org/install · fetched 2026-08-29 · 584a762da891
- site_page: https://www.tensorflow.org/tfx/api_docs · fetched 2026-08-29 · 6977825696fe
- site_page: https://www.tensorflow.org/about · fetched 2026-08-29 · 817250744d91
- site_page: https://www.tensorflow.org/about/case-studies · fetched 2026-08-29 · e6701029eec0
- site_page: https://www.tensorflow.org/about/bib · fetched 2026-08-29 · 5ca8943386b9
- site_page: https://www.tensorflow.org/community/contribute · fetched 2026-08-29 · 77d394fa76e7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tensorflow/text | main | 90 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem