Lyrics Generation

where to use random .seed?

Hello @vaibhavsharma210.vs,

You have to use random.seed before generating the lyrics sequence.

Happy Learning :slight_smile:
Thanks

2 Likes
  1. should my output also contain “\n” character, as I am only getting 22% accuracy.

  2. also what does it mean by “Since the data-set is scrapped from the internet you need to remove the starting and ending tags and clean it before feeding to model” … do i need to remove first and last line of the lyrics???

Hello @vaibhavsharma210.vs,

The output should contain 2000+“apna” characters which makes it a total of 2004. It can contain “\n” or anyother character your code generated. Also, that line means removing the paragraph tag or break line tag, <p> or <br> as the lyrics have been scraped from web directly.

Happy learning :slight_smile:
Thanks

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

https://ide.codingblocks.com/s/120086

this is the code, please tell what are the changes I should do to get the better accuracy