diff --git a/tutorials/Tutorial1_Basic_QA_Pipeline.ipynb b/tutorials/Tutorial1_Basic_QA_Pipeline.ipynb index 81343b43f..d322a7415 100644 --- a/tutorials/Tutorial1_Basic_QA_Pipeline.ipynb +++ b/tutorials/Tutorial1_Basic_QA_Pipeline.ipynb @@ -26,8 +26,12 @@ "metadata": {}, "outputs": [], "source": [ - "! pip install git+https://github.com/deepset-ai/haystack.git\n", - "#! pip install farm-haystack" + "# Install the latest release of Haystack in your own environment \n", + "#! pip install farm-haystack\n", + "\n", + "# Install the latest master of Haystack and install the version of torch that works with the colab GPUs\n", + "!pip install git+https://github.com/deepset-ai/haystack.git\n", + "!pip install torch==1.5.1+cu101 torchvision==0.6.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html" ] }, { diff --git a/tutorials/Tutorial2_Finetune_a_model_on_your_data.ipynb b/tutorials/Tutorial2_Finetune_a_model_on_your_data.ipynb index 2c30e80c6..170dd06e5 100644 --- a/tutorials/Tutorial2_Finetune_a_model_on_your_data.ipynb +++ b/tutorials/Tutorial2_Finetune_a_model_on_your_data.ipynb @@ -19,7 +19,12 @@ "metadata": {}, "outputs": [], "source": [ - "! pip install git+https://github.com/deepset-ai/haystack.git" + "# Install the latest release of Haystack in your own environment \n", + "#! pip install farm-haystack\n", + "\n", + "# Install the latest master of Haystack and install the version of torch that works with the colab GPUs\n", + "!pip install git+https://github.com/deepset-ai/haystack.git\n", + "!pip install torch==1.5.1+cu101 torchvision==0.6.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html" ] }, { diff --git a/tutorials/Tutorial3_Basic_QA_Pipeline_without_Elasticsearch.ipynb b/tutorials/Tutorial3_Basic_QA_Pipeline_without_Elasticsearch.ipynb index 8203848c7..25a712ac9 100644 --- a/tutorials/Tutorial3_Basic_QA_Pipeline_without_Elasticsearch.ipynb +++ b/tutorials/Tutorial3_Basic_QA_Pipeline_without_Elasticsearch.ipynb @@ -19,8 +19,12 @@ "metadata": {}, "outputs": [], "source": [ - "! pip install git+https://github.com/deepset-ai/haystack.git\n", - "#! pip install farm-haystack" + "# Install the latest release of Haystack in your own environment \n", + "#! pip install farm-haystack\n", + "\n", + "# Install the latest master of Haystack and install the version of torch that works with the colab GPUs\n", + "!pip install git+https://github.com/deepset-ai/haystack.git\n", + "!pip install torch==1.5.1+cu101 torchvision==0.6.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html" ] }, { diff --git a/tutorials/Tutorial4_FAQ_style_QA.ipynb b/tutorials/Tutorial4_FAQ_style_QA.ipynb index d80d8d140..a363b65a6 100644 --- a/tutorials/Tutorial4_FAQ_style_QA.ipynb +++ b/tutorials/Tutorial4_FAQ_style_QA.ipynb @@ -27,9 +27,12 @@ "metadata": {}, "outputs": [], "source": [ - "#TODO\n", - "! pip install git+https://github.com/deepset-ai/haystack.git\n", - "#! pip install farm-haystack" + "# Install the latest release of Haystack in your own environment \n", + "#! pip install farm-haystack\n", + "\n", + "# Install the latest master of Haystack and install the version of torch that works with the colab GPUs\n", + "!pip install git+https://github.com/deepset-ai/haystack.git\n", + "!pip install torch==1.5.1+cu101 torchvision==0.6.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html" ] }, { diff --git a/tutorials/Tutorial5_Evaluation.ipynb b/tutorials/Tutorial5_Evaluation.ipynb index f79974ef6..233afb168 100644 --- a/tutorials/Tutorial5_Evaluation.ipynb +++ b/tutorials/Tutorial5_Evaluation.ipynb @@ -1538,8 +1538,12 @@ "colab": {} }, "source": [ - "# Recommended: Start Elasticsearch using Docker\n", - "#! docker run -d -p 9200:9200 -e \"discovery.type=single-node\" elasticsearch:7.6.2" + "# Install the latest release of Haystack in your own environment \n", + "#! pip install farm-haystack\n", + "\n", + "# Install the latest master of Haystack and install the version of torch that works with the colab GPUs\n", + "!pip install git+https://github.com/deepset-ai/haystack.git\n", + "!pip install torch==1.5.1+cu101 torchvision==0.6.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html" ], "execution_count": 0, "outputs": [] diff --git a/tutorials/Tutorial6_Better_Retrieval_via_DPR.ipynb b/tutorials/Tutorial6_Better_Retrieval_via_DPR.ipynb index 768b99efe..c541e803d 100644 --- a/tutorials/Tutorial6_Better_Retrieval_via_DPR.ipynb +++ b/tutorials/Tutorial6_Better_Retrieval_via_DPR.ipynb @@ -79,7 +79,12 @@ "metadata": {}, "outputs": [], "source": [ - "! pip install git+https://github.com/deepset-ai/haystack.git" + "# Install the latest release of Haystack in your own environment \n", + "#! pip install farm-haystack\n", + "\n", + "# Install the latest master of Haystack and install the version of torch that works with the colab GPUs\n", + "!pip install git+https://github.com/deepset-ai/haystack.git\n", + "!pip install torch==1.5.1+cu101 torchvision==0.6.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html" ] }, {