How should i change the data in the training dataset from numpy array to simple text.
Changing of numpy array into simple text
You can simply iterate over the numpy array and than pass them to the function, and store the result in another list.
Hope this cleared your doubt. 
The error now occuring is the value error :- array is too big; ‘arr.size = arr.dtype.itemsize’ is larger than the maximum possible size.
Share link of your complete ipynb file after saving it on google drive.
This code is not showing any type of error and also gives the correct output but after submitting it shows the 0% accuracy…
When you were generating the Output.csv you were writing an extra space with that fwriter.writerow([" "]), due to which your output looked like,
Id Label
0 'neg '
1 'pos '
2 'neg '
.
.
.
You can fix this by removing the space by rewriting the above code as fwriter.writerow([]).
Thankyou,
If it helps, kindly mark the doubt as resolved and rate your experience.