keras-nlp icon indicating copy to clipboard operation
keras-nlp copied to clipboard

Modular Natural Language Processing workflows with Keras

Results 360 keras-nlp issues
Sort by recently updated
recently updated
newest added

Resolves #241 - [x] Greedy Search - [ ] Beam Search (will probably open a separate PR for this) - [x] Top-p Search - [x] Top-k Search - [x] Random...

Allows easy cached download of the pre-trained vocabulary used to train BERT.

For the text generation utilities listed [here](https://keras.io/api/keras_nlp/utils/), it would be nice to support ragged inputs, so we could remove the constraint that all seed text in a given batch needs...

enhancement

Implementation of Random Insertion Layer, ToDo: Tests, Docstring, Error Handling Creating the PR to discuss the API design and should we keep the insertion_list given it can be done through...

PR for Random Replacement Layer

Fixes #223 @mattdangerw @chenmoneygithub I believe the PR is ready for review!

We need to add some workarounds for layers with a MultiHeadAttention layer to get build to function correctly. Fixes https://github.com/keras-team/keras-nlp/issues/270

`char_to_token` is a method that converts the character index to the token index. See the HuggingFace method [here](https://huggingface.co/transformers/v3.2.0/main_classes/tokenizer.html#transformers.BatchEncoding.char_to_token) This is useful in span classification tasks, such as SQuaD, as we...

type:feature

From a high level it is just a classification task, but there are some details to handle. The whole workflow can be described as: - Data 1. We can use...