From 20c50f0fe69d591fa8e64dfe05902d112b059782 Mon Sep 17 00:00:00 2001 From: Ivan Date: Sun, 19 Nov 2023 22:30:56 +0800 Subject: [PATCH] migrated spacy and nltk to requirements.txt --- .../6 - Chain Of Density Summarization.ipynb | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/tutorials/6 - Chain Of Density Summarization.ipynb b/tutorials/6 - Chain Of Density Summarization.ipynb index 7446488..ef314a0 100644 --- a/tutorials/6 - Chain Of Density Summarization.ipynb +++ b/tutorials/6 - Chain Of Density Summarization.ipynb @@ -107,32 +107,12 @@ "2. `nltk` : This was used by the original paper to count the number of tokens in our generated summaries" ] }, - { - "cell_type": "code", - "execution_count": 2, - "id": "31058600-540c-426c-b208-6117fca71cdf", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m A new release of pip is available: \u001b[0m\u001b[31;49m23.2.1\u001b[0m\u001b[39;49m -> \u001b[0m\u001b[32;49m23.3.1\u001b[0m\n", - "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m To update, run: \u001b[0m\u001b[32;49mpip install --upgrade pip\u001b[0m\n" - ] - } - ], - "source": [ - "!pip install spacy nltk --quiet" - ] - }, { "cell_type": "markdown", "id": "35dd5dae-0659-4b86-b8f2-57ec56087831", "metadata": {}, "source": [ - "We'll also need to install the tokenizer packages and the spacy english library" + "We'll need to install the tokenizer packages and the spacy english library before we can proceed with the rest of the lesson" ] }, {