Closed marakhmusic closed 4 years ago
@mansoorkhansitar if a params file already exists in the path, the code loads the params instead of re-creating them.
Just delete your existing params file and it will work as expected.
Yeah I just figured that out. However there's another thing I observed while testing,
My question is, if the alphabet is not present in the params files, does that lead to a key error?
Yes. Strings needs to be one hot encoded before passing through the model. The params file has the integer encoding for each character.
@mansoorkhansitar http://bpraneeth.com/docs/txt2txt/ i added the documentation for each function here. You should be able to see the basic flow of what happens here.
@bedapudi6788 Thanks a lot man! Will go through it.
Hey @bedapudi6788 wanted to check. If i try transfer learning using the method as shown by you, can it work on sentences? as in i give it input as sentences and output as sentences.
I changed the output examples from the ones you specified to 155. I'm getting a Keyerror. Can you help me here?