# Process "Downloading and preparing dataset json/default" doesnt proceed

**URL:** <https://discuss.huggingface.co/t/process-downloading-and-preparing-dataset-json-default-doesnt-proceed/11722>\
**Category:** 🤗Datasets\
**Created:** [November 15, 2021, 10:38am UTC](https://discuss.huggingface.co/t/process-downloading-and-preparing-dataset-json-default-doesnt-proceed/11722 "2021-11-15T10:38:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![phuszar](https://avatars.discourse-cdn.com/v4/letter/p/9de053/32.png) [@phuszar](https://discuss.huggingface.co/u/phuszar)\
**Post date:** [November 15, 2021, 10:38am UTC](https://discuss.huggingface.co/t/process-downloading-and-preparing-dataset-json-default-doesnt-proceed/11722/1 "2021-11-15T10:38:06Z")

</div>

Hello,  
i’m working on a zero-shot classifaction model/pipeline. I have a problem when loading my data into a datset\_dict. It does not happen everytime but quite often.  
The moment i run follwing code cell, the cell will stuck or remain in the load\_dataset line and will not further proceed.

```auto
# Loading data into DatasetDict and preparing 
features = Features({"nli_label": ClassLabel(num_classes=3, names=['entailment','neutral','contradiction']), "intent_description": Value("string"), "intent": Value("string"), "text": Value("string"), "zlabel": Value("string"), "intent_dn": Value("string")})
dataset_dict = load_dataset('json', data_files={'train': 'train_data.json', 'test': 'test_data.json'})
dataset_dict = dataset_dict.map(features.encode_example, features=features)
dataset_dict = dataset_dict.rename_column("nli_label", "labels")
dataset_dict = dataset_dict.rename_column("zlabel", "hypothesis")
dataset_dict = dataset_dict.rename_column("text", "premise")

```

Im working in a google colab env. Im not sure if the jupyter env is the root of the problem. Below you can see the output of the cell. In order to proceed, i have to restart the runtime and hope that it works (what happens sometimes)

 ![Screenshot 2021-11-15 at 11.41.37](https://us1.discourse-cdn.com/hellohellohello/original/2X/a/abd82fb932795620fe4e835f9eec7eedbaa20253.png)

---

<div class="post-metadata">

**Author:** ![phuszar](https://avatars.discourse-cdn.com/v4/letter/p/9de053/32.png) [@phuszar](https://discuss.huggingface.co/u/phuszar)\
**Post date:** [November 16, 2021, 1:00pm UTC](https://discuss.huggingface.co/t/process-downloading-and-preparing-dataset-json-default-doesnt-proceed/11722/2 "2021-11-16T13:00:59Z")

</div>

i’m also curious why the output states “Downloading and preparing dataset […]” but im using (or at least want to use) local files

---

<div class="post-metadata">

**Author:** ![luojiluoji](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/luojiluoji/32/12332_2.png) [@luojiluoji](https://discuss.huggingface.co/u/luojiluoji)\
**Post date:** [November 1, 2022, 6:58am UTC](https://discuss.huggingface.co/t/process-downloading-and-preparing-dataset-json-default-doesnt-proceed/11722/3 "2022-11-01T06:58:59Z")

</div>

I also face the same problem.

---

<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 2, 2022, 3:15pm UTC](https://discuss.huggingface.co/t/process-downloading-and-preparing-dataset-json-default-doesnt-proceed/11722/4 "2022-11-02T15:15:27Z")

</div>

Hi! Can you copy and paste the output printed after interrupting the cell (or script with CTRL + C/CMD + C if running locally)?
