# Load\_dataset('csv', data\_files='./imdb.csv') \[Errno 2\] No such file or directory: './imdb.csv'

**URL:** <https://discuss.huggingface.co/t/load-dataset-csv-data-files-imdb-csv-errno-2-no-such-file-or-directory-imdb-csv/62800>\
**Category:** 🤗Datasets\
**Created:** [November 20, 2023, 3:55am UTC](https://discuss.huggingface.co/t/load-dataset-csv-data-files-imdb-csv-errno-2-no-such-file-or-directory-imdb-csv/62800 "2023-11-20T03:55:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScarlettScarlett](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@ScarlettScarlett](https://discuss.huggingface.co/u/ScarlettScarlett)\
**Post date:** [November 20, 2023, 3:55am UTC](https://discuss.huggingface.co/t/load-dataset-csv-data-files-imdb-csv-errno-2-no-such-file-or-directory-imdb-csv/62800/1 "2023-11-20T03:55:17Z")

</div>

When I learned 《Getting Started with Google BERT》, the code run in Google colab shows errors.

codes and errors are as follows:

 ![problem & solutions](https://us1.discourse-cdn.com/hellohellohello/original/3X/d/b/dbe53cb1e1677fff70b6a8c8a4eb1cfb739d8090.jpeg)

the problem corresponds to chapter 3.4.1 in 《Getting Started with Google BERT》.

is there any solutions to this problem, please help~

---

<div class="post-metadata">

**Author:** ![mariosasko](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mariosasko/32/31548_2.png) [@mariosasko](https://discuss.huggingface.co/u/mariosasko)\
**Post date:** [November 28, 2023, 3:35pm UTC](https://discuss.huggingface.co/t/load-dataset-csv-data-files-imdb-csv-errno-2-no-such-file-or-directory-imdb-csv/62800/2 "2023-11-28T15:35:37Z")

</div>

Can you provide a link to the chapter so we can update it?

`datasets.load_dataset` should be used instead of `nlp.load_dataset`, as the `nlp` package is outdated.

---

<div class="post-metadata">

**Author:** ![ScarlettScarlett](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@ScarlettScarlett](https://discuss.huggingface.co/u/ScarlettScarlett)\
**Post date:** [November 29, 2023, 1:29pm UTC](https://discuss.huggingface.co/t/load-dataset-csv-data-files-imdb-csv-errno-2-no-such-file-or-directory-imdb-csv/62800/3 "2023-11-29T13:29:23Z")

</div>

code in book 《Getting Started with Google BERT》 is in page 108.  
in GITHUB is chapter3, the file name is 3.06 Text-classification -checkpoint.

get the suggestion, thank you.
