Not sure if this affects other models but in v0.1.6 the .summary() method is broken on GPT2CausalLM. Downgrading to keras_core v0.1.5 resolves the issue.
Thanks for the bug, we landed a fix for this on the keras-nlp side last week, we just need to cut a new keras-nlp release with this fix. Should do shortly!
Not sure if this affects other models but in v0.1.6 the
.summary()
method is broken onGPT2CausalLM
. Downgrading to keras_core v0.1.5 resolves the issue.Versions:
To reproduce:
Error output: