Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

KerasNLP

Python Tensorflow contributions welcome

KerasNLP is a repository of modular building blocks (e.g. layers, metrics, losses) to support modern Natural Language Processing (NLP) workflows. Engineers working with applied NLP can leverage it to rapidly assemble training and inference pipelines that are both state-of-the-art and production-grade. Common use cases for application include sentiment analysis, named entity recognition, text generation, etc.

KerasNLP can be understood as a horizontal extension of the Keras API: they're new first-party Keras objects (layers, metrics, etc) that are too specialized to be added to core Keras, but that receive the same level of polish and backwards compatibility guarantees as the rest of the Keras API and that are maintained by the Keras team itself (unlike TFAddons).

Currently, KerasNLP is operating pre-release. Upon launch of KerasNLP 1.0, full API docs and code examples will be available.

Contributors

If you'd like to contribute, please see our contributing guide.

The fastest way to find a place to contribute is to browse our open issues and find an unclaimed issue to work on. Issues with a contributions welcome tag are places where we are actively looking for support, and a good first issue tag means we think this could be a accessible a first time contributor.

If you would like to propose a new symbol or feature, please open an issue to discuss. Be aware the design for new features may take longer than contributing pre-planned features. If you have a design in mind, please include a colab notebook showing the proposed design in a end-to-end example. Make sure to follow the Keras API design guidelines.

Roadmap

This is an early stage project, and we are actively working on a more detailed roadmap to share soon. For now, most of our immediate planning is done through GitHub issues.

At this stage, we are primarily building components for a short list of "greatest hits" NLP models (e.g. BERT, GPT-2, word2vec). We will be focusing on components that follow a established Keras interface (e.g. keras.layers.Layer, keras.metrics.Metric, or keras_nlp.tokenizers.Tokenizer).

As we progress further with the library, we will attempt to cover an ever expanding list of widely cited model architectures.

Releases

KerasNLP release are documented on our github release page and available to download from our PyPI project.

To install KerasNLP and all it's dependencies, simply run:

pip install keras-nlp

Compatibility

We follow Semantic Versioning, and plan to provide backwards compatibility guarantees both for code and saved models built with our components. While we continue with pre-release 0.y.z development, we may break compatibility at any time and APIs should not be consider stable.

Thank you to all of our wonderful contributors!

Metadata

Release files for keras-nlp 0.2.0.dev1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keras-nlp 0.2.0.dev1
File Size Uploaded
keras-nlp-0.2.0.dev1.tar.gz 62.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for keras-nlp 0.2.0.dev1
File Interpreter ABI Platform
keras_nlp-0.2.0.dev1-py3-none-any.whl Python 3 none any Details

Total release size: 164.9 kB

Release files / keras-nlp-0.2.0.dev1.tar.gz

Download URL keras-nlp-0.2.0.dev1.tar.gz
Size 62.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cb078143a284ddfe2089cf6a691556fbd20dcf0ddf8b740bf75dab085227a9cd
BLAKE2b-256 checksum
How to use checksums
24b2901b5174538fe3172869d486d3ca7de9062d6dbd1b94d1ae7268902b1edd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / keras_nlp-0.2.0.dev1-py3-none-any.whl

Download URL keras_nlp-0.2.0.dev1-py3-none-any.whl
Size 102.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b3458d38bf299162151d0d9d0439e3df6451695eee67628ab42ea51584b7a12
BLAKE2b-256 checksum
How to use checksums
6825ccacb4c7cb4564a0367d54a4f47b445dbd00d94bc5b66840731f7beda9a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release history Release notifications | RSS feed

0.32.0

2 release files

0.31.1

2 release files

0.30.0

2 release files

0.28.0

2 release files

0.25.1

2 release files

0.25.0

2 release files

0.23.0

2 release files

0.22.2

2 release files

0.22.1

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.19.3

2 release files

0.19.2

2 release files

0.19.1

2 release files

0.19.0

2 release files

0.17.0

2 release files

0.16.1

2 release files

0.16.0

2 release files

0.15.1

2 release files

0.15.0

2 release files

0.14.2

2 release files

0.14.1

2 release files

0.14.0

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.10.0

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

This release

0.2.0.dev1 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page