#164164th of 433 in ML frameworks and libraries

text

Text preprocessing ops and tokenizers that run inside the TensorFlow graph

Stars
1.3k
License
Apache-2.0
Last commit
Nov 2026
Last release
Sep 2026
Language
C++
Stars, last 29 weeks+17
6 May 2026: 1,283 stars13 May 2026: 1,284 stars20 May 2026: 1,284 stars27 May 2026: 1,285 stars3 Jun 2026: 1,285 stars10 Jun 2026: 1,286 stars17 Jun 2026: 1,287 stars24 Jun 2026: 1,287 stars1 Jul 2026: 1,287 stars8 Jul 2026: 1,289 stars15 Jul 2026: 1,289 stars22 Jul 2026: 1,291 stars29 Jul 2026: 1,291 stars5 Aug 2026: 1,291 stars12 Aug 2026: 1,292 stars19 Aug 2026: 1,293 stars26 Aug 2026: 1,294 stars2 Sept 2026: 1,294 stars9 Sept 2026: 1,294 stars16 Sept 2026: 1,295 stars23 Sept 2026: 1,296 stars30 Sept 2026: 1,296 stars7 Oct 2026: 1,297 stars14 Oct 2026: 1,297 stars21 Oct 2026: 1,297 stars28 Oct 2026: 1,297 stars4 Nov 2026: 1,297 stars11 Nov 2026: 1,298 stars18 Nov 2026: 1,300 stars25 Nov 2026: 1,300 stars

1,283 on 6 May 20261,300 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

TensorFlow Text is a Python library of text ops for TensorFlow 2, implemented in C++. It provides Unicode normalization and case folding, whitespace and Unicode-script tokenizers with byte offsets, n-grams, and wordshape features, all returning RaggedTensors. Because preprocessing runs in the graph, tokenization at training and inference time stays identical.

Who it is for: TensorFlow users building NLP preprocessing pipelines

Strengths

  • Tokenizers run in the TF graph, so training and inference preprocessing match
  • Works with tf.data and Keras via RaggedTensors and a ToDense layer
  • Tokenizers can return byte offsets into the original string
  • Includes normalization (NFKC default), case folding, wordshape and n-gram ops

Weaknesses

  • Version must match the installed TensorFlow minor version
  • After 2.10, pip wheels only for Linux x86_64 and Intel Macs
  • Windows and Aarch64 require building from source alongside TensorFlow
  • Tied to TensorFlow; no use outside that ecosystem

What it needs

  • Needs TensorFlow

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#162neural-compressorPython library for quantizing PyTorch and JAX models, tuned for Intel hardware2.7k starsApache-2.063 out of 100
#163drawdataNotebook widget for drawing a scatter dataset with the mouse Live demo ↗ (opens in a new tab)1.7k starsMIT63 out of 100
#165apexNVIDIA PyTorch utilities for mixed precision and distributed training9k starsBSD-3-Clause62 out of 100
#166linfaRust toolkit of classical ML algorithms, modeled on scikit-learn4.8k starsApache-2.062 out of 100
#167lite.ai.toolkitC++ library running 100+ pretrained vision models via ONNXRuntime, MNN and TensorRT4.5k starsGPL-3.062 out of 100