Commit ·
c33400d
0
Parent(s):
Duplicate from Srijan-Chakraborty/Universal-Chat-SFT-Dataset
Browse filesCo-authored-by: Srijan Chakraborty <Srijan-Chakraborty@users.noreply.huggingface.co>
- .gitattributes +2 -0
- .gitignore +5 -0
- README.md +174 -0
- formatted_dataset.jsonl +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.parquet filter=lfs diff=lfs merge=lfs -textformatted_dataset.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
formatted_dataset.jsonl filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__pycache__/
|
| 2 |
+
*.pyc
|
| 3 |
+
.ipynb_checkpoints/
|
| 4 |
+
.DS_Store
|
| 5 |
+
Thumbs.db
|
README.md
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
pretty_name: Universal Chat SFT Dataset
|
| 8 |
+
size_categories:
|
| 9 |
+
- 1K<n<10K
|
| 10 |
+
tags:
|
| 11 |
+
- chat
|
| 12 |
+
- sft
|
| 13 |
+
- instruction-tuning
|
| 14 |
+
- conversational-ai
|
| 15 |
+
- llm
|
| 16 |
+
- dialogue
|
| 17 |
+
- synthetic
|
| 18 |
+
viewer: true
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# Universal-Chat-SFT-Dataset
|
| 22 |
+
|
| 23 |
+
A large-scale multi-turn conversational dataset designed for supervised fine-tuning (SFT) of modern Large Language Models (LLMs).
|
| 24 |
+
|
| 25 |
+
The dataset follows the OpenAI-style chat format with structured `messages`, making it directly compatible with most modern LLM training frameworks including Hugging Face Transformers, TRL, Axolotl, Unsloth, LlamaFactory, and custom fine-tuning pipelines.
|
| 26 |
+
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
# Features
|
| 30 |
+
|
| 31 |
+
✅ Multi-turn conversations
|
| 32 |
+
|
| 33 |
+
✅ OpenAI-compatible chat message format
|
| 34 |
+
|
| 35 |
+
✅ System, User and Assistant roles
|
| 36 |
+
|
| 37 |
+
✅ Ready for supervised fine-tuning
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
# Supported Models
|
| 42 |
+
|
| 43 |
+
This dataset can be used for supervised fine-tuning of chat models including:
|
| 44 |
+
|
| 45 |
+
- Llama 3
|
| 46 |
+
- Qwen 2 / 2.5 / 3
|
| 47 |
+
- Mistral
|
| 48 |
+
- Gemma
|
| 49 |
+
- Phi
|
| 50 |
+
- DeepSeek
|
| 51 |
+
- Falcon
|
| 52 |
+
- GPT-style decoder-only models
|
| 53 |
+
- Any instruction-tuned causal language model
|
| 54 |
+
|
| 55 |
+
---
|
| 56 |
+
|
| 57 |
+
# Dataset Schema
|
| 58 |
+
|
| 59 |
+
Each row contains one complete conversation.
|
| 60 |
+
|
| 61 |
+
| Column | Type | Description |
|
| 62 |
+
|----------|--------|----------------|
|
| 63 |
+
| id | string | Conversation identifier |
|
| 64 |
+
| system | string | System prompt for the conversation |
|
| 65 |
+
| messages | list | Complete conversation |
|
| 66 |
+
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
## Conversation Format
|
| 70 |
+
|
| 71 |
+
```json
|
| 72 |
+
{
|
| 73 |
+
"id": "conv_000001",
|
| 74 |
+
"messages": [
|
| 75 |
+
{
|
| 76 |
+
"role": "system",
|
| 77 |
+
"content": "You are a helpful AI assistant."
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"role": "user",
|
| 81 |
+
"content": "..."
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"role": "assistant",
|
| 85 |
+
"content": "..."
|
| 86 |
+
}
|
| 87 |
+
]
|
| 88 |
+
}
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
---
|
| 92 |
+
|
| 93 |
+
# Loading the Dataset
|
| 94 |
+
|
| 95 |
+
```python
|
| 96 |
+
from datasets import load_dataset
|
| 97 |
+
|
| 98 |
+
dataset = load_dataset(
|
| 99 |
+
"Srijan-Chakraborty/Universal-Chat-SFT-Dataset"
|
| 100 |
+
)
|
| 101 |
+
|
| 102 |
+
print(dataset)
|
| 103 |
+
```
|
| 104 |
+
|
| 105 |
+
---
|
| 106 |
+
|
| 107 |
+
# Intended Use
|
| 108 |
+
|
| 109 |
+
This dataset is intended for:
|
| 110 |
+
|
| 111 |
+
- Supervised Fine-Tuning (SFT)
|
| 112 |
+
- Instruction Tuning
|
| 113 |
+
- Conversational AI
|
| 114 |
+
- Chatbot Training
|
| 115 |
+
- Dialogue Modeling
|
| 116 |
+
- LLM Alignment
|
| 117 |
+
- Benchmarking
|
| 118 |
+
- Research
|
| 119 |
+
- Education
|
| 120 |
+
|
| 121 |
+
---
|
| 122 |
+
|
| 123 |
+
# Compatibility
|
| 124 |
+
|
| 125 |
+
The dataset is directly compatible with:
|
| 126 |
+
|
| 127 |
+
- Hugging Face Transformers
|
| 128 |
+
- Hugging Face Datasets
|
| 129 |
+
- TRL
|
| 130 |
+
- Axolotl
|
| 131 |
+
- Unsloth
|
| 132 |
+
- LlamaFactory
|
| 133 |
+
- vLLM preprocessing
|
| 134 |
+
- Custom PyTorch pipelines
|
| 135 |
+
|
| 136 |
+
---
|
| 137 |
+
|
| 138 |
+
# Citation
|
| 139 |
+
|
| 140 |
+
If you use this dataset in your research, please cite:
|
| 141 |
+
|
| 142 |
+
```bibtex
|
| 143 |
+
@misc{universal_chat_sft_dataset,
|
| 144 |
+
author = {Srijan Chakraborty},
|
| 145 |
+
title = {Universal-Chat-SFT-Dataset},
|
| 146 |
+
year = {2026},
|
| 147 |
+
publisher = {Hugging Face},
|
| 148 |
+
url = {https://huggingface.co/datasets/Srijan-Chakraborty/Universal-Chat-SFT-Dataset}
|
| 149 |
+
}
|
| 150 |
+
```
|
| 151 |
+
|
| 152 |
+
---
|
| 153 |
+
|
| 154 |
+
# Author
|
| 155 |
+
|
| 156 |
+
**Srijan Chakraborty**
|
| 157 |
+
|
| 158 |
+
GitHub:
|
| 159 |
+
https://github.com/SrijanChakraborty2003
|
| 160 |
+
|
| 161 |
+
Hugging Face:
|
| 162 |
+
https://huggingface.co/Srijan-Chakraborty
|
| 163 |
+
|
| 164 |
+
---
|
| 165 |
+
|
| 166 |
+
# License
|
| 167 |
+
|
| 168 |
+
This dataset is released under the **Creative Commons Attribution 4.0 International (CC BY 4.0)** license.
|
| 169 |
+
|
| 170 |
+
Users are free to share and adapt the dataset for any purpose, including commercial use, provided appropriate attribution is given.
|
| 171 |
+
|
| 172 |
+
For the full license text, see:
|
| 173 |
+
|
| 174 |
+
https://creativecommons.org/licenses/by/4.0/
|
formatted_dataset.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:327d2a73cc5e5d26998c28bc6c31341d5e501ae458a8382dff04da6aba6947b3
|
| 3 |
+
size 43467981
|