[Week 1] Error loading twitter_samples

I want to run the noteboook of C3_W1_Assignment in “Natural Language Processing with Sequence Models” course in week one. But I got an error when I run the notebook in the first cell with this markdown

1 - Import Libraries and try out Trax

  • Let’s import libraries and look at an example of using the Trax library.

the error says following

[nltk_data] Error loading twitter_samples: <urlopen error [SSL:
[nltk_data] CERTIFICATE_VERIFY_FAILED] certificate verify failed:
[nltk_data] unable to get local issuer certificate (_ssl.c:1076)>
[nltk_data] Error loading stopwords: <urlopen error [SSL:
[nltk_data] CERTIFICATE_VERIFY_FAILED] certificate verify failed:
[nltk_data] unable to get local issuer certificate (_ssl.c:1076)>

Please do the following:

  1. Select the correct tag to fix the Week x category.
  2. Specify which notebook cell does this trace occur? (Specifying markdown associated with the cell is sufficient.)

Here’s the community user guide to get started.

I think you have posted in the wrong forum area, and have the name of the assignment incorrect.

You’ve posted in the Deep Learning Specialization, but that course does not use Trax, nor does it process any twitter data.

Perhaps you are enrolled in the NLP course?

Yes this sounds like NLP Course 3, but I thought I read an announcement that they had recently upgraded the courses from Trax to TF. So the other possibility here is that what you need to do is make sure your assignment is updated to the latest version. Here’s a thread about how to do that.

Hmmm, I’ve never looked at NLP C3 before, but I just went to Week 1 and refreshed the assignment files. I got ones that used Trax and they failed in the same way Muhammad shows.

But then I went back to the course home page and it told me I needed to switch schedules. When I did that, I get a new version that does not use Trax. So that’s probably what you need to do also.

Looks like they did a pretty major rewrite of everything.