# 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 %}
