edited markdown; removed regex installation (it's already in colab)

This commit is contained in:
Aleksey Morozov 2021-01-24 13:07:09 +02:00
parent 90c1b12d63
commit a393830956
1 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@
"source": [
"# Preparation for Colab\n",
"\n",
"Make sure you're running a GPU runtime; if not, select \"GPU\" as the hardware accelerator in Runtime > Change Runtime Type in the menu. The next cells will print the CUDA version of the runtime if it has a GPU, and install PyTorch 1.7.1."
"Make sure you're running a GPU runtime; if not, select \"GPU\" as the hardware accelerator in Runtime > Change Runtime Type in the menu. The next cells will print the CUDA version of the runtime if it has a GPU."
]
},
{
@ -80,7 +80,7 @@
},
"source": [
"MODELS = {\n",
" \"ViT-B/32\": \"https://openaipublic.azureedge.net/clip/models/40d365715913c9da98579312b702a82c18be219cc2a73407c4526f58eba950af/ViT-B-32.pt\",\n",
" \"ViT-B/32\": \"https://openaipublic.azureedge.net/clip/models/40d365715913c9da98579312b702a82c18be219cc2a73407c4526f58eba950af/ViT-B-32.pt\",\n",
"}"
],
"execution_count": 4,
@ -207,7 +207,7 @@
"outputId": "b61049f3-0ce5-4e95-c477-9c62b2fabca4"
},
"source": [
"! pip install ftfy regex\n",
"! pip install ftfy\n",
"! wget https://openaipublic.azureedge.net/clip/bpe_simple_vocab_16e6.txt.gz -O bpe_simple_vocab_16e6.txt.gz"
],
"execution_count": 8,