From d50f8f765f3f7ad89ad20d25a8d33912a2e67887 Mon Sep 17 00:00:00 2001 From: "Aayush D.C Dangi" <89606048+dcaayushd@users.noreply.github.com> Date: Wed, 20 May 2026 12:30:49 +0545 Subject: [PATCH 1/2] fix: correct requirements-torch typo and update gensim version in lesson 5-NLP --- lessons/5-NLP/README.md | 2 +- lessons/5-NLP/requirements-pytorch.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lessons/5-NLP/README.md b/lessons/5-NLP/README.md index 8ad51906..730ff5f9 100644 --- a/lessons/5-NLP/README.md +++ b/lessons/5-NLP/README.md @@ -28,7 +28,7 @@ If you are using local Python installation to run this course, you may need to i **For PyTorch** ```bash -pip install -r requirements-torch.txt +pip install -r requirements-pytorch.txt ``` **For TensorFlow** ```bash diff --git a/lessons/5-NLP/requirements-pytorch.txt b/lessons/5-NLP/requirements-pytorch.txt index 5df54501..3cd17ab6 100644 --- a/lessons/5-NLP/requirements-pytorch.txt +++ b/lessons/5-NLP/requirements-pytorch.txt @@ -1,4 +1,4 @@ -gensim==3.8.3 +gensim>=4.3.0 huggingface==0.0.1 matplotlib nltk==3.9.4 From b770c948ad7946ad780a02e4681c998b79010213 Mon Sep 17 00:00:00 2001 From: Lee Stott Date: Thu, 2 Jul 2026 13:41:16 +0100 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- lessons/5-NLP/requirements-pytorch.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lessons/5-NLP/requirements-pytorch.txt b/lessons/5-NLP/requirements-pytorch.txt index 3cd17ab6..de9828a5 100644 --- a/lessons/5-NLP/requirements-pytorch.txt +++ b/lessons/5-NLP/requirements-pytorch.txt @@ -1,4 +1,4 @@ -gensim>=4.3.0 +gensim>=4.3.0,<5 huggingface==0.0.1 matplotlib nltk==3.9.4