$npx skillfedfor your agent

keras-nlp

Pretrained models for Keras.

With conditionsPyPI Software DevelopmentReleased Aug 2026287.0K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — keras_nlp-0.31.0-py3-none-any.whl
v0.31.0 · released 2026-08-08 · Python >=3.10 · 1 runtime deps: keras-hub

Yes, with conditions. Install if you need pretrained NLP models and want multi-backend flexibility without framework lock-in, or if you're already using Keras 3. The low install friction, active maintenance, and permissive license support this. However, the Alpha development status means the API may change; verify that the specific models and tasks you need are available in version 0.31.0 before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.10 and a Keras 3 backend (TensorFlow 2.16.1+, JAX 0.4.20+, PyTorch 2.1.0+, or OpenVINO 2026.2.0+) to be installed separately.
  • Low install friction with a pure-Python wheel.
  • Active maintenance with recent release (6 days old) and strong repository signals (64228 stars, last commit 2026-08-14).

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most production and research contexts.

last release 2026-08-08 (6 days) · last repo commit 2026-08-14 · 64,228 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 287,031 downloads/mo, #8,037 on PyPI

Verify before relying

pip install keras-nlp
import keras_nlp
# Configure backend before importing keras
import os
os.environ["KERAS_BACKEND"] = "jax"
import keras
  • Specific pretrained model architectures and task coverage available in version 0.31.0
  • Performance benchmarks for NLP tasks compared to other frameworks
  • API stability guarantees given 'Alpha' development status
Same gist for agents: .md · .json

What it is and what it does

Keras-NLP is a library of pretrained models and utilities for natural language processing, built on top of Keras 3. It allows you to use the same high-level Keras API across multiple deep learning backends—JAX, TensorFlow, PyTorch, or OpenVINO—without rewriting code. You configure your backend before importing, then build and train NLP models using Keras abstractions that work identically regardless of which backend engine runs them underneath.

The library is designed for developers who want to avoid framework lock-in while building production NLP systems. It supports computer vision, audio, timeseries, and other tasks through the broader Keras ecosystem, but focuses specifically on pretrained model access and NLP workflows. Since it depends on keras-hub as its runtime foundation, it inherits Keras 3's multi-backend architecture and the ability to scale from laptops to distributed GPU/TPU clusters.

Use it for

  • Fine-tune pretrained language models on custom text classification or sequence labeling tasks using your choice of backend.
  • Build NLP inference pipelines that run on OpenVINO for edge deployment while developing on JAX or PyTorch.
  • Migrate existing tf.keras NLP code to run on JAX for performance gains without rewriting custom layers.
  • Combine Keras NLP models with PyTorch data loaders or TensorFlow datasets in the same training loop.
  • Prototype NLP experiments rapidly by swapping backends to find the fastest one for your model architecture.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Install if you need pretrained NLP models and want multi-backend flexibility without framework lock-in, or if you're already using Keras 3. The low install friction, active maintenance, and permissive license support this. However, the Alpha development status means the API may change; verify that the specific models and tasks you need are available in version 0.31.0 before committing to production use.

Install

keras-nlp on PyPI

Before you install

Low install friction with a pure-Python wheel. Active maintenance with recent release (6 days old) and strong repository signals (64228 stars, last commit 2026-08-14). Requires Keras 3 as a runtime dependency.

Requires Python >= 3.10 and a Keras 3 backend (TensorFlow 2.16.1+, JAX 0.4.20+, PyTorch 2.1.0+, or OpenVINO 2026.2.0+) to be installed separately.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most production and research contexts.

Quickstart

pip install keras-nlp
import keras_nlp
# Configure backend before importing keras
import os
os.environ["KERAS_BACKEND"] = "jax"
import keras

Verify before relying

  • Specific pretrained model architectures and task coverage available in version 0.31.0
  • Performance benchmarks for NLP tasks compared to other frameworks
  • API stability guarantees given 'Alpha' development status

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
keras-hub
MaintenanceActively maintained 6 days since the last release
Last repo commit
First released
Downloads287,031 / month, #8,037 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: Science/ResearchOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: UnixProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Software Development

Evidence: keras_nlp-0.31.0-py3-none-any.whl

Tags

Capabilities
pretrained nlp modelskeras natural language processingtransformer models kerastext classification deep learninglanguage model inferencenlp with keras 3multi-backend nlp framework
Topics
multi-backendpretrained-modelsnlp

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pretrained nlp models”

  • keras-nlpKeras-NLP provides pretrained models and utilities for natural…
  • spark-nlpSpark NLP provides distributed natural language processing on Apache…
  • modelscopeModelScope provides unified Python interfaces for inference,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also keras · keras-hub · scikeras · keras-nightly · tf-keras · Keras-Preprocessing · spark-nlp · tf-keras-nightly · tf2crf · transformers