Update Style Guide for naming of Models and Layers (#434)
Update Style Guide for naming of Models and Layers (#434)

* Change gpt2 to GPT2

* Fix byte pair detokenization of 2d arrays (#423)

Before this fix, the detokenize function would squish everything
down into a single string. So it would not preserve the structure of
what was passed in.

* Never pass Raggeds to user function when generating text (#424)

* Never pass Raggeds to user function when generating text

Before this change, when our text generation utils are passed a ragged
tensor, we first convert to dense and use a mask to gate updates.

However, we would attempt to first validate the user supplied function
by passing the ragged inputs, meaning the user supplied function needed
to handle both ragged and dense inputs.

We can greatly simplify end to end workflows by only validating our
prompt function after we convert the prompt to a dense tensor.

* minor reword

* Add XLMRobertaClassifier (#422)

* Add XLMRobertaClassifier model

* Minor UT edits

* Duplicate Roberta code

* Add RobertaPreprocessor Layer (#419)

* Add RobertaPreprocessor

* Fix UT

* Update example

* Address comments - I

* Fix doc-string example

* Small doc-string change

* Address comments - II

* Minor reword in doc-string

* Address nit

* Add guideline on naming models / layers

* Update naming of models / layers

* Update naming to include guideline on filename

Co-authored-by: Matt Watson <8dcaca5cd6a4e64b9f3b45cae6726b28e40e6e13@users.noreply.github.com>
Co-authored-by: Abheesht <100e7a2cc453b51987324089c0ca6e5bd7d451ab@gmail.com>
keras-team/keras-nlp,keras-team/keras-nlp