Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karimamd/41469221cf64f39fe5e1eefb97909af9 to your computer and use it in GitHub Desktop.
Save karimamd/41469221cf64f39fe5e1eefb97909af9 to your computer and use it in GitHub Desktop.
Code to put in a code cell in Google's colaboratory/jupyter notebooks to download and extract IMDB's reviews dataset and have a final folder that you can manipulate through code or linux commands
!rm -rf datalab
!wget http://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz
!ls
!uncompress aclImdb_v1.tar.gz
!tar -xvf aclImdb_v1.tar
!rm aclImdb_v1.tar
!ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment