# Sharing a community provided dataset

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsharing-a-community-provided-dataset%2F1338%3E%5C
**Category:** Beginners\
**Created:** [October 1, 2020, 2:09pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsharing-a-community-provided-dataset%2F1338 "2020-10-01T14:09:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raffal](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@Raffal](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FRaffal)%5C
**Post date:** [October 1, 2020, 2:09pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsharing-a-community-provided-dataset%2F1338%2F1 "2020-10-01T14:09:26Z")

</div>

Hello,  
I want to share my dataset, I’m following the instructions here:

> **[Sharing your dataset — datasets 1.0.2 documentation](https://huggingface.co/docs/datasets/share_dataset.html#sharing-a-community-provided-dataset)**

I copied thins command in order to add the metadata:  
python datasets-cli test datasets/ --save\_infos --all\_configs

but it gives me a syntax error each time

`[Errno 2] No such file or directory: ‘sample_data/’ /content/sample_data File “dataset-sharing.py”, line 6 python datasets-cli test datasets/sample_data --save_infos --all_configs ^ SyntaxError: invalid syntax `

What is the correct way to specify the dataset folder?  
thanks

---

<div class="post-metadata">

**Author:** ![Karthik12](https://avatars.discourse-cdn.com/v4/letter/k/dec6dc/32.png) [@Karthik12](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FKarthik12)%5C
**Post date:** [October 2, 2020, 9:50am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsharing-a-community-provided-dataset%2F1338%2F2 "2020-10-02T09:50:26Z")

</div>

Hi,

In the link you shared, under “Adding tests and metadata to the dataset”, it says:

“In the rest of this section, you should make sure that you run all of the commands **from the root** of your local `datasets` repository.”

Since you are getting ‘No such file or directory’, are you running from the root?

---

<div class="post-metadata">

**Author:** ![Raffal](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@Raffal](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FRaffal)%5C
**Post date:** [October 4, 2020, 9:37am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsharing-a-community-provided-dataset%2F1338%2F3 "2020-10-04T09:37:35Z")

</div>

yes, I’m running from the root.

---

<div class="post-metadata">

**Author:** ![Karthik12](https://avatars.discourse-cdn.com/v4/letter/k/dec6dc/32.png) [@Karthik12](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FKarthik12)%5C
**Post date:** [October 4, 2020, 10:49am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsharing-a-community-provided-dataset%2F1338%2F5 "2020-10-04T10:49:09Z")

</div>

Can you share your dataset loading script?
