Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions projects/project-notebooks/ComparingNetworks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down Expand Up @@ -478,7 +480,10 @@
" if not os.path.isdir(dirname):\n",
" ! git clone https://github.com/neuromatch/ComputationThruDynamicsBenchmark\n",
" %cd ComputationThruDynamicsBenchmark\n",
" ! pip install -e .\n",
"\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install -e .\n",
"\n",
"envStr = \"\"\"HOME_DIR=ComputationThruDynamicsBenchmark/\n",
"\n",
Expand Down
4 changes: 3 additions & 1 deletion projects/project-notebooks/Macrocircuits.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion projects/project-notebooks/Microlearning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
5 changes: 4 additions & 1 deletion tutorials/Bonus_BonusContent/Bonus_Tutorial2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@
"outputs": [],
"source": [
"# @title Install dependecies\n",
"!pip install plotly --quiet"
"\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install plotly --quiet"
]
},
{
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W1D1_Generalization/W1D1_Intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W1D1_Generalization/W1D1_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck Pillow matplotlib torch torchvision transformers gradio protobuf sentencepiece gradio torchmetrics --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck Pillow matplotlib torch torchvision transformers gradio protobuf sentencepiece gradio torchmetrics --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W1D1_Generalization/W1D1_Tutorial2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install numpy scipy matplotlib torch tqdm vibecheck --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install numpy scipy matplotlib torch tqdm vibecheck --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W1D1_Generalization/W1D1_Tutorial3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install matplotlib numpy Pillow scipy ipywidgets vibecheck tqdm --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install matplotlib numpy Pillow scipy ipywidgets vibecheck tqdm --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
5 changes: 3 additions & 2 deletions tutorials/W1D2_ComparingTasks/W1D2_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck numpy matplotlib torch torchvision tqdm ipywidgets memory-profiler requests scikit-learn torchmetrics --quiet\n",
"\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck numpy matplotlib torch torchvision tqdm ipywidgets memory-profiler requests scikit-learn torchmetrics --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W1D2_ComparingTasks/W1D2_Tutorial2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck numpy matplotlib torch torchvision tqdm ipysankeywidget ipywidgets seaborn --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck numpy matplotlib torch torchvision tqdm ipysankeywidget ipywidgets seaborn --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W1D2_ComparingTasks/W1D2_Tutorial3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck requests matplotlib ipython numpy scipy --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck requests matplotlib ipython numpy scipy --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,18 @@
"source": [
"# @title Install dependencies\n",
"\n",
"!pip install -q ipympl ipywidgets mpl_interactions[\"jupyter\"] torchlens\n",
"!pip install -q graphviz\n",
"!pip install rsatoolbox==0.1.5\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install -q ipympl ipywidgets mpl_interactions[\"jupyter\"] torchlens\n",
" %pip install -q graphviz\n",
" %pip install rsatoolbox==0.1.5\n",
"\n",
"# To install jupyter-matplotlib (ipympl) via pip\n",
"!pip install -q torchlens\n",
"!pip install -q numpy scikit-learn torch torchvision scipy matplotlib\n",
"\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install -q torchlens\n",
" %pip install -q numpy scikit-learn torch torchvision scipy matplotlib\n",
"\n",
"# Import future dependencies first\n",
"from __future__ import print_function\n",
Expand Down Expand Up @@ -169,7 +174,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install torch torchvision matplotlib numpy scikit-learn scipy vibecheck --quiet\n",
"!pip install rsatoolbox==0.1.5 --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install torch torchvision matplotlib numpy scikit-learn scipy vibecheck --quiet\n",
" %pip install rsatoolbox==0.1.5 --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install numpy pandas torch torchvision matplotlib ipython Pillow plotly networkx requests vibecheck --quiet\n",
"!pip install rsatoolbox==0.1.5 --quiet\n",
"\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install numpy pandas torch torchvision matplotlib ipython Pillow plotly networkx requests vibecheck --quiet\n",
" %pip install rsatoolbox==0.1.5 --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@
"source": [
"# @title Install dependencies and import feedback gadget\n",
"\n",
"!pip install numpy xarray scipy scikit-learn matplotlib seaborn tqdm vibecheck datatops --quiet\n",
"!pip install rsatoolbox==0.1.5 --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install numpy xarray scipy scikit-learn matplotlib seaborn tqdm vibecheck datatops --quiet\n",
" %pip install rsatoolbox==0.1.5 --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck rsatoolbox --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck rsatoolbox --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W1D5_Microcircuits/W1D5_Intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W1D5_Microcircuits/W1D5_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W1D5_Microcircuits/W1D5_Tutorial2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W1D5_Microcircuits/W1D5_Tutorial3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W2D1_Macrocircuits/W2D1_Intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W2D1_Macrocircuits/W2D1_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W2D1_Macrocircuits/W2D1_Tutorial2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
8 changes: 5 additions & 3 deletions tutorials/W2D1_Macrocircuits/W2D1_Tutorial3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,11 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"!pip install pandas --quiet\n",
"!pip install scikit-learn --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
" %pip install pandas --quiet\n",
" %pip install scikit-learn --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
4 changes: 3 additions & 1 deletion tutorials/W2D2_NeuroSymbolicMethods/W2D2_Intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install vibecheck datatops --quiet\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install vibecheck datatops --quiet\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
10 changes: 6 additions & 4 deletions tutorials/W2D2_NeuroSymbolicMethods/W2D2_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,12 @@
"source": [
"# @title Install and import feedback gadget\n",
"\n",
"!pip install git+https://github.com/neuromatch/sspspace@neuromatch --quiet\n",
"!pip install numpy==1.24.4\n",
"!pip install nengo_spa==2.0.0\n",
"!pip install --quiet matplotlib ipywidgets scipy vibecheck\n",
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install git+https://github.com/neuromatch/sspspace@neuromatch --quiet\n",
" %pip install numpy==1.24.4\n",
" %pip install nengo_spa==2.0.0\n",
" %pip install --quiet matplotlib ipywidgets scipy vibecheck\n",
"\n",
"from vibecheck import DatatopsContentReviewContainer\n",
"def content_review(notebook_section: str):\n",
Expand Down
16 changes: 9 additions & 7 deletions tutorials/W2D2_NeuroSymbolicMethods/W2D2_Tutorial2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,15 @@
"source": [
"# @title Install dependencies\n",
"\n",
"!pip install numpy==1.24.4 --quiet\n",
"!pip install scikit-learn==1.6.1 --quiet\n",
"!pip install scipy==1.15.3 --quiet\n",
"!pip install git+https://github.com/neuromatch/sspspace@neuromatch --no-deps --quiet\n",
"!pip install nengo==4.0.0 --quiet\n",
"!pip install nengo_spa==2.0.0 --quiet\n",
"!pip install --quiet matplotlib ipywidgets vibecheck"
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install numpy==1.24.4 --quiet\n",
" %pip install scikit-learn==1.6.1 --quiet\n",
" %pip install scipy==1.15.3 --quiet\n",
" %pip install git+https://github.com/neuromatch/sspspace@neuromatch --no-deps --quiet\n",
" %pip install nengo==4.0.0 --quiet\n",
" %pip install nengo_spa==2.0.0 --quiet\n",
" %pip install --quiet matplotlib ipywidgets vibecheck"
]
},
{
Expand Down
8 changes: 5 additions & 3 deletions tutorials/W2D2_NeuroSymbolicMethods/W2D2_Tutorial3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,11 @@
"source": [
"# @title Install dependencies\n",
"\n",
"!pip install numpy==1.24.4 --quiet\n",
"!pip install nengo nengo-spa nengo-gui --quiet\n",
"!pip install matplotlib vibecheck --quiet"
"from os import environ as env\n",
"if any(var in env for var in [\"COLAB_RELEASE_TAG\", \"KAGGLE_KERNEL_RUN_TYPE\"]):\n",
" %pip install numpy==1.24.4 --quiet\n",
" %pip install nengo nengo-spa nengo-gui --quiet\n",
" %pip install matplotlib vibecheck --quiet"
]
},
{
Expand Down
Loading
Loading