Sir, I am facing a problem with training data after stopword removal our X_train become a list, and the vectorization function takes the only array as input and when I converting the list into an array it gives an error "Unable to allocate 1.26 GiB for an array with shape (40000,) and data type <U8476 ", and when I pass a list of cleaned x_train into vectorization function it gives an error “Unable to allocate 63.8 MiB for an array with shape (8367123,) and data type int64” but the size of the list is 40,000
suggest me any suitable solution.