Open alkaou opened 1 week ago
Hi, If you are referring to the tutorial here https://keras.io/examples/generative/text_generation_with_miniature_gpt/, could you please let us know if you are modifying anything. Thanks
Hi, If you are referring to the tutorial here https://keras.io/examples/generative/text_generation_with_miniature_gpt/, could you please let us know if you are modifying anything. Thanks
I didn't change anything in the code. I made a git repository. you can please visit my code to help me.
code is here :
https://github.com/alkaou/GenIA_LLM.git
I think the issue is solved with the comment here to include **kwargs in the custom class https://github.com/keras-team/keras/issues/19899#issuecomment-2185256214. You can close the issue. Thanks
Issue Type
Others
Source
source
Keras Version
keras 3
Custom Code
Yes
OS Platform and Distribution
Windows 11
Python version
3.10
GPU model and memory
CPU
Current Behavior?
I looked at the miniature GPT code in the documentation to do my project. Everything was working fine until I registered my model after training. Now when I try to load my model to use it, I get an error of "ustom_objects". I checked paI haven't found a solution.
Standalone code to reproduce the issue or tutorial link
Relevant log output