Browse Source

week7 day1 pip installing error solution

pull/159/head
Taemin 3 months ago
parent
commit
31bca3fbdc
  1. 27
      week7/day1.ipynb

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

Loading…
Cancel
Save