Where is preprocessing of data required ? Accurcay=0%

Hi,
https://colab.research.google.com/drive/1tPelx4wRCfNjmI_bjEpHLRilV29Xho0f

While executing my code with random_seed==11 …I am getting same line multiple times.

Is it due to lack of preprocessing data ?
Because when I viewed the file…I could not see any need for the preprocessing

Hey @chiragwxN, you have placed np.random.seed on wrong place, place it just above this line,
fdata=generateText(model,“apna”,k=4,maxLen=2000)

So final line,
np.random.seed(11)
fdata=generateText(model,“apna”,k=4,maxLen=2000)

Remove np.random.seed() from anywhere else in your code.

Hope this resolved your doubt.
Plz mark it as resolved in my doubts section. :blush: