From 31bca3fbdcbacb55581b59ea191b8fbb9da5efb7 Mon Sep 17 00:00:00 2001 From: Taemin Date: Sun, 9 Feb 2025 00:58:47 +0900 Subject: [PATCH] week7 day1 pip installing error solution --- week7/day1.ipynb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/week7/day1.ipynb b/week7/day1.ipynb index 161e686..f58c2d8 100644 --- a/week7/day1.ipynb +++ b/week7/day1.ipynb @@ -13,6 +13,33 @@ "\n", "https://colab.research.google.com/drive/15rqdMTJwK76icPBxNoqhI7Ww8UM-Y7ni?usp=sharing" ] + }, + { + "cell_type": "markdown", + "id": "d70545b3", + "metadata": {}, + "source": [ + "### When u have error in installing pip dependencies, try this code" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "eaa01313", + "metadata": { + "vscode": { + "languageId": "plaintext" + } + }, + "outputs": [], + "source": [ + "# pip installs\n", + "\n", + "!pip install -q datasets requests torch peft bitsandbytes transformers trl accelerate sentencepiece\n", + "!pip uninstall -y torch transformers\n", + "!pip install -q torch transformers\n", + "!pip install -q torchvision" + ] } ], "metadata": {