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": {