Skip to content

Add bash script to download necessary files for Colab - #1

Open
davidwitten wants to merge 1 commit into
cs124:mainfrom
davidwitten:main
Open

Add bash script to download necessary files for Colab#1
davidwitten wants to merge 1 commit into
cs124:mainfrom
davidwitten:main

Conversation

@davidwitten

Copy link
Copy Markdown

I have been running these notebooks in Colab instead of Jupyter notebook and I have had to include a script like this for past assignments:

%%bash

if [[ ! -d "./data" ]]
then
    echo "Missing extra files (this probably means you're running on Google Colab). Downloading..."
    git clone https://github.com/cs124/pa3-ir.git
    cp -r ./pa3-ir/{data,porter_stemmer.py} .
fi

This script is present in pa0 and pa4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant