Error in Ungraded BERT Loss Lab - Can't find downloaded data.txt file

I was going through the BERT Loss lab using Colab, but when running the first cell under “Getting Things Ready”, I got the following error: “FileNotFoundError: [Errno 2] No such file or directory: ‘/content/drive/My Drive/NLP_C4_W3_Colabs/data/data.txt’”.

I had already executed the previous code, which would download to my Google Drive:

from google.colab import drive
drive.mount(‘/content/drive/’, force_remount=True)
path = “/content/drive/My Drive/NLP_C4_W3_Colabs”

And given the Colab permission to access the drive. Is this a lab error, or is there something else I should do. My Google Drive still has about 7 GB of space and I didn’t get any out of memory messages, but neither do I see this directory on my Google Drive. Is there something I shd do?

Hi @Steven1,

For this Colab, nothing gets “downloaded” to your google drive. The instructions ask you to make a copy of the colab, and then it asks you to create a shortcut to the folder from where the colab will read the “data.txt” file.

When you follow all of the bulleted instructions provided in the colab, once your google drive is mounted, it is able to access the shortcut to the folder where all the helper files are available.

Please make sure you are not missing that step.

In particular, I’m asking about following this piece of instruction:

Regards,
Mubsi