# Add dataset revision to a created dataset

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fadd-dataset-revision-to-a-created-dataset%2F21847%3E%5C
**Category:** 🤗Datasets\
**Created:** [August 20, 2022, 8:13am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fadd-dataset-revision-to-a-created-dataset%2F21847 "2022-08-20T08:13:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vblagoje](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/vblagoje/32/20818_2.png) [@vblagoje](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fvblagoje)%5C
**Post date:** [August 20, 2022, 8:13am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fadd-dataset-revision-to-a-created-dataset%2F21847%2F1 "2022-08-20T08:13:23Z")

</div>

Hey there,

Some of the Dataset from\_xxx methods have a DatasetInfo parameter when loading/creating Dataset while the others don’t. My use case is the automatic creation of Datasets from json and pushing those datasets to hub after building them. I want to add revision/version to these datasets but don’t know how - can’t add it via dataset push\_to\_hub nor via DatasetInfo.

Any ideas how to achieve this?

Best,  
Vladimir

---

<div class="post-metadata">

**Author:** ![julien-c](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/julien-c/32/41937_2.png) [@julien-c](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjulien-c)%5C
**Post date:** [August 22, 2022, 10:19pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fadd-dataset-revision-to-a-created-dataset%2F21847%2F2 "2022-08-22T22:19:00Z")

</div>

maybe tagging @lhoestq @albertvillanova?

---

<div class="post-metadata">

**Author:** ![vblagoje](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/vblagoje/32/20818_2.png) [@vblagoje](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fvblagoje)%5C
**Post date:** [August 24, 2022, 8:11am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fadd-dataset-revision-to-a-created-dataset%2F21847%2F3 "2022-08-24T08:11:38Z")

</div>

Thanks @julien-c - this seems to be a growing use case - synthetic datasets that are automatically generated, cleaned up, tagged/versioned, pushed to the huggingface hub, and subsequently downloaded and used to fine-tune models etc.

---

<div class="post-metadata">

**Author:** ![lhoestq](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lhoestq/32/64813_2.png) [@lhoestq](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flhoestq)%5C
**Post date:** [August 25, 2022, 11:58am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fadd-dataset-revision-to-a-created-dataset%2F21847%2F4 "2022-08-25T11:58:21Z")

</div>

I opened an issue to request a way to add a git tag using `huggingface_hub`: [Add a git tag to a repository · Issue #1014 · huggingface/huggingface\_hub · GitHub](https://github.com/huggingface/huggingface_hub/issues/1014)
