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

How to add a serialized model and weights of a keras model to keras-nlp?

Open abhaskumarsinha opened this issue 1 year ago • 4 comments

Hello, I'm having some problems with the codebase of the keras_nlp, in case anyone understands the codebase and how model interact within, feel free to say.

  • Suppose, I do have a Keras Model already with pre-trained weights and it works fine and flawless.
  • Then What is the easiest way to add it into keras-nlp, given, I have a code that needs to be integrated with keras-nlp modules that should be able to download the weights from Kaggle and then run here?
  • I have uploaded the weights on Kaggle along with the code via serialization utils, and now I need to get it into keras-nlp too.
  • Model loading the presets is confusing me the most actually in the code.
  • Also there isn't any specific docs for contributors who don't want to contribute to keras-nlp at the moment, but want to add models here for easier access to keras users.

Thank You!

abhaskumarsinha avatar Feb 28 '24 14:02 abhaskumarsinha