|
--- |
|
language: |
|
- en |
|
pretty_name: "JSON Mermaid Dataset" |
|
license: "mit" |
|
tags: |
|
- conversational |
|
- sharegpt |
|
task_categories: |
|
- text-generation |
|
- text2text-generation |
|
size_categories: |
|
- 10K<n<100K |
|
--- |
|
|
|
# JSON Mermaid Dataset |
|
|
|
This dataset contains conversations in ShareGPT format, designed for fine-tuning language models. |
|
|
|
## Dataset Structure |
|
|
|
The dataset follows the ShareGPT format, with each example containing a "conversations" field with an array of messages. Each message has: |
|
- "from": Indicates who sent the message (typically "human" or "gpt") |
|
- "value": The content of the message |
|
|
|
Example: |
|
```json |
|
{ |
|
"conversations": [ |
|
{"from": "human", "value": "Hello, how are you?"}, |
|
{"from": "gpt", "value": "I'm doing well, thank you for asking! How can I help you today?"} |
|
] |
|
} |
|
``` |
|
|
|
## Usage |
|
|
|
You can load this dataset using the Hugging Face datasets library: |
|
|
|
```python |
|
from datasets import load_dataset |
|
|
|
dataset = load_dataset("mugivara1/json-mermaid", split="train") |
|
``` |
|
|
|
## Citation |
|
|
|
If you use this dataset in your research, please cite: |
|
|
|
``` |
|
@misc{json-mermaid, |
|
author = {mugivara1}, |
|
title = {JSON Mermaid Dataset}, |
|
year = {2025}, |
|
publisher = {GitHub}, |
|
url = {https://huggingface.co/datasets/mugivara1/json-mermaid} |
|
} |
|
``` |