Registry / ai-ml / keras-nlp-nightly

keras-nlp-nightly

JSON →
library0.30.0.dev202605080526pypypi✓ verified 85d ago

Nightly build of KerasNLP, providing pretrained NLP models and tokenizers for Keras 3. Current version 0.30.0.dev202605080526. Released daily with latest changes from keras-team/keras/keras_hub.

pip install keras-nlp-nightly
INSTALL
IMPORT
SIG · KERAS-NLP-NIGHTLY
K
keras-nlp-nightly
ai-mlpythonv0.30.0.dev202605080526
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BertClassifier
from keras_nlp.models import BertClassifier
from keras_nlp import BertClassifier
Wrong due to subpackage structure
Tokenizer
from keras_nlp.tokenizers import Tokenizer
import Tokenizer from keras_nlp
Tokenizer is in subpackage

Quickstart: import keras_nlp, set backend, load a model. Use from_preset with a valid preset name.

import os os.environ['KERAS_BACKEND'] = 'jax' import keras_nlp from keras_nlp.models import BertClassifier # Load a pretrained classifier classifier = BertClassifier.from_preset("bert_tiny_en_uncased") print(classifier.summary())
Debug
Known issues
breakingKerasNLP has been merged into Keras 3 (keras-core) since Keras 3.0. Nightly builds may break without notice.
fix
Use from keras_nlp import ... as shown in quickstart. For production, use stable KerasNLP (pip install keras-nlp).
affects: >=0.7.0
deprecatedSome presets and symbols may be removed or renamed in nightly builds before stable release.
fix
Check changelog at https://github.com/keras-team/keras/keras_hub
affects: all
gotchaMixing keras-nlp-nightly with stable keras may cause version conflicts due to incompatible keras dependencies.
fix
Use consistent versions: either both stable or both nightly. Prefer using within a virtualenv.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'keras_nlp'
Missing installation or wrong package name.
fix
pip install keras-nlp-nightly
AttributeError: module 'keras_nlp' has no attribute 'BertClassifier'
Importing from top-level package instead of subpackage.
fix
from keras_nlp.models import BertClassifier
ValueError: Unknown preset: 'bert_base_uncased'
Preset may have been removed or renamed in nightly.
fix
List presets: keras_nlp.presets.list() or check docs.
Upgrade
Version history
0.30.0.dev202605080526latest on PyPI · released May 8, 2026
Audit
Dependencies
kerasrequiredCore dependency
tensorflowoptionalOptional backend or for TF-specific features
jaxoptionalOptional JAX backend
torchoptionalOptional PyTorch backend
Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
keras-nlp-nightly — pip install keras-nlp-nightly · libregistry