> For the complete documentation index, see [llms.txt](https://docs.easy-dataset.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.easy-dataset.com/ed/en/datasets/dataset-export.md).

# Dataset Export

{% hint style="info" %}
After confirming the dataset, you can return to the list, click Export Dataset, and choose from three methods: export to local, one-click generation of LLaMA Factory configuration, or one-click upload to Hugging Face.
{% endhint %}

<figure><img src="https://content.gitbook.com/content/Fp49500tb1OoKJhGorBN/blobs/953ELz1qSqodM8frvP2b/image.png" alt=""><figcaption></figcaption></figure>

### Export to Local

* Select file format: Supports three formats - JSON, JSONL, Excel
* Select dataset style: Fixed styles support Alpaca, ShareGPT

<figure><img src="https://content.gitbook.com/content/Fp49500tb1OoKJhGorBN/blobs/tnzN0sDORnO7EYuD3aT6/image.png" alt=""><figcaption></figcaption></figure>

* Supports custom styles, allowing configuration of field formats for questions, answers, chain of thought, and whether to include domain tags:

<figure><img src="https://content.gitbook.com/content/Fp49500tb1OoKJhGorBN/blobs/h2zFmI3V9i9jHnurmD9R/image.png" alt=""><figcaption></figcaption></figure>

### Use in LLaMA Factory

<figure><img src="https://content.gitbook.com/content/Fp49500tb1OoKJhGorBN/blobs/eH2bfMEBXQ64neTP2FeE/image.png" alt=""><figcaption></figcaption></figure>

After generation, click to copy the configuration file path with one click:

<figure><img src="https://content.gitbook.com/content/Fp49500tb1OoKJhGorBN/blobs/jIrAyDUbyEijrimbbzOt/image.png" alt=""><figcaption></figcaption></figure>

Then paste the path into LLaMA Factory:

<figure><img src="https://content.gitbook.com/content/Fp49500tb1OoKJhGorBN/blobs/gUhaCZsD0pq4X3pmuNKM/image.png" alt=""><figcaption></figcaption></figure>

Click Preview Dataset, if the dataset can be loaded, it indicates the configuration is successful:\\

<figure><img src="https://content.gitbook.com/content/Fp49500tb1OoKJhGorBN/blobs/1YBk2WVRidXaLyMYCCud/image.png" alt=""><figcaption></figcaption></figure>

### Upload to HuggingFace

{% hint style="info" %}
Coming soon...
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.easy-dataset.com/ed/en/datasets/dataset-export.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
