Step 3: Installing the requirements
The requirements will be installed automatically:
#@title Step 3: Installing the requirements
import os # when the VM restarts import os necessary
os.chdir("/content/gpt-2")
!pip3 install -r requirements.txt
When running cell by cell, we might have to restart the VM and thus import os
again.
The requirements for this notebook are:
Fire 0.1.3
to generate command-line interfaces (CLIs)regex 2017.4.5
for regex usageRequests 2.21.0
, an HTTP librarytqdm 4.31.1
to display a progress meter for loops
You may be asked to restart the notebook.
Do not restart it now. Let’s wait until we check the version of TensorFlow.