generating-reviews-discovering-sentiment
generating-reviews-discovering-sentiment copied to clipboard
Invalid literal
When I am trying to run the example. But i am facing this issue at this line
xmb[i, -l:] = list(x)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: invalid literal for long() with base 10: '\n'
Can you provide your system environment and the input?
I got the same problem. In my case, it occurred because the length of my sentence was greater than the mentioned nsteps in the code