# Passing schema features to a load\_dataset function

**URL:** <https://discuss.huggingface.co/t/passing-schema-features-to-a-load-dataset-function/9480>\
**Category:** 🤗Datasets\
**Created:** [August 25, 2021, 9:19pm UTC](https://discuss.huggingface.co/t/passing-schema-features-to-a-load-dataset-function/9480 "2021-08-25T21:19:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Oigres](https://avatars.discourse-cdn.com/v4/letter/o/a8b319/32.png) [@Oigres](https://discuss.huggingface.co/u/Oigres)\
**Post date:** [August 26, 2021, 12:02pm UTC](https://discuss.huggingface.co/t/passing-schema-features-to-a-load-dataset-function/9480/4 "2021-08-26T12:02:58Z")

</div>

Hi.

I finally found kind of a solution following this thread. Hope it can help others.

> [@Loading Custom Datasets](https://discuss.huggingface.co/t/loading-custom-datasets/6166/2):
>
> Hi ! The conll2003 script doesn’t parse json files, but rather text files in the conll format. This format has one line per token, with space-separated labels for the POS tag, the chunk tag and the NER tag. So if you want to use a dataset script like conll you’d have to use the right format, or reimplement the \_generate\_examples method to parse the json data (this should be straightforward since you just have to iterate over the json data and yield each example). Otherwise if you don’t want to…

---

_[View the full topic](https://discuss.huggingface.co/t/passing-schema-features-to-a-load-dataset-function/9480)._
