Last active
December 15, 2019 09:01
-
-
Save akshay-3apr/02034b9281ba687cfd4c00f0479f5b10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To upload data from local disk at run time, uncomment below code | |
#from google.colab import files | |
#uploaded = files.upload() | |
# The below code is when we integrate Google drive to current Colab session. | |
# This is helpful when we want to store the trained model, and later download it to local. | |
from google.colab import drive | |
drive.mount('/content/gdrive') | |
os.chdir('/content/gdrive/My Drive') | |
if not (os.path.exists('/content/gdrive/My Drive/BERTFineTuning')): | |
os.mkdir('BERTFineTuning') | |
os.chdir('/content/gdrive/My Drive/BERTFineTuning') | |
else: | |
os.chdir('/content/gdrive/My Drive/BERTFineTuning') | |
os.listdir() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment