code: def read_SST(path, seed=1234):
      train_path = os.path.join(path, "stsa.binary.phrases.train")
      valid_path = os.path.join(path, "stsa.binary.dev")
      test_path = os.path.join(path, "stsa.binary.test")
      train_x, train_y = read_corpus(train_path, False)
      valid_x, valid_y = read_corpus(valid_path, False)
      test_x, test_y = read_corpus(test_path, False)
      random.seed(seed)
      perm = list(range(len(train_x)))
      random.shuffle(perm)
      train_x = [train_x[i] for i in perm]
      train_y = [train_y[i] for i in perm]
      return train_x, train_y, valid_x, valid_y, test_x, test_y
  
imports: import gzip
  import os
  import sys
  import re
  import random
  import numpy
  import torch
label_desc: Use image node_id 8 for calling a global function with example usage: read_SST(path, seed) and returns: train_x,  train_y,  valid_x,  valid_y,  test_x,  test_y