          yield X, Y
  
  
  def _download_pikachu(data_dir):
      root_url = ('https://apache-mxnet.s3-accelerate.amazonaws.com/'
                  'gluon/dataset/pikachu/')
      dataset = {'train.rec': 'e6bcb6ffba1ac04ff8a9b1115e650af56ee969c8',
                 'train.idx': 'dcf7318b2602c06428b9988470c731621716c393',
 
</s>
def download_imdb(data_dir='../data'):
    """Download the IMDB data set for sentiment analysis."""
    url = ('http://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz')
    sha1 = '01ada507287d82875905620988597833ad4e0903'
    fname = gutils.download(url, data_dir, sha1_hash=sha1)
    with tarfile.open(fname, 'r') as f:
        f.extractall(data_dir)


          yield X, Y
  
  
def download_imdb(data_dir='../data'):
    """Download the IMDB data set for sentiment analysis."""
    url = ('http://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz')
    sha1 = '01ada507287d82875905620988597833ad4e0903'
    fname = gutils.download(url, data_dir, sha1_hash=sha1)
    with tarfile.open(fname, 'r') as f:
        f.extractall(data_dir)


  def _download_pikachu(data_dir):
      root_url = ('https://apache-mxnet.s3-accelerate.amazonaws.com/'
                  'gluon/dataset/pikachu/')
      dataset = {'train.rec': 'e6bcb6ffba1ac04ff8a9b1115e650af56ee969c8',
                 'train.idx': 'dcf7318b2602c06428b9988470c731621716c393',
keep keep add keep keep keep keep keep
 revise textcnn code and utils
gluonbook/utils.py