From ffce31381a1aa21dc090f3af6f5182c51d7ec5f0 Mon Sep 17 00:00:00 2001 From: Ben Burtenshaw Date: Thu, 11 Jul 2024 16:45:28 +0200 Subject: [PATCH] docs: add more information for pushing records --- argilla/docs/how_to_guides/export.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/argilla/docs/how_to_guides/export.md b/argilla/docs/how_to_guides/export.md index a3eab2ae14..460bae81be 100644 --- a/argilla/docs/how_to_guides/export.md +++ b/argilla/docs/how_to_guides/export.md @@ -14,7 +14,7 @@ Check the [Dataset - Python Reference](../reference/argilla/datasets/dataset.md) ## Export an `rg.Dataset` from Argilla -First, we will go through exporting a complete dataset from Argilla. This includes the dataset's configuration and records. All of these methods use the `rg.Dataset.from_*` and `rg.Dataset.to_*` methods. +First, we will go through exporting a complete dataset from Argilla. This includes the dataset's setting and records. All of these methods use the `rg.Dataset.from_*` and `rg.Dataset.to_*` methods. ### Push an Argilla dataset to the Hugging Face Hub @@ -35,6 +35,13 @@ dataset.to_hub(repo_id="") dataset.to_hub(repo_id="", with_records=False) ``` + With the dataset's confiugration you could then make changes to the dataset's settings, or add records via the `datasets` package. + + ```python + hf_dataset = load_dataset("") + dataset.log(hf_dataset) + ``` + ### Pull an Argilla dataset from the Hugging Face Hub You can pull a dataset from the Hugging Face Hub to Argilla. This is useful if you want to restore a dataset's configuration. You can pull the dataset from the Hugging Face Hub using the `rg.Dataset.from_hub` method.