Hi there
Hoping someone can help me debug my one_step_attention function giving me the error below when running the test code:
Not sure what could be wrong. I checked my code several times without success. Any help appreciated
Thanks
Antonio
Hi there
Hoping someone can help me debug my one_step_attention function giving me the error below when running the test code:
Not sure what could be wrong. I checked my code several times without success. Any help appreciated
Thanks
Antonio
There are a fair number of “moving parts” there. Are you sure that you are using all the predefined functions that they created (instantiated) for you in the previous cell? E.g. repeator, concatenator, densor1 and so forth. As opposed to creating your own …
Also they try to give pretty helpful hints in the comments in the template code.
If the above two suggestions are not enough to “get you there”, we can move to looking at the code, but we should do that in a private DM thread. I’ll send you a DM about how to do that.
Thanks Paulin
Indeed I was block at that function and hadn’t gotten far enough to read this note further down that solved the problem:
Thanks for your help!
Antonio
It’s great to hear that you found the solution under your own power. Yes, the state gets very complicated in all the assignments in C5. It’s always a good idea to run everything from a consistent state by doing:
That will make sure that things are consistent and WYSIWYG.