# How do I add custom metadata fields to datasets?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-do-i-add-custom-metadata-fields-to-datasets%2F43714%3E%5C
**Category:** 🤗Datasets\
**Created:** [June 19, 2023, 12:07am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-do-i-add-custom-metadata-fields-to-datasets%2F43714 "2023-06-19T00:07:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![balisujohn](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@balisujohn](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fbalisujohn)%5C
**Post date:** [June 19, 2023, 12:07am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-do-i-add-custom-metadata-fields-to-datasets%2F43714%2F1 "2023-06-19T00:07:55Z")

</div>

Basically, I am using `Dataset.from_dict()` to create datasets, but I want to save two strings as global metadata, without making them column headers or making them repeated as values in every row. What would be the correct approach to this? A naive idea would be to encode them into the “description” field of DatasetInfo, but that seems like it can’t be intended.

---

<div class="post-metadata">

**Author:** ![mariosasko](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mariosasko/32/31548_2.png) [@mariosasko](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmariosasko)%5C
**Post date:** [June 21, 2023, 12:57pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-do-i-add-custom-metadata-fields-to-datasets%2F43714%2F2 "2023-06-21T12:57:38Z")

</div>

Storing arbitrary metadata is currently not supported but should eventually be implemented as part of [Metadata for each column · Issue #5575 · huggingface/datasets · GitHub](https://github.com/huggingface/datasets/issues/5575).
