So, here I am encoding my sorted words using this -
reviews_int = []
for review in combi['tidy_tweet']:
  r = [vocab_to_int[w] for w in review.split()]
  reviews_int.append(r)
print(reviews_int[0:3])
OUTPUT: [[38, 4, 86, 10, 14869, 6, 10, 22, 4161, 71, 9356, 97, 332, 245, 97, 14870, 1301], [170, 8, 11409, 2355, 3, 33, 18, 424, 625, 59, 70, 18, 1651, 14871, 14872, 7, 14873, 22887, 14874], [76, 25, 4162]]

Then I convert it to np.array like this - reviews_int = np.array(reviews_int)
Still when I try to print the dtype of the reviews_int, it shows -
print(reviews_int.dtype) object
How can I do this now? Is Seq2Seq is the only way? My approach is wrong?